Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot compile two times in a row
Message
From
30/07/2004 21:29:34
 
 
To
28/07/2004 19:05:31
General information
Forum:
Visual FoxPro
Category:
Project manager
Miscellaneous
Thread ID:
00928997
Message ID:
00929815
Views:
16
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform