Why do I see the MSVCR90 dependency even if I set the / MT switch?

I am creating a DLL in Visual C ++ 2008, and I want the runtime to be statically linked to the DLL. So I went into the project settings and installed the Runtime Library on Multi-threaded (/MT). This has always worked for other projects in the past. But when I create this one, I still get a Dependency Walker showing MSVCR90.dll in the list.

Does anyone know what can do this?

+5
source share
1 answer

Project + Properties, Linker, Command Line. /verbose. Build + Rebuild. "" , . msvcrt.lib, , msvcr90.dll

- .lib .obj , /MD. msvcrt.lib #pragma comment (lib, msvcrt.lib). msvcrt.lib Linker, Input, Additional Dependencies.

+4

All Articles