I'm trying to build a VFP application into an executable using a "build exe" exe.
However, I run into the following:
For the actual building, I use the following code:
This works great in a development environment, but crashes when executed from an .app or .exe (on the MODIFY PROJECT statement).
Is there a way to get a reference to the project without issuing MODIFY PROJECT ? Diederik Vermeeren
verm1864@exact.nl
However, I run into the following:
For the actual building, I use the following code:
Code:
MODIFY PROJECT <some project> NOWAIT NOSHOW
loProject = APPLICATION.Projects[1]
loProject.VersionNumber = <cProjectnumber>
loProject.CleanUp( .F. ) && PACK the project
loProject.Encrypted = .T. && Encrypt compiled code
llSucces = loProject.Build( <all them options> )
This works great in a development environment, but crashes when executed from an .app or .exe (on the MODIFY PROJECT statement).
Is there a way to get a reference to the project without issuing MODIFY PROJECT ? Diederik Vermeeren
verm1864@exact.nl