Hello all,
So, I'm building a custom dll to control the Atik 490ex using Visual Studio C++ 2010 for a target x64 machine. To do this, I'm using (include in Atik SDK)
ArtemisHSC.cpp
ArtemisHSC.h
at compile time and then linking ArtemisHSC.dll at run-time.
To start, I was able to link and compile my dll. I then store ArtemisHSC.dll in the same folder as my dll. The problem is when I try to use (ArtemisLoadDll(char * FileName)) which calls LoadLibrary. The function call cannot find Atik dll and thus nothing works.
I've tried:
- Using LoadLibrary(_T('fileName')) macro
- Using the full path to file "C:\\Users\\Folder\\ArtemisHSC.dll"
My Visual Studio properties are set to run Multi-Byte encoding (not UNICODE), but I have tried UNICODE with the same problem.
Any help would be greatly appreciated.