Updating DLL's !!!
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Updating DLL's !!!

  1. #1
    Join Date
    Oct 2000
    Posts
    2

    Updating DLL's !!!

    hi,

    i have a 3 tier app. made a project and loaded the client's machine with the new build. the respective DLL's files of the app got
    registered appropriately. Now, at my server end i have the same build running. my server having this app is also used for future enhancements to be made to the app. My question is if i modify the DLL files for some reason, i want to write a program that will tell the clients machine (which lies in the same geographic region) that the system needs to be upgraded to the new DLL upgrades.

    what is the best way to go about this problem ???

    Please give appropriate replies.
    thanks a ton.
    ccv






  2. #2
    Join Date
    Aug 2000
    Location
    KY
    Posts
    766

    Re: Updating DLL's !!!

    If you break compatibility with the interface implementation their will not be a need to write any code the client will break when it tries to access your dll. Try to add Methods and Properties so as not to break compatiblity and you should not have a problem with adding functionality.


  3. #3
    Join Date
    Apr 2000
    Location
    Houston, TX, USA
    Posts
    199

    Re: Updating DLL's !!!

    The best way that I can think of is every time that you DLL iniatilizes that you check a HTTP site (using the Internet Transfer Control or the API), or a socket on a server, and if the server tells you to alert the user to the new upgrade, and let them download your new install, and run it. They would have to shut down the app to do this though.... This would also require you to have a registered domain, and DNS set up as well, unless this is on an intranet.

    Tim Cartwright 'Will write code for food.
    Sr Systems Architect - Information Systems
    Splitrock Services Inc.
    Tim C.
    //Will write code for food

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center