CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    MSVCRT.DLL problem

    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
    ([email protected])


  2. #2
    Join Date
    Nov 1998
    Posts
    9

    Re: MSVCRT.DLL problem

    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


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured