Click here to Skip to main content
15,902,908 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a dll abc.dll.but when I open it in dependency walker,I depends on the MSVCR90.dll. I want to set the property of the project such type it should be independent of that dll and it can be dependent on MSVCRT.dll. How it is possible.I am using vs2008.
Posted

1 solution

I don't think you can target MSVCRT specifically - the MS Visual C++ runtime changes with each version of visual studio, you MUST target the correct one. If you are concerned that clients will not have the library, you must provide the Visual C++ Redistributables with your installer or release:

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=29[^]

Don't try to fudge a link to the older version - you'll get exceptions and crashes.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900