Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. HRESULT:0x8007007E

HRESULT:0x8007007E

Scheduled Pinned Locked Moved C / C++ / MFC
helpcsharpc++debuggingquestion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MozhdehQeraati
    wrote on last edited by
    #1

    Hi I am using a C lib and its corresponding header file in my C++ class library project. After a lot of linkage errors I could finally build the project. I want to use this C++ dll in a C# application. There is no debug error, but there is a runtime error like this: The specified module could not be found. HRESULT: 0x8007007E Could anyone please help me? Thanks in advance

    C L 2 Replies Last reply
    0
    • M MozhdehQeraati

      Hi I am using a C lib and its corresponding header file in my C++ class library project. After a lot of linkage errors I could finally build the project. I want to use this C++ dll in a C# application. There is no debug error, but there is a runtime error like this: The specified module could not be found. HRESULT: 0x8007007E Could anyone please help me? Thanks in advance

      C Offline
      C Offline
      Code o mat
      wrote on last edited by
      #2

      You probably also need a DLL aside of the lib which either cannot be found or it requires registration but was not registered yet. If you have the DLL, try regsvr32.exe the.dll. If there is no DLL, you could try checking around the site you got the lib from if there is one, or you could also try searching for ".dll" inside the lib, maybe you can find the name of it and then you can search for it online.

      > The problem with computers is that they do what you tell them to do and not what you want them to do. < > Life: great graphics, but the gameplay sux. <

      1 Reply Last reply
      0
      • M MozhdehQeraati

        Hi I am using a C lib and its corresponding header file in my C++ class library project. After a lot of linkage errors I could finally build the project. I want to use this C++ dll in a C# application. There is no debug error, but there is a runtime error like this: The specified module could not be found. HRESULT: 0x8007007E Could anyone please help me? Thanks in advance

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Your Dll might require some other dlls or it's location is not correct.You would better check it's dependencies with Dependencywalker.

        Life is a stage and we are all actors!

        M 1 Reply Last reply
        0
        • L Lost User

          Your Dll might require some other dlls or it's location is not correct.You would better check it's dependencies with Dependencywalker.

          Life is a stage and we are all actors!

          M Offline
          M Offline
          MozhdehQeraati
          wrote on last edited by
          #4

          Thanks. I use dependency walker and I found it. There were 2 dlls missing: msvcr80.dll msvcrd80.dll I copied them in the exe folder and the problem was solved. But I am surprised that once I ran the program, a folder was built in WINDOWS folder and the dlls were copied there. So there is no need to those dlls in the exe folder. I mean I delete the dlls in the exe folder and the program still works fine. Why this happens and what should I do when I want to release the application? Thanks

          L 1 Reply Last reply
          0
          • M MozhdehQeraati

            Thanks. I use dependency walker and I found it. There were 2 dlls missing: msvcr80.dll msvcrd80.dll I copied them in the exe folder and the problem was solved. But I am surprised that once I ran the program, a folder was built in WINDOWS folder and the dlls were copied there. So there is no need to those dlls in the exe folder. I mean I delete the dlls in the exe folder and the program still works fine. Why this happens and what should I do when I want to release the application? Thanks

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            msvcr80.dll and msvcrd80.dll are parts of VC++ 2005 redist.When the redist is installed on the client computer it's being used by all applications ,so into this case you needn't private dlls for your app.But it's not you should bring some parts of it with your app.It's recommended also to create app manifest in order to add support of OS themes. See here[^] for details. :)

            Life is a stage and we are all actors!

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups