Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How does .app program affects memory?
Message
De
01/06/2006 16:19:06
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01126471
Message ID:
01126569
Vues:
16
>>>>
>>>>IIRC, I just included a bunch of "function xyz", etc. at the bottom of my main .PRG that had nothing in them. Since the .APP was loaded last, it ran the ones in the .APP, not the ones in main.
>>>
>>>Thank you for sharing your solution. I will probably do the same. Although in my case I would change the order of functions the other way around: all my functions are in main program, and the dummy once would be in the .APP.
>>
>>That wouldn't work, you wouldn't be able to call the "real" ones from within the .APP.
>
>Exactly. I just learned that. So I will have to live with the compiler warnings when compiling the .APP that this or that function is undeclared. It does not seem like it has a negative effect on the application.

You might try it with a #IFDEF xxx/#ENDIF (with nothing actually defined) around your dummy functions in the .APP.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform