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. Problem loading dll compiled in VS2005 on exe VS06

Problem loading dll compiled in VS2005 on exe VS06

Scheduled Pinned Locked Moved C / C++ / MFC
helpcsharpc++visual-studiotesting
4 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.
  • P Offline
    P Offline
    PrafullaShirke27
    wrote on last edited by
    #1

    Hi i have an MFc application which is compiled in Visual studio 6 . I have created a dll that is compiled in VS2005. It works fine on development machine giving me all desired results. But after deploying the exe and dll on Other machine which is meant to be for testing purpose. I copied all the dependent dll in the same folder is required for dll that is compiled on VS2005. But the dll is failed to load using loadlibrary. To solve this issue i created a setup of MSM of Visual studio Merge module and installed on the Testing machine. I was expecting that this will atleast solve my prioblem but it also failed to load dll. Any one has suggestion that how this can be achieved?

    C D 2 Replies Last reply
    0
    • P PrafullaShirke27

      Hi i have an MFc application which is compiled in Visual studio 6 . I have created a dll that is compiled in VS2005. It works fine on development machine giving me all desired results. But after deploying the exe and dll on Other machine which is meant to be for testing purpose. I copied all the dependent dll in the same folder is required for dll that is compiled on VS2005. But the dll is failed to load using loadlibrary. To solve this issue i created a setup of MSM of Visual studio Merge module and installed on the Testing machine. I was expecting that this will atleast solve my prioblem but it also failed to load dll. Any one has suggestion that how this can be achieved?

      C Offline
      C Offline
      Chris Losinger
      wrote on last edited by
      #2

      try Depends[^] to see if there are any missing DLLs.

      image processing toolkits | batch image processing

      1 Reply Last reply
      0
      • P PrafullaShirke27

        Hi i have an MFc application which is compiled in Visual studio 6 . I have created a dll that is compiled in VS2005. It works fine on development machine giving me all desired results. But after deploying the exe and dll on Other machine which is meant to be for testing purpose. I copied all the dependent dll in the same folder is required for dll that is compiled on VS2005. But the dll is failed to load using loadlibrary. To solve this issue i created a setup of MSM of Visual studio Merge module and installed on the Testing machine. I was expecting that this will atleast solve my prioblem but it also failed to load dll. Any one has suggestion that how this can be achieved?

        D Offline
        D Offline
        David Crow
        wrote on last edited by
        #3

        PrafullaShirke27 wrote:

        But the dll is failed to load using loadlibrary.

        Did you call GetLastError() to find out why?

        "One man's wage rise is another man's price increase." - Harold Wilson

        "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

        "Man who follows car will be exhausted." - Confucius

        P 1 Reply Last reply
        0
        • D David Crow

          PrafullaShirke27 wrote:

          But the dll is failed to load using loadlibrary.

          Did you call GetLastError() to find out why?

          "One man's wage rise is another man's price increase." - Harold Wilson

          "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

          "Man who follows car will be exhausted." - Confucius

          P Offline
          P Offline
          PrafullaShirke27
          wrote on last edited by
          #4

          Thanks guys for response. I tried depends and added the necessary dll for that and GetLastError too. And according to that The operation was successful.

          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