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. VS 2005 ATL dll not working on non-development machine

VS 2005 ATL dll not working on non-development machine

Scheduled Pinned Locked Moved C / C++ / MFC
c++visual-studiohelpquestionworkspace
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.
  • N Offline
    N Offline
    ns
    wrote on last edited by
    #1

    I created an ATL dll in vs 2005 and invoked it from MAtlab using loadlibrary (in MAtlab). No problems. But when I try the same thing on a non development machine that has no VS on it, I cannot do loadlibrary -- Matlab gives me an error saying the application configuration is incorrect. I googled and seem to gather it is because I dont have VS on the clean machine. I got the VS redistributable exe (said its for non-dev machines so VS apps can run on them) from microsoft and loaded it on the clean machine but still no success. What do I need to do? thanks, sb

    M 1 Reply Last reply
    0
    • N ns

      I created an ATL dll in vs 2005 and invoked it from MAtlab using loadlibrary (in MAtlab). No problems. But when I try the same thing on a non development machine that has no VS on it, I cannot do loadlibrary -- Matlab gives me an error saying the application configuration is incorrect. I googled and seem to gather it is because I dont have VS on the clean machine. I got the VS redistributable exe (said its for non-dev machines so VS apps can run on them) from microsoft and loaded it on the clean machine but still no success. What do I need to do? thanks, sb

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

      In addition to installing the redistributable runtimes for the version you built for, also make sure none of the modules are linking to the debug runtime libraries, which aren't redistributable. Mark

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

      N 1 Reply Last reply
      0
      • M Mark Salsbery

        In addition to installing the redistributable runtimes for the version you built for, also make sure none of the modules are linking to the debug runtime libraries, which aren't redistributable. Mark

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

        N Offline
        N Offline
        ns
        wrote on last edited by
        #3

        That was the problem, Mark. I had built debug dlls. Soon as I changed the project configuration I was able to load the librar. MAny thanks! sb

        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