| |
|
|
Stefan M. Caillet | Hello Profis, the following Profan-Program working so far, - only if I whom PC runterfahre (with the Powertaste) can windows this Program not terminate - apparently because it the end of WINPCNC.EXE wait. windows bid then a dialog on, in the I the ProfanProg. manually terminate can. How ereiche I now, that windows the Profanprogramm in each drop automatically exits and my Profanprogramm nevertheless in the normalfall the end of WINPCNC wait. deference! WINPCNC is a Fremdprogramm, that I not change can. thanks for eure Help. greeting Stefan |
|
|
| Ich habe grosses Glück, weil ich Mitmenschen helfen darf. Entwicklungsumgebung: XProfan11 , Win XP Pro 32Bit , Win XP Home ,Win7 HomePremium 64Bit PC: P4/3GHz , 2GB RAM , 1700GB HD Laptop: Intel Core 2 Duo /2,2GHz , 4GB RAM , 500GB HD | 08/27/11 ▲ |
|
|
|
|
| windows becomes this report because the wndProc this APP the terminate-Message not nachgeht or. ignoring or even "nein now not beenden" reports.
See z.B. this View source: [...]
into APP interfere can You to not -
but You could self a APP write The (How View source vormacht) the Shutdown Windows watch and with erkanntem Herunterfahrenwunsch these Fremdanwendung terminiert. (terminateprocess)
WinExec helps: Help
since Version 11 supply The function The process-ID the launched - so can You these process-ID simply with TerminateProcess [...] use and these Fremdanwendung self terminate and then the Shutdown consent.
with GetExitCode(... can You experienced whether the Process at all yet exists. |
|
|
| |
|
|