PDA

View Full Version : Access violation when closing app in update process



NewsArchive
11-05-2011, 05:10 AM
HI

I am testing " Terminate Active Application" (script function) in my update
Install.
When updating (clients software) the active appliclation closes (as it
should do) but then an 'Exception' error
pops up as shown in the attached file. --- Access violation. (on Windows 7)
Cannot figure out why this pops up . I have all CodeSigned and mainfested.


Any ideas

Bernhard
CW 8 EE build 8658
SB7 build 7.5.3378

NewsArchive
11-05-2011, 05:25 AM
HI
Found out if i uncheck 'Gently close Application' things work okay.

Bernhard

NewsArchive
11-05-2011, 05:25 AM
Bernhard,

>
> Found out if i uncheck 'Gently close Application' things work okay.
>

Then your application does not handle the close-down event (e.g. to close
data files etc.). Just handle it and your are done. Don't "kill" the
application (that is when you disable the "gently close" option) because
this might cause data loss.

Hope this helps.

Friedrich

NewsArchive
11-06-2011, 03:05 AM
Hi Friedrich

Thanks for this - I fear the 'Capesoft's ' Winevent is doing something
strange here.
I will check on this - thanks

Bernhard