Click to See Complete Forum and Search --> : MSVCRT.DLL problem


August 16th, 1999, 08:14 AM
How can i get the "MSVCRT.DLL" from the "user path" instead of getting always from "system32" path?

Eventhough i placed the standard dlls like "gdi32.dll","kernel32.dll","msvcrt.dll" in the "user path", my EXE is getting all these from "system32" only. Is it not possible to modify these dlls anyway?

thanks in advance,
srinivas
(kot_sr@hotmail.com)

Gordito
August 17th, 1999, 10:17 AM
I assume your problem is that the target computer for your application has an earlier version of the msvcrt.dll. According to Microsoft, you are free to redistribute the MFC and MSVCRT dll's.

If you are using the application setup wizard to distribute your app, what you can do is add the MSVCRT.DLL as a shared file and specify the system directory as the target location. Then if the user has an earlier version ... it will be updated. If you are using a version of VB earlier than 5.0, you should go to the lst file for your setup and make sure all the parameters are specified correctly ... such as shared file, dll self register, and sys path.

Gordito