Hi,
I'm building this dynamic link library and it's compiled with "Code
Generation" option set to "Multithreaded DLL". It's designed to be linked by
another DLL or EXE. From what I understand, I can't use "Multitheaded" here
because multiple "static" copies of CRT running in the same process space
can cause problems. (And If I set it to "Multithreaded", my program will
crash in very weird parts.) So I stick to "Multithreaded DLL", and
everything goes fine.
The problem is that since the DLL is generated by VS.NET 2003, it has
dependency on MSVCR71.DLL and MSVCP71.DLL. I know I can ship these two files
with my software package. But what if I don't want to do so? Can I
dynamically link to the "latest available CRT" on users' computer? Can I
link to an older version such as MSVCR60.DLL and MSVCP60.DLL? Is there any
compiler option to force linking an older library?
Thanks in advance,
--
He Shiming