Error when closing application
-
Hi all; I am working on an SDI application and everything went fine until i tried to used some library to skin my application. I used the SkinMagic library and still everything is fine. The only problem is that i get a very ugly error each time i close my application (either by selecting the little X or by clicking the "Exit" button within my app). The error reported is as follows: The instruction at XXX referenced memory at YYYY. The memory could not be read. The debugger told me that it was an unhandled exception and pointed to a call to an assembly fx (i guess) called mov. It reported the error to be there. Can somebody please help me out of this stuff. I really need to skin my application since it has to be nice-looking. Ps. Anyway, if you know some cool way of skinning an application, could you please help me too. Thank you; Krugger. Krugger
-
Hi all; I am working on an SDI application and everything went fine until i tried to used some library to skin my application. I used the SkinMagic library and still everything is fine. The only problem is that i get a very ugly error each time i close my application (either by selecting the little X or by clicking the "Exit" button within my app). The error reported is as follows: The instruction at XXX referenced memory at YYYY. The memory could not be read. The debugger told me that it was an unhandled exception and pointed to a call to an assembly fx (i guess) called mov. It reported the error to be there. Can somebody please help me out of this stuff. I really need to skin my application since it has to be nice-looking. Ps. Anyway, if you know some cool way of skinning an application, could you please help me too. Thank you; Krugger. Krugger
Sounds like you are closing your window, but neglecting to close down something the skin library requires you to shut down before your window handle is gone. Check the skin library cocde for any explanaiton of tasks you must perform before your program has closed its main window. In your window's message handle, you can handle the WM_CLOSE message, and do the processing to shut down the skin library there.
-
Hi all; I am working on an SDI application and everything went fine until i tried to used some library to skin my application. I used the SkinMagic library and still everything is fine. The only problem is that i get a very ugly error each time i close my application (either by selecting the little X or by clicking the "Exit" button within my app). The error reported is as follows: The instruction at XXX referenced memory at YYYY. The memory could not be read. The debugger told me that it was an unhandled exception and pointed to a call to an assembly fx (i guess) called mov. It reported the error to be there. Can somebody please help me out of this stuff. I really need to skin my application since it has to be nice-looking. Ps. Anyway, if you know some cool way of skinning an application, could you please help me too. Thank you; Krugger. Krugger
-
Sounds like you are closing your window, but neglecting to close down something the skin library requires you to shut down before your window handle is gone. Check the skin library cocde for any explanaiton of tasks you must perform before your program has closed its main window. In your window's message handle, you can handle the WM_CLOSE message, and do the processing to shut down the skin library there.