Jump to content
  • Advertisement


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


DLL Export Data

This topic is 5877 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!