Hello,
Here we have many layers of software and hardware that could be causing the problem. Let's try to isolate the problem to find the source.
There is a possibility that you might find a quick solution. If you could go to our support site in the GPIB section: http:www.ni.com/support/gpibsupp.htm then you should see one of our top ten support links that is titled, "Visual Basic, GPIB, and Windows 2000 Crashes: "BAD_POOL_CALLER" Error". After I read this Knowledge Base entry, it sounded very similar to your situation, so let's hope it works.
However if it doesn't, then I would first suggest making sure that your GPIB equipment is working correctly. I know it worked on another system, but I can't tell from your message if you have tested it in your Windows 20
00 system. If you know how to do this through National Instruments' Measurement and Automation Explorer, then please do that. If not, you can go to our installation wizard at http:www.ni.com/support/gpib which will guide you through testing tips for a particular Operating System and hardware combination.
After you have made sure that the hardware is working at a base level, could you put your DLL in a debug mode to find out where in the code it is locking your machine?
If none of this points to the solution, then please write back with all the new information you find, and we can continue looking at it.
Regards,
John N
Applications Engineer
National Instruments