ceetee, the best thing that I came up with is a bit sketchy, but here it goes. I am atempting this in C/C++.
1) binhex the gpib32 dll, this reports the (exported only?) function calls.
2) create a dll with the same name and function calls.
3) your functions will simply call the old ones, and in the process execute some code of your choosing.
check out this page for better information.
http://www.woodmann.com/fravia/fragas1.htm
This project has been put on the back burner by the brass here at my company, so I haven't gotten to implement it fully. But, I'm fairly certain that it will work even though it's a little arcane. This problem has caused a lot of acid reflux, so let me know if you come up with anything.