Jump to content
  • Advertisement


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


DLL Hell !!! please Help.

This topic is 5684 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

Hello ppl, I´m compiling my engine in a dll. Things went great until I create an App class that inherited from a BaseApp. When I call the Init() method a messagebox pops up saying that can´t find the entry point for the method. I don´t know what''s going wrong. I have used other classes from the dll (not inherited, just instanciated a few objects) and it worked Ok. Any suggestion?. The BaseApp inheritance tree: CObject->CBaseApp. And in the application I do: CMyApp: public CBaseApp{}. CObject is exported and CBaseApp too. Thanks in advance. HexDump.

Share this post

Link to post
Share on other sites
Normally when you get this type of error, the function name that is being exported is different than the function name you are using in GetProcAddress. I would double check your DLL using Dependency Walker or tdump if you use Borland to see what is the name being exported.

This can usually be easily fixed by changing the name in GetProcAddress, changing some compiler settings if the name is being mangled, or use the EXPORTS def file.

Dino M. Gambone
Good judgement is gained through experience. Experience, however, is gained through bad judgement.

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!