PDA

View Full Version : close event



IRON_MAN
23rd September 2009, 14:06
hey,

I have done an application with some wime widgets. I haven't got any problem when i work with them. But when i close the apllication this message appears:

3700

how can i solve it?

i have inserted the destroy function in the main, but i don't know what i'm doing wrong.

thanks

Grimlock
23rd September 2009, 14:56
Sorry but if You want some one to help You, you'll need to show us some more details(code of the problematic close event). This is an English speaking forum a .bmp file with a windows error dialogue in what ever language that is want do.s want do.

IRON_MAN
23rd September 2009, 15:28
sorry to me! the language that i have shown the error is spanish.

the application does what i need but when i close the application in that picture appears the next one:

"pantaila.exe has encountered a problem and needs to close.

If you are in the process, you might miss the information that is working".

IRON_MAN
29th September 2009, 11:12
´´´´´....... .. .. ..

IRON_MAN
29th September 2009, 11:24
Re: close event

IRON_MAN
29th September 2009, 11:40
QUOTE=IRON_MAN;116999]hey,


how can i solve it?



thanks[/QUOTE]

IRON_MAN
29th September 2009, 14:02
i have inserted the destroy function in the main, but i don't know what i'm doing wrong.

thanks[/QUOTE]

IRON_MAN
29th September 2009, 14:06
[

++

............... .................. ````` --
3700

how can i solve it?

........................... ...............

thanks[/QUOTE]

IRON_MAN
29th September 2009, 14:26
[QUOTE=IRON_MAN;117010]sorry to me! the language that i have shown the error is spanish.

IRON_MAN
29th September 2009, 14:28
[QUOTE=IRON_MAN;117010]sorry to me!

IRON_MAN
29th September 2009, 14:28
[QUOTE=IRON_MAN;117010]sorry to me! the language that i have shown the error is spanish.

...

DrDonut
2nd October 2009, 08:12
I know this thread is a few days old, but the question seems not to be answered yet.

This error usually occours when you try to do one of the following things:

Devide by zero
Use a pointer to an object that doesn't exist
Perform an illegal operation to a variable adress


As you can see, that is quite a list. So in order to solve your problem, we need to see the code in your destructor.

If your code as a whole isn't too big, you might want to post your entire code. If it is a big program, please post your destructor and maybe the variable declarations in your .h file.

DrDonut