Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot locate the VFP support library.
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00236049
Message ID:
00236143
Views:
13
Ed,

I started copying the files only after creating/installing the runtime-only install using the Setup Wizard and finding out it did not resolve the problem. Nothing has helped! I have no ActiveX controls to register. I've done plenty of installations using InstallShield and the Setup Wizard. Nothing is working. This is my development machine where my EXE's were running just fine this morning. Something has changed but I don't know how, since then. The key seems to be how an EXE created with VFP determines the location of the runtime files when the runtime files are not in the same directory as the EXE. I can copy the files to the same directory as the EXE and the EXE runs with no problem. When I remove the runtime files from the same directory as the EXE, the EXE will not run... even though the runtime files still exist in my WinNT\System32 directory.

I'm thinking the bottom-line here is: how does a EXE created with VFP determines the location of the runtime files. If I knew that, maybe I could come up with a solution.

Thanks,

James





>>Something I failed to mention previously, I copied the VFP6RUN.EXE, VFP6RENU.DLL, VFP6R.DLL and VFP6T.DLL to the same directory of the EXE and the EXE now runs. So, I guess the question remains, how does an EXE created in VFP6 locate the runtime files? I'm sure the WinNT\System32 directory is searched, but I wonder what is happening to cause it not to be in the search in my situation? Is the registry searched to determine the windows system directory?
>>
>
>Unfortunately, just copying files is not an adequate installation of the runtime; I'd strongly recommend creating at least a runtime-only install with the Setup Wizard, since there are a number of common file dependencies, as well as registry requirements, that need to be addressed during the installation of the runtime. If you wan to use a tool such as InstallShield to create the runtime distribution, there is a .DEP file in the DISTRIB.SRC directory that outlines the runtime file dependencies, and there's a template .REG file to show you how to create some additional standar registry entries used by VFP6's runtime.
>
>You also will need to register any ActiveX components used by your application on each workstation.
>
>>Thanks for your help!
>>
>>James
>>
>>
>>>>>I created an EXE from my VFP6 project and then ran the EXE several times with no problem. I ran VFP6, modified a program I was working on and then closed VFP6. I then proceeded to run the EXE I created and ran earlier and I get the "Cannot located the VFP support library" message. I then created a setup using the VFP6 setup wizard and installed the EXE using this method. I continue to get the same message. I even uninstalled and reinstalled VFP6 and VS SP3. I'm still getting the same message. I have VFP5 installed on my system as well and EXE's created in VFP5 still run fine.
>>>>>
>>>>>Anyone have any ideas?
>>>>>
>>>>>TIA,
>>>>>
>>>>>James
James Moore
Owner/Developer
Ministry Tracking Software, Inc.
www.youthtrack.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform