Im using Visual Studio 2010, and when I run my compiled version of Pipetest, it wont load the DLL referenced on the 1st line in main function.
printf("---- Opal Kelly ---- PipeTest Application v1.0 ----\n");
if (FALSE == okFrontPanelDLL_LoadLib(NULL)) {
printf("FrontPanel DLL could not be loaded.\n");
return(-1);
}
I have the DLL " file okFrontPanell.dll" in the directory where I run the executable, and also made sure when I compiled, I used the suggested setting for the C++ compiler, Code Generation --> Runtime Library --> Multi-threaded Debug DLL (/MDd)"
WHen I run the executable, it always fails at this line. WHen I run the executable provided on the install disk from Opal-Kelly (pipetest.exe) it works fine in the same directory.
can anyone tell me what might be going wrong?
Thanks,
Joe