Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COMPILE from within an exe (VFP6)
Message
De
30/04/1999 09:15:58
 
 
À
30/04/1999 08:02:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00213821
Message ID:
00213852
Vues:
31
>Hi,
>
>I have an app that builds a prg with low level file functions and then compiles and runs it. This works fine when testing from within the fox environment, however when built and run as a stand alone exe it fails at the COMPILE command (command not available).
>I have tried _VFP.DoCmd("COMPILE xyz.prg"), with the same result. The only limited success I have had is by using the FoxDoCmd() function within 'fpole.dll', but I am not sure how this function works on a machine without VFP6 installed. Does the client machine need to have fpole.dll and/or any other dll's registered in order for the automation to work?
>Any help on using fpole.dll or even better a more elegant solution would be much appreciated.
>
>Many thanks,
>Ian.


You can't currently compile in the runtime. It has been reported that an upcoming release of VFP will support this. In the meantime, you can look at the Codeblock routine in the files section here on the UT.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform