Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling unreferenced in a project prg from exe
Message
De
07/04/2010 08:32:35
 
 
À
07/04/2010 08:27:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 7
Divers
Thread ID:
01459097
Message ID:
01459127
Vues:
44
I don't think you need to delete the fxp before compiling it - it will overwrite

Better use
do (xprg)
instead of
do &xprg
It takes care of the spaces


>You are right There was a line in a code which I managed to miss :)
>
>delete file *.fxp
>
>adding
>
>compile *.prg 
>
>resolved the issue. DO &xprg with extension .prg or without DO (forceext(xprg, '')) as you suggested doesn't make a difference then.
>
>>>A prg is not included in a project file.
>>>Is it supposed to work at all when exe is launched from command line ?
>>>It does work for exe build/run in IDE.
>>>
>>> do &xprg
>>>
>>>where xprg full path to prg file
>>>
>>>Set path to justpath(xprg)
>>>or
>>>cd justpath(xprg)
>>>
>>>don't help.
>>>
>>>The error :
>>>File 'xyz.prg' does not exist
>>
>>Michael,
>>
>>You have to compile it first
>>
>>compile (xprg)
>>do  (forceext(xprg, ''))
>>
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform