You can statically link with /ML for single-threaded or /MT for multi-threaded, your DLL will be bigger since it contains some msvcr71.dll code but you won't need to copy msvcr71.dll to machines that don't have it. There are also problems if the program running your DLL also links to msvcr71.dll.