I'm trying to use memory validator with visual c++ express and get a message telling me that "the application is not linked to the dynamic CRT." I've tried looking at help files and google, but I can't figure out how to fix this. Suggestions?
In my Visual Studio 2008 Pro, I go to the project properties, then Configuration Properties, then General. To the right you can statically or dynamically link to ATL or MFC (I know, these aren't the ones you are looking for but I thought I should mention for the future).
The CRT option is found under Configuration Properties, C/C++, Code Generation. To the right you'll read "Runtime Library". Select "Multi-threaded DLL" for your Release configuration(s), and select "Multi-threaded Debug DLL" for your debug configuration(s).
However I don't get whay you mean by choosing one for the release configuration and one for the debug configuration.. I can only see the one "code generation" option line. In that one I tried changing" Multi-threaded Debug DLL (/MDd)" to "Multi-threaded DLL (MD)," but that didn't help.
Note: the one complaining about CRT linking is memory validator, not visual c++.
Visual Studio projects can save different configurations grouped in what is called (surprise!) a Configuration, hehe. Normally, all Visual C++ projects have 2: Debug and Release. You can choose from the dropdown menus on top of the Properties window.
As for Memory Validator, I don't know the tool so I cannot help any further. Sorry.