Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EXE depending on other files?
Message
From
16/03/2011 10:17:07
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
16/03/2011 09:54:40
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01503867
Message ID:
01503872
Views:
93
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform