Jump to content
  • Advertisement

Archived

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

Dragon_Claw

DX Program doesn't work without SDK

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

For some reason my programs don''t work without the SDK installed. Even after they have already been compiled. I tried uninstalling the sdk and it wouldn''t run, but as soon as i reinstalled it, the program worked fine. I have found the problem to be with creating the Main D3D8 object. It jsut won''t do it. Any help would be appreciated

Share this post


Link to post
Share on other sites
Advertisement
I have tried it on 3 computers. One Win2000 with DX8.0 SDK installed, one with Win2000 W DX 8.0 but no SDK, and the last with WINXP and DX 8.0 SDK. In runs on the two with the SDK. On the WINXP if i uninstall the sdk then run the program it crashes, but as soon as i reinstall it the program works fine.

Share this post


Link to post
Share on other sites
it may be how you have linked to the .lib files. If you have a static link to the DX .lib files in the SDK directory then you could have problems.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
I am not using any libraries. I locate the address in the .Dll''s using LoadLibraryA and GetFunctionAddress.

Share this post


Link to post
Share on other sites
If you are compiling in debug mode, your programs will not run without the debug libaries. In visual C++ go Build->Configuarations and make sure Win 32 Release is selected and recompile.

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!