Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Building exe and prg
Message
De
07/05/2015 05:18:21
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01619485
Message ID:
01619491
Vues:
53
>What I see is the .PRG I have in my project (not the one used in the SET PROCEDURE) has no associated .FXP file. So I presumed that this one was not compiled. Therefore, VFP must have included in the EXE the .PRG/.FXP in the SET PROCEDURE.
>
>The reason I came across this issue is that without having the .PRG in my PROJECT, at run-time, I kept getting the error related to the .H file used in the .PRG. Note that the .PRG is the same, in both folders, and has not been change in 2 years. Yet, I was getting the errors at run time saying the variable "INC_NAME" (#defined in .H file) not found. Maybe I should look at this issue again when I am less tired.

It may not be able to find the .h file at compile time, depending on the path. I know there was trouble with that, but generally having a path set to cover all files in the project at build time seems to work, i.e. I haven't had this kind of trouble for years, perhaps since VFP7.

BTW, the .fxp files are used only when you run a prg from IDE (or execscript or explicitly compile from within the exe). The executable will contain its own version of the .fxp, which may never be on disk. Which is a bit different from vcx/scx which get compiled first (the objcode field contains the compiled code), on disk, and then included in the exe.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform