Link to home
Start Free TrialLog in
Avatar of wheat01
wheat01

asked on

MSVCR70.DLL not registering VFP Exe won't start

I have a VFP8.0 build prg to executable which is deployed through the InstallShield Express application.  This program installs and runs fine on mahines which were previously installed with other VFP executables.  All machines are running on Windows XP.

However on new machines which have been set up in the last two - three weeks, the executable complained of not finding msvcr70.dll, so I copied the file from one of the working machines to the c:\windows\system32 subdirectory and tried to register it with regsrv32 "c:\windows\system32\msvcr70.dll"
 
Error returned was the file was loaded but the entry point was not found and windows cannot register this file.

I really need to solve this issue as I have several users who do not have access to this program.

Thanks for any help in resolving this issue.

SOLUTION
Avatar of Cyril Joudieh
Cyril Joudieh
Flag of Lebanon image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of wheat01
wheat01

ASKER

Ok,  The msvcr70.dll is available, but the vfp application executable does not fire off.  Works fine on other machines with Windows XP but not on the new ones (32 bit) The I.S. department has restricted users on the new machines from being admins on their own machine. The older machines still allow the user to have administrative rights. Is it possible that installing on a machine for which the user has admin rights (and is logged in with their own login) would work while logging on to a machine as an admin (not the user) and installing the program would then not work when the user logged back in to their own machine?  

 
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
In general installations always need administrative priviliges, but users don't. So the policy is completely ok. Including the admin installing for a user and the user logging in, you don't need admin rights to run a program. The only problem that could have is, if a setup does not install "for all users".

The link to the fox wiki pavel provides show, which dlls can be registered. msvcr70.dll doesn't need registering, vfp8r.dll is among the registerable dlls, but doesn't need to be reistered, if you simply put it in the same diectory as your exe, foxhhelp8.exe needs registering, if you want to make use of the HELP command in several ways.

I remember a recent thread, but don't know where that was, where someone solved a similar issue by additionally putting the MSVCPR70.dll into the same folder. I don't know if that really is necessary, AFAIK this is a version of the C runtime only needed for development including debugging functionalities.

Bye, Olaf.
MSVCP71 is necessary for some FLL library from Sweetpotato software (vfpcompression or vfpencryption).

I don't have any MSVCP70.DLL on my computer but VFP 8 debugger works for me...
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of wheat01

ASKER

Please see points awarded to the three experts, I don't know why the system is trying to assign points to my comments.