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#
  4. unable to load dll in c# windows applcation

unable to load dll in c# windows applcation

Scheduled Pinned Locked Moved C#
helpcsharpdebuggingquestion
3 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.
  • N Offline
    N Offline
    Naresh123456789
    wrote on last edited by
    #1

    Hello everyone, I have face problem is "Unable to load DLL 'some.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) ", when trying to load the dll file into a windows application. I developed a windows application in VS2005 and want to import a dll file from another program into my project and use it.for that i have just add that dll to the solution explorer. But when I try to call one of the function in the dll file, I got the error message "Unable to load dll 'some.dll". I put the "some.dll" file in the debug folder.Can anyone help me out with this? thanks and really appreciated!

    S M 2 Replies Last reply
    0
    • N Naresh123456789

      Hello everyone, I have face problem is "Unable to load DLL 'some.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) ", when trying to load the dll file into a windows application. I developed a windows application in VS2005 and want to import a dll file from another program into my project and use it.for that i have just add that dll to the solution explorer. But when I try to call one of the function in the dll file, I got the error message "Unable to load dll 'some.dll". I put the "some.dll" file in the debug folder.Can anyone help me out with this? thanks and really appreciated!

      S Offline
      S Offline
      Seraph_summer
      wrote on last edited by
      #2

      I know that not all .dll can be loaded by VC#;

      1 Reply Last reply
      0
      • N Naresh123456789

        Hello everyone, I have face problem is "Unable to load DLL 'some.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) ", when trying to load the dll file into a windows application. I developed a windows application in VS2005 and want to import a dll file from another program into my project and use it.for that i have just add that dll to the solution explorer. But when I try to call one of the function in the dll file, I got the error message "Unable to load dll 'some.dll". I put the "some.dll" file in the debug folder.Can anyone help me out with this? thanks and really appreciated!

        M Offline
        M Offline
        Mark Salsbery
        wrote on last edited by
        #3

        obalesu wrote:

        I put the "some.dll" file in the debug folder.

        What debug folder? Try putting it in the same folder as the .exe file using the dll is in.

        Mark Salsbery Microsoft MVP - Visual C++ :java:

        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