Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fatal Error When Exiting VFP6 Compiled Application
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00160696
Message ID:
00160703
Views:
17
>Greetings!
>
>I created an EXE of a VFP6 application on our network. I'd like to know which DLLs are necessary in order to run it on a PC which does not already have VFP6 installed. Currently, I am getting a Fatal Error, with an Exception code of C0000005, as the application is closed.
>
>The DLLs I am using are VFP6R.DLL, VFP6ENU.DLL, and VFP6RENU.DLL. I am I missing a file? This application works correctly when compiled in VFP5, however I am migrating my applications to VFP6.

Win95 machines will need to have DCOM installed before running a VFP application; Win98 and NT 4.0 systems should already have DCOM support installed.

I'd suggest creating your install (at least the VFP 6 Runtime portion) with the Setup Wizard rather than attempting to copy files, since the VFP runtime files also have dependencies on other common libraries (like the various MSVCRT and MFC .DLLs) which need to be brought up to date properly. The Setup Wizard should handle this for you. Guessing at file dependencies and versions is a good way to mess up an install, and in some cases, a working system. If you do roll your own and don't use a third-party product like InstallShield to manage the installation of system components, you'll need some of the facilities of the Win32 Setup API to help in copying and registering .DLLs that may already be resident in memory.

Unfortunately, Setup Wizard doesn't address the DCOM install, which can force a reboot during the install process; you can download the DCOM installs from Microsfot's Web page. If you need to encapsulte the entire install into a single process, you'll need a seaprate install scripter such as InstallShield or the Windows Scripting Host. It's simpler to do the DCOM install before attempting to run the VFP Runtime install created by the Setup Wizard.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform