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:
Comments
Post a Comment