Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
EXE hangs up
Message
De
05/03/2003 13:12:52
 
 
À
05/03/2003 10:06:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00761483
Message ID:
00761642
Vues:
15
>I have a VFP7 .APP that works great. I built an .EXE. 99% of the exe works fine - but there is one particular form that hangs the workstation - all other forms work okay. Again, the form works in the .APP, but not the EXE.
>
>The most significant difference in this form than my other forms is that it loads many objects at run-time using CREATEOBJECT and/or NEWOBJECT.
>
>BTW, I've run the EXE on several different computers (win98 and winnt), each time get the same result - this particular form hangs up and I have to use task manager to kill.
>
>Does anyone have any ideas on what the problem may be, or any suggestions on how to debug the EXE?
>
>Thanks,
>Alan

You'd have to basically do a "binary search" to determine the control that's causing the hang. Since you're dealing with controls that are added via CREATEOBJECT()/NEWOBJECT(), you can just comment out the code for half of the controls until the form stops hanging. If it still hangs, comment out half of the remaining controls, etc., etc..
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform