Link to home
Start Free TrialLog in
Avatar of rw8
rw8

asked on

"The ordinal 6625 (or 6880) could not be located in the dynamic link library MFC42.DLL"

Hi, i've created a software using VC++6.0 and i'm using the InstallShield Express 2.12 to create the installation CD for my software. The CD has been sent to some ppl for testing and a few of them told me they received an error msg of "The ordinal 6625 could not be located in the dynamic link library MFC42.DLL" or  "The ordinal 6880 could not be located in the dynamic link library MFC42.DLL" .. can anyone tell me what does that mean? and how to solve this problem? i've already selected the "MFC" option in the installshield express script..
Can anyone help me to solve this problem? I need help urgently!! (the project deadline is tomorrow)
Avatar of JackThornton
JackThornton

The problem is that something is trying to call a function that doesn't exist in the version of the library (MFC42.DLL) that exists on the target mahine. You didn't say when the error occured (during install or running of your program).
ASKER CERTIFIED SOLUTION
Avatar of JackThornton
JackThornton

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
The MFC DLL on the target system is out of sync with your MFC build environment.  Usually this is due to having a newer MFC library on your system than the target but it can be the other way around.  Often the MFC DLL will get replaced by a program installation even though the existing one is a later version.

Two things are possible:

1) Statically link your EXE with the MFC libs so that there are no dependencies on the target's MFC DLLs.  This results in a larger EXE file but is often the simplest choice.

2) The MFC DLL is redistributable and so you can include it in the installer for your application.
Avatar of rw8

ASKER

Thanx. The problem comes from a older version of MFC42.DLL was used in the other computers . and were not updated by InstallShield because the user didn't logon as a system administrator. Thanx for your comments.