Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EXE file
Message
From
10/12/1998 09:43:16
 
 
To
09/12/1998 17:14:32
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00165807
Message ID:
00166040
Views:
29
Wei Lin --

What version are you running? Also, what error messages do you get if you don't have cleanup code (when running EXE)?

>Thank you for your reply, John. I'am afraid, it might not solve my problem. I guess I did not state the problem clear. The problem is not just related to RELEASE ALL. I tried to remove RELEASE ALL, then it reported same error at next statement CLEAR ALL. If I do not run cleaning up, I get other error for not cleaning up.
>
>>Hiya --
>>
>>A wild hunch --- change EXTEND to EXTENDED and see what happens. Secondly, you could always wrap the RELEASE ALL EXTENDED into an IF function to check to see if you're in APP or EXE as follows:
>>
>>IF VERSION(2)#0 && Not in runtime
>> RELEASE ALL EXTENDED
>>ENDIF
>>
>>You really don't need a release if a standalone executable.
>>
>>>I have a VFP application. When it runs as .app in VFP, it works fine. However, after I build it into .exe and run in Windows or NT, it will report "File does not exist" error when I exit. The error happens at the end of the program when it execute cleaning up as follows:
>>>
>>>RELEASE ALL EXTEND
>>>
>>>What is the problem? Thanks in advance.
>>>
>>>Wei Lin
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform