Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set procedure to
Message
De
25/08/2007 08:27:24
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01250424
Message ID:
01250428
Vues:
32
>Hi.
>I have a no. of different apps , all in different folders, but I want to use some .prg's in a shared folder.
>
>Say my shared folder is c:\MysharedFolder
>
>What is the best way to set up my individual apps , to look in the shared folders ?. If I Set procdure to c:\MySharedFolder\MySahredPrg1, will this cause a problem in running the app because It does not exist at run time.
>The same applied to Set ClassLib
>regards,
>Gerard

I tried shared PRGs and classes, and it turns out that can cause trouble with defined constants - which of course may have different value for different applications. Such constants might include #APPLICATION_CAPTION, and other application-specific stuff. Switching from one application to another would imply: (a) overwriting the appropriate .h files, and (b) recompiling.

Anyway, your SET PROCEDURE to c:\... should NOT cause a problem, 'cause the PRGs and VCXs are normally included within the EXE. VFP will look in the EXE first, and the specific folder is not needed, AFAIK.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform