Forgive me for this total n00bie question; I haven't programmed in MFC in a while. I compiled and ran the sample application no problem. Now I want to write my own in MFC. I wrote a wrapper class to you ps3000.c & .h. Right now, it has only a constructor and initialize function, which calls ps3000_open_unit. I get the following error:
error C2440: '=' : cannot convert from 'ps3000_open_unit' to 'INT'
on this line
g_Handle = ps3000_open_unit();
If I take that line out, my program compiles fine. Did I forget to load the library or something? I looked for a LoadLibrary call in your example but didn't find one. dll is in the same directory as the executable.
I'm sure this error has nothing to do with your code but help would be greatly appreciated.