September 29th, 1999, 12:03 AM
I have a VC++ ATL DLL which has a callback function that gets called whenever a particular key combination is presssed. I want to call a VB DLL function from this ATL DLL callback function. But the problem is that I can not do a LoadLibrary each time form within the callback function & I can not find a method using which I can persist the VB function address across ATL's callback function calling as the function pointer of the VB function is getting lost the second time the callback function gets invoked in VC ATL DLL.