Click here to Skip to main content
16,008,719 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have created a MFC application and I have created the setup of the same using the Installware software. When I am trying to run the application after installation, following error occurs:

"Ordinal 9332 could not be located in the Dynamic Link Library mfc90.dll"

I have searched for mfc90.dll and it is present in system directory.
I am not able to understand what is the problem. Please anyone provide me the solution for the same.
Posted

1 solution

You have a mismatch between what was promised in the DLL and what is actually there. This is a linker/loader error, not strictly a runtime error. Ordinal 9332 is an API inside the DLL that was promised by the .lib file when the program was linked (actually it is either an API or a pointer to data; most likely an API) but is not actually there at load time.

Make sure that the C++ distributables are installed correctly on both the developer machine and user machine.

One thing specifically to look for is that release RTL DLLs are distributable but debug DLLs are not. Some people try to cheat by renaming the debug DLLs to the corresponding release names... won't work.
 
Share this answer
 
Comments
Fresher16 18-Jul-13 4:41am    
Thanks Brydon...!! Installing the distributable package solved my problem..
Thanks a lot. One more thing to ask? Is there any way that to avoid this distributable package dependency?
H.Brydon 18-Jul-13 10:13am    
Not really. If your user machine needs a particular RTL, there is not really an alternate way of providing it.

Begging the question: static linking (eg. http://msdn.microsoft.com/en-us/library/f22wcbea%28v=vs.80%29.aspx )

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900