Results 1 to 4 of 4

Thread: Updating a DLL only

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2001
    Posts
    2

    Question Updating a DLL only

    I have a project which is programmed in seperated dll's. Now, I want to update one dll but that seems impossible without updating the main exe. How can i update the dll only? Thanks for your help!

  2. #2
    Member IUnknown's Avatar
    Join Date
    May 2001
    Location
    Staffordshire, England
    Posts
    59
    Hi,
    This is the whole point of creating dll files so that you just replace the parts of the program as and when necessary.

    You should be able to simply replace the dll you need to with the new one as long as (very important this!!) you have preserved Binary Compatibility. What this means is that:
    a) you haven't removed or changed any of the dll's
    Methods/Propertys since the last version. (You may add too though!)
    and
    b) In your project properties, you have compatibility set to binary.

    If you try to compile a project that has been set to binary compatibility and it breaks it, then you will be warned by the compiler.

    IUnknown
    Using VB6.0 (sp5), SQL Server 2000, Visual Studio .Net

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2001
    Posts
    2
    I can't set project propeties to binary in a normal project. That's only possible when I set the project to an activeX exe, and that's not what I want.

    I want a standalone executable which uses dll's in references. But if I compile a new dll (not changed any methods) i get that annoying error message.

    Perhaps I do something wrong?

  4. #4
    Member IUnknown's Avatar
    Join Date
    May 2001
    Location
    Staffordshire, England
    Posts
    59
    ???

    You also get the option to set Binary Compatibility in ActiveX Dll projects.

    I assume the annoying message is 'Error:429 ActiveX can't create component'??

    IUnknown
    Using VB6.0 (sp5), SQL Server 2000, Visual Studio .Net

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