Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to include VFP7 Runtime files into project ?

Status
Not open for further replies.

stvhui

Programmer
Jul 17, 2002
13
ID
Hello to you,
I'm uisng vfp7 with sp1

I'd created simple application.
I usually separated between application files & runtime files.

But I curiosly wanna to know Is the VFP able to included it runtime in EXE files ?

Please advice
 
You cannot include the runtime file inside an exe (at least you can but it will have no effect). The runtime files are DLLs that need to but registered in Windows seperately. If you are using InstallShield to distribute your application, just select the runtime files at the "Obects/Merge modules" section of the preparation.
 
I do it the cheap/easy way. Most of our programs are written in VFP6, but a few have been done over in VFP7. Rather than making a whole new install program, I just copy the following files to the windows system folder (c:\windows\system or c:\winnt\system32). I haven't gotten one error from any of our VFP7 .exe files.

VFP7RENU.DLL
vfp7t.dll
vfp7r.dll
msvcr70d.dll
msvcp70d.dll
msvcr70.dll
msvcp70.dll

Ron
 
Ron,
You're either very lucky, or all the systems that run your applications are fairly new. On "older" systems, a number of system support files may need to be added and/or updated or the VFP runtimes will act "flaky" or simply fail. Also, by not registering these components, it'll make the system "work" harder to fire up your application, and potentially allow another application to register their versions of these files, so your application won't use your files at all!

Copying files is not a substitute for using a good installer for your Windows applications.

Rick
 
Rick..

true, copying files is not the way either, but it was a quick way to get a couple of apps running on management's win2000 cpu's ("do it yesterday" type of thing).

For production, we will have a new "base install" program.

Ron
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top