Hi, I want to load one of four separate C# assemblies based upon what the build target is. This is going into a webservice with .net framework 3.0.
possibilities:
32-bit debug: AmtApiWrapper32d.dll
32-bit release: AmtApiWrapper32.dll
64-bit debug: AmtApiWrapper64d.dll
64-bit release: AmtApiWrapper64.dll
Those wrappers are a separate C++ project that wrap a C Native DLL that I wrote. C/C++ is my usual platform so please excuse me if this is a nubs question.
All of the wrapper DLLs contain the exact same functions and same prototypes. They're used for many other purposes besides this one, so unless this is really terrible, the setup stays the same.
So, i want to load one of them at compile time. I've looked over stuff like reflection, GetDelegateForFunctionPointer, and some other stuff, and they all seem similar but overly complicated for this simple task. Any suggestions? THANKS