>I want build a .EXE file in FPW2.6. To do tjhis, i must build a project with all the files i want include in my EXE. But when i do this, all the modification that i make to my project don't work. That means that if i exclude a file in my project, when i build the exe file from this project, the file is included in the exe file. I disable the rebuild and display error options before i make the exe file but still dosn't work.
>How can i do to create an EXE file with the file that i want and not with all the related files on my program?
>
>Thanks.
I understand that there are files (that are referenced by a file from the project) that you don't want to include in the project.
Try the following trick (using macrosubstitution):
Be AFile.prg the file you don't want to be included automatically in your project. In the file that calls AFile replace the command:
do AFile
with
AFileTrick="AFile"
do &AFileTrick
Of course, this is only a simple example. I'm sure you can make the same trick for any other situation (reports, screens, etc.).
Good luck!
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement