Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling unreferenced in a project prg from exe
Message
From
07/04/2010 08:32:35
 
 
To
07/04/2010 08:27:27
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 7
Miscellaneous
Thread ID:
01459097
Message ID:
01459127
Views:
43
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
Previous
Reply
Map
View

Click here to load this message in the networking platform