Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
6981 Discussions

Custom DLLs and VC++ Run-Time Libraries Question

Deleted_U_Intel
Employee
316 Views
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? :)
0 Kudos
1 Reply
sspine
Beginner
316 Views
You can use VC static run-time library libcmt.lib instead of the default dynamic run-time libray msvcrt.lib in Makefile.
0 Kudos
Reply