L
Lonifasiko
Hi group,
My program sometimes terminates unexpectedly and of course, application
is closed. Well, after reading many posts, I finally found the
workaround from Daniel Moth.
Now, I think I "catch" all unhandled exception my system throws. As far
as I understand, when
"OnUnhandledException(Object sender, UnhandledExceptionEventArgs e)"
method is called, there is no way to avoid the application from being
shutted down. That is, if e.IsTerminating is true, be sure that
application will be closed, no matter yuou show a messagebox to block
the execution and so on....is this correct?
I wanted to know if memory problems can raise unhandled exceptions?
That is, many months ago I saw "OutOFMemoryException" messagebox in my
application, but after coding again some things I was not doing well,
this message dissapeared.
My application almost crashes in devices with 64 Mb RAM. The way I'm
"handling" unhandled exceptions would also capture OutOfMemory
exceptions? Or "OutOfMemoryException" messagebox is different? That is,
if my application should have low memory problems, I should see this
messagebox appart from my unhandled exceptions catching block?
I use FMODCE.DLL to play MP3 and WAV in my application. These unhandled
exceptions seem related to using this library for playing sounds. Has
anybody experienced this kind of problems with this library? Seems like
this library works well in Windows Mobile 2003 devices, but in some
cases, always in Windows Mobile 2003 Second Ediitond devices, I get
"cannot pinvoke fmodce.dll". It's really strange cause fmodce.dll is
placed in the directory the main .exe is.
Hope somebody can help me. Thanks very much in advance.
My program sometimes terminates unexpectedly and of course, application
is closed. Well, after reading many posts, I finally found the
workaround from Daniel Moth.
Now, I think I "catch" all unhandled exception my system throws. As far
as I understand, when
"OnUnhandledException(Object sender, UnhandledExceptionEventArgs e)"
method is called, there is no way to avoid the application from being
shutted down. That is, if e.IsTerminating is true, be sure that
application will be closed, no matter yuou show a messagebox to block
the execution and so on....is this correct?
I wanted to know if memory problems can raise unhandled exceptions?
That is, many months ago I saw "OutOFMemoryException" messagebox in my
application, but after coding again some things I was not doing well,
this message dissapeared.
My application almost crashes in devices with 64 Mb RAM. The way I'm
"handling" unhandled exceptions would also capture OutOfMemory
exceptions? Or "OutOfMemoryException" messagebox is different? That is,
if my application should have low memory problems, I should see this
messagebox appart from my unhandled exceptions catching block?
I use FMODCE.DLL to play MP3 and WAV in my application. These unhandled
exceptions seem related to using this library for playing sounds. Has
anybody experienced this kind of problems with this library? Seems like
this library works well in Windows Mobile 2003 devices, but in some
cases, always in Windows Mobile 2003 Second Ediitond devices, I get
"cannot pinvoke fmodce.dll". It's really strange cause fmodce.dll is
placed in the directory the main .exe is.
Hope somebody can help me. Thanks very much in advance.