Thanks eng3d, but even if the procedure isn''t called (i have a MessageBox in the first line of my winmain that doesnt show up)
the Programm Quits.
After some more testing, i think that the Problem is the ddraw.lib itself. It does something before Execution of my Programm, and needs the ddraw.dll v7 to it. I compiled my Program with an old ddraw.lib v3 that compiled and linked perfectly, and the openGL Code works under NT but the DirectX part is not working anymore.
Thanks Zak
I Hoped there was a way without dynamically linking the dll''s, but i think there is no other way to solve the Problem.
So can anybody show me a way of doing that.
Thanks
Lars
OpenGL and DirectX
It may be easier to stick with creating 2 seperate exe''s.
If you are using VC IDE, you could set up several different build modes like; GL_DEBUG, GL_RELEASE, DX_DEBUG, DX_RELEASE, and use these to modify the the way the exe is created.
Sorry I can''t help with the dll stuff, but I just thought I''d give you another angle to try.
Matt
Check out my project at:www.btinternet.com/~Matthew.Bennett
If you are using VC IDE, you could set up several different build modes like; GL_DEBUG, GL_RELEASE, DX_DEBUG, DX_RELEASE, and use these to modify the the way the exe is created.
Sorry I can''t help with the dll stuff, but I just thought I''d give you another angle to try.
Matt
Check out my project at:www.btinternet.com/~Matthew.Bennett
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement