CodeGuru Forums -
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic Newsletters VB Forums Developer.com


Newest CodeGuru.com Articles:

  • Installing SQL Server 2008
  • Writing UDFs for Firebird Embedded SQL Server
  • [Updated] Shutdown Manager
  • Building Windows Azure Cloud Service Applications with Azure Storage and the Azure SDK

  • Search CodeGuru:
     



    Go Back   CodeGuru Forums > Visual C++ & C++ Programming > Managed C++ and C++/CLI
    FAQ Members List Calendar Search Today's Posts Mark Forums Read

    Managed C++ and C++/CLI Discuss Managed C++ and .NET-specific questions related to C++.

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1    
    Old July 21st, 2005, 06:03 PM
    PSUcoder PSUcoder is offline
    Member
     
    Join Date: May 2005
    Posts: 54
    PSUcoder is an unknown quantity at this point (<10)
    Angry Hhhheeeeelllppppp!!!!!

    ok somebody PLEASE help me with this. Had installed Visual Studio 2003.net and my own computer, works fine.
    Now trying to install it on my new laptop. Using SAME PROJECT that works on desktop, on laptop, I first get two errors about missing .dll files (MFC42D.dll), and (MSVCTRL, or something like that). anyway I found those from my desktop, put them in the systems folder, and figured all would work! WRONG!!! now I get this error, which I don't have a clue how to fix-----

    The ordinal 5078 could not be located in the dynamic link library MFC42D.DLL
    Debugger:: An unhandled non-continuable exception was thrown during process load
    The program '[2180] gui.exe: Native' has exited with code -1073741512 (0xc0000138).




    Now i tried uninstalling, reinstalling, googling the error, all to no avail. How can it work fine on one pc, but not on another? PLEASE HELP
    Reply With Quote
      #2    
    Old July 21st, 2005, 06:15 PM
    Arjay's Avatar
    Arjay Arjay is offline
    Moderator / MS MVP
    Power Poster
     
    Join Date: Aug 2004
    Posts: 6,297
    Arjay has a reputation beyond repute (3000+)Arjay has a reputation beyond repute (3000+)Arjay has a reputation beyond repute (3000+)Arjay has a reputation beyond repute (3000+)Arjay has a reputation beyond repute (3000+)Arjay has a reputation beyond repute (3000+)Arjay has a reputation beyond repute (3000+)Arjay has a reputation beyond repute (3000+)Arjay has a reputation beyond repute (3000+)Arjay has a reputation beyond repute (3000+)Arjay has a reputation beyond repute (3000+)
    Re: Hhhheeeeelllppppp!!!!!

    Sounds like you have a dll version mismatch - you need to install the dll versions for the 2003 .net compiler you compiled your program in.

    Here's what you can do.

    1) On the machine that works, fire up the program
    2) Open up ProcessExplorer from sysinternals.com
    3) Note: the versions of dlls in use (date, size, version, etc.)
    4) Make sure these versions are in the Win system32 directory on the machine that doesn't work.
    5) Retry the program in the machine that doesn't work. If it doesn't work, load processexplorer on this machine to find out what dll it's using.

    Arjay
    Reply With Quote
      #3    
    Old July 21st, 2005, 06:39 PM
    PSUcoder PSUcoder is offline
    Member
     
    Join Date: May 2005
    Posts: 54
    PSUcoder is an unknown quantity at this point (<10)
    Re: Hhhheeeeelllppppp!!!!!

    thanks, I got it workng not quite sure I understand how. Apparently it wasn't an install issue, but windows files were missing from my laptops. I copied over several more .dll's and now it works. ?Here;s the catch---- the modified date on some of the dll's that threw errors was June 98, which means apparently they weren't installed into my desktop by Visual Studio, but rather when I installed XP, for some reason these were not present in my laptop. Seems kind of strange, but it works so... oh and sorry about the double post
    Reply With Quote
    Reply

    Bookmarks
    Go Back   CodeGuru Forums > Visual C++ & C++ Programming > Managed C++ and C++/CLI


    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 02:38 PM.



    Acceptable Use Policy

    internet.comMediabistrojusttechjobs.comGraphics.com

    WebMediaBrands Corporate Info


    Advertise | Newsletters | Feedback | Submit News

    Legal Notices | Licensing | Permissions | Privacy Policy


    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
    Copyright WebMediaBrands Inc. 2002-2009