K8061 run a program with the new DLL XP/Vista

Dear Support,
If have installed the new k8061_vistapack_2007v1.
My (big) program was running verry well with the old DLL (2005). But now not anny more.
I know what is written in the readme file about old programs but is there a way to simply mofify my old program or must I rebuild my total program from ground?

For a test I have tried a small program with the new vistapack.
I have only one K8061 card. I think this card must have the address ‘0’ but after running the program it say card ‘1’ is connected.

int h = OpenDevice();
Label40->Caption = “Card " + IntToStr(h) + " connected”;

long CardAddr;
long Buffer[8];

if (PowerGood(CardAddr)){Label19->Caption = “CPU OK”;}
else {Label19->Caption = “CPU FAIL”;}
if (Connected(CardAddr)){Label20->Caption = “USB Connected”;}
else {Label20->Caption = “USB Disconnected”;}

This is working well.

But:
ReadAllAnalog(CardAddr, Buffer);
Label41->Caption = IntToStr(Buffer[4]); is not working.

Please can you tell me what is wrong?

Best regards,
Roland

It seems the k8061.lib file for the Borland C++Builder project in the Vistapack BCB folder is an old one.
Here a link to download the new one: box.net/shared/3ltsgd1f2l
Just replace the k8061.lib in your project folder with this one and recompile the project.
Then it should run without any problems.
I’m sorry for the inconvenience.

Hi Support,

Thank you, It is working now.

Best regards,
Roland