Target 32 Bit or 64 Bit native DLL depending on environment

前端 未结 3 1915
一整个雨季
一整个雨季 2020-12-02 00:53

I have a native DLL which comes in both 32 bit and 64 bit versions (x86). I want to create a wrapper which works on both architectures (Any CPU) and loads the correct versio

3条回答
  •  南方客
    南方客 (楼主)
    2020-12-02 01:29

    Take a look at the Microsoft.WinAny.Helper and It'a DynamicNativeLibrary class which can help you with what you need.

提交回复
热议问题