Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Consistant Crashes on Close Calling App. :(
Message
From
15/04/2000 16:48:14
 
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00354269
Message ID:
00360039
Views:
18
> Anyone see any issues with the following?
>
>
PARAMETERS strFunction, strTable
>** Build the command string
>cmdString = &strFunction(&strTable)
>** Execute the command string
>&cmdString
>
>DEFINE CLASS FoxUtil AS CUSTOM OLEPUBLIC
>
>	FUNCTION MakeCustomFile(strTable)
>		USE &strTable SHARED
>         ****  Do simple fox stuff here  ****
>		RETURN "MyValue"
>		clear all
>		close all
>		release all
>	ENDFUNC
>
>ENDDEFINE
Right off the bat, you are returning from the function before your clean up code runs.
Previous
Reply
Map
View

Click here to load this message in the networking platform