471,354 Members | 1,558 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,354 software developers and data experts.

Remove MSVCR80D.dll Dependency in VC++.NET

We code DLL's and so far it was done using VS6.0. We are planning to migrate the VS.NET 2005 and use the VS6 VC++ code which generated the DLL to VS 2005 VC++.NET.

However we donot plan to use any of .NET features as of now. I just need the C++ code to compile and generate me the .dll file. When I tried porting it to VC++.NET, the project file was converted and an adding the dependency include / bin folders, the project compiled to a .dll. However when opening the dll with dependency walker, it shows a dependency to the file MSVCR80D.DLL and hence it means that the target system where the .dll file will be installed will also require the above said file.

How can I remove this dependency from the DLL so that no additional software like .NET has to be installed at the target machine. In short how do I use without adding any new dependency to my VC++ VS6.0 .dll file, compile the same using the .NET VS 2005 IDE?

Jul 16 '07 #1
1 2401
I did realize one more thing, that when compiling, I get messages like sprintf() and fopen() are now deprecated. Where can I find the function dependency list of MSVCR80D.dll so that if I see a list of functions, I probably could hunt thru the source code to see if any references are being made to the library.

Secondly I also tried to remove some .lib references in the Project, Properties, Linker, Input - section. But even after that, the dependency to the above Dll is not removed.

Any help / links would be really great.
Jul 16 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Mohit Gupta | last post: by
1 post views Thread by Bruno van Dooren | last post: by
1 post views Thread by George2 | last post: by
8 posts views Thread by Freddy Coal | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.