Jump to content
  • Advertisement

Archived

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

Aphelion

Dlls refusing to call other dlls?!?

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

Right then, this is just annoying. I have two dll's: Renderer - contains OGL / D3D rendering functions Game - plugin dll, contains game files Now Renderer.dll is loosely based off of the example in the article "Striving for Graphics API Independance(Independence)", so you can look at that to get an idea of what the renderer looks like. Now Game.dll is just a normal dll, however, here is where the problem is: everytime Game.dll makes a call to a function in Renderer.dll, there is an Illegal Error, stuff catastrophically fails and it's not pretty. Any ideas what I might be doing wrong? Thanks, -Jesse Edited by - Aphelion on February 24, 2002 2:19:32 PM

Share this post


Link to post
Share on other sites
Advertisement
Hey, This error happends alot. Can you be alittle more spicific on what is happening, and where it starts to get an error? First thing, if it is a dll (opposed to being a static lib) do you call LoadLibrary to load it? or do you use a lib, and have it "native" to your code? any details would help in trying to solve the problem

Share this post


Link to post
Share on other sites
Make sure all your headers are up to date. What I mean is, if you have one project folder for the engine and one for the game (which uses the engine lib file and the dlls), make sure the headers you use to build the game with are exactly the same as the ones you built the engine, and the dlls with.

I hope that made some sense

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!