With the latest IS build all my .Net Apps crash to desktop right after I stop the main thread aka quit the program.
Already compiled my sources against the new dlls, no problems at all.
@lax Build 4456 CTDs .Net Apps
Moderators: Lavish Software Team, Moderators
This worked for me .... WOOOt thanks for the tip.
Lax, its something with IsDisposed(). or something
the only one of my apps that crashes is the one that has a seperate form that had a timer on it with an event that triggeered every 1 second to update a display. and when i closed the form, it was still trying to access an object that wasn't there.. I finaly got the debugger to not catch any mor exceptions no matter how hard i tried. but Would still crash to the desktop after killing my main thread (like the above poster).
Im a totaly newb so it very well could be my code. but that fix worked for me.. and it only started with the latest patch.
PS: i am also calling Threads with the invooke method.
via
this.Invoke(new UpdateTextHandler(UpdateOpenSlotsLabelText), new object[1] { openslots });
Anyhow, i can get more data if you like, it very well could be my code.
buts its working now so .. i'm off like a prom dress
Lax, its something with IsDisposed(). or something
the only one of my apps that crashes is the one that has a seperate form that had a timer on it with an event that triggeered every 1 second to update a display. and when i closed the form, it was still trying to access an object that wasn't there.. I finaly got the debugger to not catch any mor exceptions no matter how hard i tried. but Would still crash to the desktop after killing my main thread (like the above poster).
Im a totaly newb so it very well could be my code. but that fix worked for me.. and it only started with the latest patch.
PS: i am also calling Threads with the invooke method.
via
this.Invoke(new UpdateTextHandler(UpdateOpenSlotsLabelText), new object[1] { openslots });
Anyhow, i can get more data if you like, it very well could be my code.
buts its working now so .. i'm off like a prom dress
I think i can explain this better.
in suedo terms.
If you close a form, it seems that there may still be threads in Inner space Qued up , and when you close the form, and inner space sends them back to the form (or something like that ) that there is no more valid control and it crashes. I could not get anything in the debugger to pick up on it. and all my lavish crashes were dotnet related, however. The frame.Lock() call in the close function of my Main thread fixed it.. No crashes.
I was able to repeat it every time. and i have now went over 60 closes with Zero crashes.
I don't think its an innere space or .net thing, but Some by product of both.
Then again. i have no clue what 'im talking about
in suedo terms.
If you close a form, it seems that there may still be threads in Inner space Qued up , and when you close the form, and inner space sends them back to the form (or something like that ) that there is no more valid control and it crashes. I could not get anything in the debugger to pick up on it. and all my lavish crashes were dotnet related, however. The frame.Lock() call in the close function of my Main thread fixed it.. No crashes.
I was able to repeat it every time. and i have now went over 60 closes with Zero crashes.
I don't think its an innere space or .net thing, but Some by product of both.
Then again. i have no clue what 'im talking about
