osx - Mono DLL to open appropriate Windows/Mac DLL/DyLib -


i'm using mono write wrapper on set of natively exposed commands.

the set same (commands , signature), exposed through dll in windows , dylib in mac.

i wondering if there way me create 1 wrapper .net/mono dll while having still find right library import itself.

if so, syntax? if not, compiler definitions separate dllimport 2 different os on i'd compile?

edit: bonus points static lib (.a) instead of dynamic lib (.dylib) mac part, if possible mono.

you want ship dll map config file tells mono library load on each platform:

http://www.mono-project.com/config_dllmap


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -