I've just downloaded the latest version of the OpenGL ES 1.x SDK (OGLES_WINDOWS_X86EMULATION_2.10). I'm using WinXP and Microsoft Visual Studio 2008.
I created a win32 application and a MFC application to draw a simple triangle with the libs and dlls,but the results are so different.That win32 application did very well and showed the correct result while the MFC application kept giving me this "Unhandled exception at 0x7c9873be in test27.exe: 0xE06D7363: Microsoft C++ Exception." error when i tried to run the project.(test27 is my project's name),I tried a lot but i still cann't get over of it.
We’ve not tried using MFC with our emulation libraries before, but as MFC is just a wrapper library, there shouldn’t be any real issues using it. Have you actually started using the mfc code to interact with the OpenGL ES libraries, or is it just a straight code copy?
Also, the error you’re having, at what point is it actually crashing?
After setting the additional include directories of the header files and additional libraries directoriesof the OpenGL ES libraries I use the mfc code to render the scene I want.I am sure that I've used the libraries correctly and I think there is something wrong with the dynamic link libraries so that my mfc application crashed with the "Unhandled exception" error.And every time I ran the application it crashed befor it went to my breakpoints at the file test27.cpp.
Yes what reinier has said is exactly the approach you should be taking - if it’s not getting to the main function then it’s worth adding all the libraries back in one at a time until you get the crash.
If it’s really crashing before any code is hit then it points to a problem with either the libraries or how they are setup, in which case I can suggest some other things to try.
I already trid the way reinier said and it really crashed before any code was hit.And I actually added all the libraries at one time as I said last time.
I still doubt there is something wrong with the dynamic link libraries.If you have any suggestions please let me know.