Archived

This topic is now archived and is closed to further replies.

Zomart

DLL Export Data

Recommended Posts

hey- I have two DLLs that need to share some of the same data. One DLL calls the other. The second DLL (the one that got called) uses the data from the first DLL (the calling DLL). In the first DLL, the data is declared on the stack. The second DLL calls a function from the first DLL to get a pointer to that data and then uses it in a function call. The problem is that I keep getting unhandled exceptions. I've narrowed it down to find that the exceptions are coming from calling the function to get the pointer to the data. Before calling the function, I check to make sure that the function was found. I think the problem may be with exporting the data from the first DLL. I don't know how to export data in a DLL and I'm not even sure that is the problem. If anybody can tell me how to export data in a DLL or thinks that the problem may be something else, I would love to hear it. Thanks... [edited by - Zomart on August 16, 2002 4:10:09 PM]

Share this post


Link to post
Share on other sites