Results 1 to 3 of 3

Thread: General question about dll's

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,091
    Hi,

    I asked this question earlier but didn't get a response so I thought I would try again by rephrasing my question..

    When you update/make changes to a dll file, is it okay to just overwrite the old dll file with the new one and expect any application which uses that dll to be able to use it as if it were the original dll?

    The reason I ask is that I ran into a situation where I created a dll file for my application. I tested it by calling it from my VB program and everything was okay. Then, I recompiled the dll file without even making changes and then all of a suden, my program refuses to use it..

    I'm guessing that every time you create a dll, it get's stamped with a unique number or something and that maybe the program is looking for a specific dll id number..

    So do I have to recompile the program every time I recompile a dll? That sounds really rediculous to me and I would hope that there is a way to do this without having to recompile the program..

    Any help or ideas would be greatly appreciated..

    Dan

  2. #2
    Guest

    Try this

    Try this, under project - properties - component tab, select the binary compatibility radio button before recompiling the DLL. Should have no hassles after that (won't have to recompile the calling program). I've been wrestling with the same thing the last few days with a DLL called from ASP. Let us know how that goes.

    [Edited by MadWorm on 11-15-2000 at 07:08 PM]

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,091
    Thanks! Will give it a shot and let you know how it goes..

    Dan

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