Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Exe will not close
Message
 
 
À
03/04/2020 01:14:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01673932
Message ID:
01673947
Vues:
46
>>>>>Hi,
>>>>>I have this little exe built in VFP9SP2. One form, no menu, just some information for the user.
>>>>>The .pjx works fine. I can start and close. No problem
>>>>Are you using ON SHUTDOWN ?? If so are you sure you issue ON SHUTDOWN before exiting your app ?
>>>>
>>>>Walter,
>>>>
>>>>>The exe however will not close, that is. The window can be closed but a dos-like VFP screen appears with a minimal menu and apparently it is running in a loop. The menu flickers, untill I do a selection. I cannot close this window but with Ctrl-Alt-Delete. The exe is running in the taskmanager and can be removed from there,
>>>>>For w.i.w. the config.fpw has following code:
>>>>>_SCREEN = OFF
>>>>>RESOURCE = OFF
>>>>>_SCREEN.CLOSABLE = .T.
>>>>>
>>>>>I was avised to change _Screen to Screen = OFF however that does not help.
>>>>>
>>>>>Anybody with an idea where I should change the bug in my program so that the exe will close?
>>>>>
>>>>>Regards,
>>>>>
>>>>>Koen
>>>Walter,
>>>
>>>No I do not issu a SHOTDOWN, I have nothing else but Clear Events now on 5 occacions. Where do you propose to put the ON SHOTDOWN in a Form methods or in my start1.prg?
>>>
>>>Regards,
>>>Koen
>>
>>Hi Koen,
>>
>>I have
>>
>>on shutdown clear events
>>
>>
>>in my Main.prg, before Read Events.
>
>Dimitry,
>Thanks a lot. That did it. In my default SetSettings.prg I do have this as well, I donot know how and why it was deleted from that file. Now put it back and everything works as it should. Thanks for pointing me in the correct direction.
>Regards,
>Koen

You are very welcome.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform