Forum Jump

Select Group :
Select Forum :
Sorted By :
Sort Order :
From The :
 
 
Thread Tools  Search this thread 
bentomkins
July 12, 2008 8:25 AM PDT
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? :)
sspine
Total Points: 240
Status Points: 190
Green Belt
July 30, 2008 9:04 PM PDT
Rate
 
#1
You can use VC static run-time library libcmt.lib instead of the default dynamic run-time libray msvcrt.lib in Makefile.

Forum Statistics

4488 users have contributed to 24040 threads and 70117 posts to date.
In the past 24 hours, we have 21 new thread(s) 108 new posts(s), and 141 new user(s).

In the past 3 days, the most popular thread for everyone has been IVF 11.0 and VS2008 The most posts were made to IVF 11.0 and VS2008 The post with the most views is Leigh, Have you built this fo

Please welcome our newest member janet.p.simpsonnasa.gov