Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot compile two times in a row
Message
De
30/07/2004 21:29:34
 
 
À
28/07/2004 19:05:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Divers
Thread ID:
00928997
Message ID:
00929815
Vues:
15
>Since an hour, I am having a weird problem. Whenever I built my application for the 2nd time, VFP freezes. I have to kill the application and restart VFP to be able to compile. I even rebooted and that is still the same. So, I quit VFP about 40 times in the last 20 minutes. Anyone has seen that behavior before?

I had the same problem when developing LifeCycle - Build Cycle. I had to create a Build.prg and place the following code to resolve the problem.
ON ERROR
ON SHUTDOWN

CLOSE ALL
CLEAR ALL
=SYS(3056)		&& re-read registry

CLEAR PROGRAM
SET CLASSLIB TO
SET PROCEDURE TO
SET LIBRARY TO

CLOSE DATABASE ALL
CLEAR ALL
RELEASE ALL EXTENDED
CLEAR DLLS
CLEAR MEMORY
CLEAR RESOURCES
=SYS(1104)		&& purge memory buffer
ON ESCAPE
After monkeying around, I found that the problem seemed to go away at the CLEAR RESOURCES statement, but doing a CLEAR RESOURCES alone did not fix it. It worked only in conjunstion with some of the other prior.

Hope this helps.
Greg Reichert
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform