Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Consistant Crashes on Close Calling App. :(
Message
De
15/04/2000 16:48:14
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00354269
Message ID:
00360039
Vues:
17
> 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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform