CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Posts
    21

    Using different dll versions on same pc

    I have an application on VC++ 4.0 using the crystal reports product that comes with it. If I install this application on another machine that has a newer version of crystal report?, will my application encounter problems?, and can I force my application to use the older dll versions on that pc, the ones that come with VC++ 4.0?

    Thanks for any help given...
    Jose


  2. #2
    Guest

    Re: Using different dll versions on same pc

    Windows locates DLLs in a particular order:
    already loaded
    current dir
    windows dir
    windows system dir
    the executable's dir
    the path

    If you actually have a problem, probably the easiest thing to do is to copy the DLLs needed by the old application to the directory you are running it from. This won't be perfect because if the DLL is already loaded (by a newer app), the loaded version will be used if it has the same internal name (but it might be good enough).

    In the long run, if it is possible, upgrading stuff tends to be the best approach (IMHO).



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