Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
EXE depending on other files?
Message
De
16/03/2011 10:17:07
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
16/03/2011 09:54:40
Kevin Hickman
The Cadle Company
Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01503867
Message ID:
01503872
Vues:
91
>We have some classes and add in stuff as well as some include (.h) files incorporated in our program. We noticed yesterday that the exe created depends on finding some of these files at certain locations and if you delete or move one of the classes, the part of the exe that uses it no longer works. We were under the impression that the code from the classes would be compiled in with the exe and not dependent on them as seperate files in a certain location. Is there a way to tell VFP to do this? (Make the classes, include files, etc. part of the executable file itself)

There are runtime files that are often installed to specific locations. They support the exe. They are not classes or include files. Classes are supposed to be in the exe, but VFP keeps track of the location of the classes on the develoment machine. These locations can be removed by hacking the classes. You don't need these locations once compiled into the exe. Put the runtimes where the exe resides and you'll be fine. Move the exe independent of the runtimes and you'll have to install them in the regular locations.

http://fox.wikis.com/wc.dll?Wiki~VFP9RuntimeFiles~VFP
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform