MSVCRT...
-
Hey all! I compiled an ATL ActiveX Control DLL using Visual C++ 7 - and noticed that the DLL depends on MSVCRT70.DLL... I have several questions: 1. Can I somehow remove this dependency? 2. What's in that DLL anyway? 3. Suppose I will compile the code with Visual C++ 6 - it will depend on MSVCRT.DLL, right? 4. Is it possible to remove THAT dependency? 5. Is there any software that comes with MSVCRT.DLL EXCEPT for Visual C++? (Internet Explorer, or Office, or something common like that?) 6. Suppose I want to distribute that file along with my ActiveX Control (for download on a web page) - will it work from the control DLL's directory? Need I put it in the user's Windows\System directory? Need I do anything else? Is it legal to distribute this DLL just like that? Thanks a lot! :)
-
Hey all! I compiled an ATL ActiveX Control DLL using Visual C++ 7 - and noticed that the DLL depends on MSVCRT70.DLL... I have several questions: 1. Can I somehow remove this dependency? 2. What's in that DLL anyway? 3. Suppose I will compile the code with Visual C++ 6 - it will depend on MSVCRT.DLL, right? 4. Is it possible to remove THAT dependency? 5. Is there any software that comes with MSVCRT.DLL EXCEPT for Visual C++? (Internet Explorer, or Office, or something common like that?) 6. Suppose I want to distribute that file along with my ActiveX Control (for download on a web page) - will it work from the control DLL's directory? Need I put it in the user's Windows\System directory? Need I do anything else? Is it legal to distribute this DLL just like that? Thanks a lot! :)
In VS.NET (VC 7), right click on your project in the Solution Explorer and choose properties. The General tab has an option fo "Minimize CRT Use in ATL", switch this to Yes and you should statically link to the CRT's. If you build it with V6, if you use the min_dep project configuration you will statically link to the CRT's and no longer require that DLL. You can distribute that DLL with your ActiveX Control and put it in the same directory as your control and that should work. Later, Walter Sullivan Lead Program Manager, MFC/ATL
-
In VS.NET (VC 7), right click on your project in the Solution Explorer and choose properties. The General tab has an option fo "Minimize CRT Use in ATL", switch this to Yes and you should statically link to the CRT's. If you build it with V6, if you use the min_dep project configuration you will statically link to the CRT's and no longer require that DLL. You can distribute that DLL with your ActiveX Control and put it in the same directory as your control and that should work. Later, Walter Sullivan Lead Program Manager, MFC/ATL