Welcome to Intel® Software Network Quick Login | Join | Help |
Search in Intel® Software Network Forums
in Go

Custom DLLs and VC++ Run-Time Libraries Question

Last post 07-30-2008, 8:04 PM by sspine. 1 replies.
Sort Posts: Previous Next
 07-12-2008, 7:25 AM 30258962  

Custom DLLs and VC++ Run-Time Libraries Question

When I make a custom dll using NMake, and have a snoop inside using Dependency Walker, the libraries are bound to MSVCRxx.DLL.

The version appears to depend on the version of Visual Studio currently installed. E.g. the dlls that are in ia32/bin use MSVCR71.DLL and a custom dll that I create references MSVCR90.DLL (vs2008).

Is there a way for me to create custom dlls that statically link to the VC++ run-time libraries, or cleaner solution?

The reason that this is annoying is that it adds to the complexity of deployment scenarios :(

Any tips/thoughts??

Or have I lost the plot? :)

Ben
 
 07-30-2008, 8:04 PM 30260362 in reply to 30258962  

Re: Custom DLLs and VC++ Run-Time Libraries Question

You can use VC static run-time library libcmt.lib instead of the default dynamic run-time libray msvcrt.lib in Makefile.
 
View as RSS news feed in XML

Shortcuts


Tags For This Post

...

Community Tags

...