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