Initialization problems

Hi,

I have been using a XEM3001v1 for some time now with a OK FrontPanel 1.3 DLL.
Now we have bought some XEM3001v2 and I am trying to upgrade the software to FrontPanel 3.0.1.
I am using C++ in Visual Studio 2005 Pro on Windows XP and bulding a DLL for use in LabView.

First problem:
okUsbFrontPanel_Construct() always returns NULL value,
workaround is to use: new okCUsbFrontPanel
Second problem:
okUsbFrontPanel_ConfigureFPGA(xem, “hss.bit”); returns error:
Unhandled exception at 0x06903165 in LabVIEW.exe: 0xC0000005: Access violation writing location 0xabababab.
I tried to use okUsbFrontPanel_ConfigureFPGAFromMemory but it did not work either.

Help wanted since I am stuck.

Cheers,

Guru

I forgot to mention one more thing:
I also upgraded the board FW to ver3.0.
The board works fine with FrontPanel application.

Cheers

Silly me! Forgive me for bothering you.
I found out that the old okFrontPanel.dll was still in the Debug directory. The result was a total confusion.

Cheers,

Guru