Original Post
Hi,
Can anyone clearly explain the differences between the different code generation options for MSVC?
As far as I know, the /MT option and /MD option are "identical" except that one staticly links with the C run time, and the other one dynamicaly - is this correct? What are the implications of this?
If you had a dll which created a class like such:
extern "C" __declspec(dllexport) Foo *Create() { return new Foo;}
and your main program loaded and used the dll, what options are compatible with one another and what are the properties of the different combinations of options?
Thanks!