none
Ordinal not found error

    Question

  • I've got a C++ 6 project and i want to debug\build it using C++ express 2008.
    I get this nagging error:
    //Title=MyApp.exe - Ordinal not found
    //Message = The ordinal 5078 could not be located in the dynamic link library MFC42D.DLL.
    //MessageBox.Button = OK
    
    What should i do for this?

    There is always a way out
    Friday, October 16, 2009 6:19 PM

All replies

  • The Express edition doesn't support MFC.  You have a mismatch between the DLL and the import library.  Not sure where you got them, I'd guess it isn't anything you paid for.  Which is what it takes to solve your problem.

    Hans Passant.
    Friday, October 16, 2009 6:27 PM
    Moderator
  • I've also got VS7.0.9466 enterprise
    Same problem

    There is always a way out
    Sunday, October 18, 2009 10:16 AM
  • Hello,

    Is your problem resolved? as Hans pointed out, this mostly is caused by the DLL mismatch, you could try to create a new project in your Visual Studio Enterprise and copy and paste the files in the earlier project.

    Sincerely,
    Wesley
    Please mark the replies as answers if they help and unmark them if they provide no help. Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    Friday, October 23, 2009 9:51 AM
  • Sorry but i have the same problem even when i do so.
    There is always a way out
    Friday, October 23, 2009 1:11 PM