Re: EXE Hangs

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



"Fulvio" <fulvio@xxxxxxxxxxxxxxxxxxx> wrote in message
news:eqm8%233xpFHA.320@xxxxxxxxxxxxxxxxxxxx
> :)
>
> i know i should, but what if i don't want to ?

Then your XP clients will have to learn to use task manager

> I mean... in Win 2000 or Win98 errors are raised and the app closes
> fine

They aren't XP and the app is not closing 'fine' in the others anyway; you
aren't doing proper cleanup which means that any files, databases and other
resources that your app allocated are potentially not getting updated
properly. It's just that any potential mess left is being masked by the
apparent ending of the application.

> Your answer looks like:
> 'An error occurs when changing backcolor of form'
> Solution:
> 'Don't change backcolor'
> .....

No, it's more like
'I don't want to take the time to code my app properly'
Solution: Live with whatever you get

I don't mean to sound glib but you can't have it both ways. Either you
handle the errors yourself (either by testing for the conditions and
preventing them or catching them and shutting down properly) or you let the
system handle it for you and have to deal with different OS versions being
just that, different.

--
Reply to the group so all can participate
VB.Net: "Fool me once..."

.



Relevant Pages

  • Re: Color management
    ... iPhoto is halfway decent for managing digital photos, but there is no proper way to make the pictures print the way they look on screen. ... Seems incredible that Apple would include an app like iPhoto with the mac and not allow proper printing of color. ... Apps don't need to explicitly support ColorSync in OS X. ...
    (comp.sys.mac.advocacy)
  • RE: Powerpoint opens hyperlink with the wrong App
    ... I often open the external app ahead of time. ... double-click a jpg in a file browser the proper app is used to open the ... However, if I set a hyperlink in PowerPoint 2007 to a jpg, PowerPoint ... opens the image in IE. ...
    (microsoft.public.powerpoint)
  • Re: Color management
    ... proper way to make the pictures print the way they look on screen. ... Seems incredible that Apple would include an app like iPhoto with the ... Apps don't need to explicitly support ColorSync in OS X. ...
    (comp.sys.mac.advocacy)
  • Re: Color management
    ... iPhoto is halfway decent for managing digital photos, but there is no proper way to make the pictures print the way they look on screen. ... Seems incredible that Apple would include an app like iPhoto with the mac and not allow proper printing of color. ... Apps don't need to explicitly support ColorSync in OS X. ...
    (comp.sys.mac.advocacy)
  • Re: x->Release() after each loop cycle?
    ... > all memory properly and take the disadvantage of being very slow, ... You're correct -- when your app exits, Windows cleans up after it, so ... exit, launches app 1 with argument 100, waits for it to exit, launches ... try and do proper cleanup of the memory when your app exits. ...
    (microsoft.public.win32.programmer.messaging)