Problem solved !!!
It turned out that I had two GPIB-32.DLLs

One in System32 and one more locally.
The later one of course from 2002.
I tried compiling one of NI's demos and it worked fine.
I couldn't see any difference in the interface to the DLL, so I started debugging.
The code images when I single stepped the two applications into the same DLL routine were quite different!
And the way the actual calls to that routine were made were also different.
Well, they still are, but at least now the images of the DLL code is the same.