rvikram
August 17th, 2005, 10:48 PM
Howdy,
I am using VC++ .NET & MFC to open perform imaging. i have child windows that use openGL to display 2D images as a texture mapped quad.
My application runs fine in debug and even in release build when started from the debugger. When i move my program to the desktop and run it, it fails. i traced it to an access violation in glTexture2D.
I tried debugging the program using gDEBugger (debugger for openGL). It works fine when launched by this one too.
i would have posted my code, but my program gets data from a DAQ board and it would be impossible for you to test it.
i checked up on the usual stuff - afx_message definitions and thread safety.
any suggestions? thanks in advance.
I am using VC++ .NET & MFC to open perform imaging. i have child windows that use openGL to display 2D images as a texture mapped quad.
My application runs fine in debug and even in release build when started from the debugger. When i move my program to the desktop and run it, it fails. i traced it to an access violation in glTexture2D.
I tried debugging the program using gDEBugger (debugger for openGL). It works fine when launched by this one too.
i would have posted my code, but my program gets data from a DAQ board and it would be impossible for you to test it.
i checked up on the usual stuff - afx_message definitions and thread safety.
any suggestions? thanks in advance.