Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Global Variable NOT!!!
Message
De
09/04/2006 23:26:12
 
 
À
09/04/2006 21:00:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01111807
Message ID:
01111817
Vues:
15
Public is Public.

Somewhere you are releasing the memory variable. You will need to step thru and see where the problem lies.

>Hi:
>
>I'm a little lost and would like a little help.
>
>The following works find compiled using VFP 7 and loaded on a new Win98 machine.
>
>I have a logical global variable, "glTable", declared PUBLIC in my main.prg of the project.
>When I "run" the program from the project manger, all is well.
>When I create an EXE and run it on the same machine, the one with VFP loaded, again, all is well.
>
>However, when I load the program on a new WinXP machine, my program complains that it can't find variable "glTable".
>
>I thought global variables were available throughout an entire program once delared PUBLIC.
>
>Any ideas?
>
>Mal

(On an infant's shirt): Already smarter than Bush
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform