Hello,
i try to write my own application using WinXP, Borland Turbo C++ 2006 and Picoscope2205.
After installing and testing “PicoScope 6” I started a new BCB Project, saved it an placed the PS2000 Files in the Project Folder: ps2000.c, resource.h and ps2000bc.lib these files I addet to the project too.
After that I searched for ps2000.rch and ps2000.h to put them into the compilation directory. But I can`t find the ps2000.rch so I took the ps2000.rc. Then I placed the ps2000.dll into the same folder as the executable.
Next I tried to compile and run the Project, it works.
But if I put an button to the form to call the function “ps200_open_unit()” like:
short ps2000_handle;
ps2000_handle = ps2000_open_unit();
I get an error:
AccessViolation at adress 10009062 in modul PS2000.DLL write adress 5201BA93 .
What is going wrong?
Thanks for your help!
Cart
