Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
EXE terminates
Message
De
28/06/2000 17:03:46
 
 
À
28/06/2000 16:56:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00386111
Message ID:
00386118
Vues:
19
>I have an application that runs fine as a .app file, but if I build it as an .exe file it doesn't work. I launch the program and it flashes and then terminates. Any sugestions?

You need to put the EXE in a wait state, either with a READ EVETNS (and a CLEAR EVETNS to kill it) or a Modal form. An example of the Main PRG coujld look like:

oApp = createobject('MyApp') && Create the AppObject
_screen.caption = 'My App'

do mymenu.mpr

oToolBar = createobject('MyAppToolBar')

READ EVENTS

* This code is fired on the way out
modi window screen
set sysmenu to default
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform