So I'm trying to get this nuclear instrumentation hardware to work.
I have installed 64 bit drivers (I'm using Windows 7 64 bit) and I have downloaded the dll's that go with it.
When I add the dlls and try to use the functions in a win32 console application project in visual studios, it gives me a linker error:
Error 1 error LNK2019: unresolved external symbol _CAENVME_SWRelease@4 referenced in function _main main.obj vmeTest
Which I suppose means it can't find the function CAENVME_SWRelease in the dll.
I have added the dll and corresponding .lib to the project along with the header files and added them to the references (I have tried adding them to the path environment variable and under the linker in additional library directories <--not had to do that before but thought I would try) but it just won't work.
To see if I just wasn't doing it right, I tried creating a dll and adding it to the project the same way, and it works fine.
So I was wondering if perhaps it is because I'm using a win32 project and these dlls are 64 bit (because they are for 64 bit drivers?).
Obviously I don't know what I'm talking about. Could anyone give me some assistance or take a stab at what might be going on?
Here's how the function is defined in the header file:
CAENVME_API
CAENVME_SWRelease(char *SwRel);
and I called it like this:
char dog;
CAENVME_SWRelease(&dog);
cout << dog