![]() |
VBA calling DLL function: how can I make it re-entry?
Hi
I created a DLL which contains two DLL functions in VC++. The first DLL function has defined a global variable, which is a handle of an object. This object is created when the first DLL fuction is called. The second DLL function wants to access the global object created by the first DLL function. However, when I call the 2nd DLL function in Excel/VBA, it somehow created a totally seprate instance which does not find the global object created by the 1st DLL function. How can I fix this problem? Thank you, Dan |
All times are GMT +1. The time now is 08:52 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com