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. Dll Import Problem in loading two c++ assemblies with same name

Dll Import Problem in loading two c++ assemblies with same name

Scheduled Pinned Locked Moved C#
helpcsharpc++performanceannouncement
3 Posts 2 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.
  • H Offline
    H Offline
    He is Cool
    wrote on last edited by
    #1

    Hi, I have a C#.net application. I have two C++ dlls with same name (but different version numbers that i see in the dll). When I use Dll Import to invoke methods on each dll separately in two different applications, all the methods in both the c++ dlls work fine. But if i tend to use dll import and invoke the functions in the two dlls, the first dll's methods are executing fine but when the second dll's methods are invoked, there is an error stating "cannot load the second dll. method not found". I wonder if it is something to do with loading two same named dlls in the same memory of an exe... Please help in identifying the cause and kindly clarify my doubt. Many Thanks.

    G 1 Reply Last reply
    0
    • H He is Cool

      Hi, I have a C#.net application. I have two C++ dlls with same name (but different version numbers that i see in the dll). When I use Dll Import to invoke methods on each dll separately in two different applications, all the methods in both the c++ dlls work fine. But if i tend to use dll import and invoke the functions in the two dlls, the first dll's methods are executing fine but when the second dll's methods are invoked, there is an error stating "cannot load the second dll. method not found". I wonder if it is something to do with loading two same named dlls in the same memory of an exe... Please help in identifying the cause and kindly clarify my doubt. Many Thanks.

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      Please don't cross post.

      --- b { font-weight: normal; }

      H 1 Reply Last reply
      0
      • G Guffa

        Please don't cross post.

        --- b { font-weight: normal; }

        H Offline
        H Offline
        He is Cool
        wrote on last edited by
        #3

        I am dealing with something related to .NET and C# and wonder about your comment. Hope you are clear in understanding my problem.

        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