Solved

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

Posted on 2001-06-13
4
1,408 Views
Last Modified: 2013-11-20
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)
0
Comment
Question by:rw8
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 3

Expert Comment

by:JackThornton
ID: 6188924
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).
0
 
LVL 3

Accepted Solution

by:
JackThornton earned 100 total points
ID: 6188941
BTW, when you create a DLL, you can export functions by name or by index, or ordinal number. Some programmers (and/or company policies) dictate hiding as much information as possible about their object code, so (for example) instead of calling function "MySecretEncoderFunction" they call function #42. The ordinals referenced mean numbers associated with specific functions in the DLL.

Again, it sounds like it might be a version problem (did MS release multiple versions of MFC*42*.DLL?), which means you may have to install the most current versions of the redistributable files along with your program. You need to take care when doing this; you must ensure that you do not overwrite newer versions of "system" or highly common files with older versions. InstallShield has the capability of comparing versions and providing UI to the user (the familiar "a newer version of xxxx.xxx exists on your machine - do you want to keep it or install the file from this disk blah blah blah?")

- jack
0
 
LVL 32

Expert Comment

by:jhance
ID: 6189196
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.
0
 

Author Comment

by:rw8
ID: 6189303
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.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Named range not carried over 10 66
only14 challenge 19 84
Problem to event 3 114
Remove Password Protection from pdf (with password) using an command line executable 5 84
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question