Results 1 to 6 of 6

Thread: ActiveX Dll Question.

  1. #1

    Thread Starter
    Addicted Member slashandburn's Avatar
    Join Date
    Aug 1999
    Location
    Marietta, Ga
    Posts
    229

    ActiveX Dll Question.

    I just seperated my class components into their own activeX dll files, Thinking that i could update the DLL and not have to update the program for updates. But when i recompile the activex Dll and put it in the directory with the program it gives me an error "429 - ActiveX component can't create object". What do i have to do so that i can update the DLL without having to update my program code.

  2. #2

    Thread Starter
    Addicted Member slashandburn's Avatar
    Join Date
    Aug 1999
    Location
    Marietta, Ga
    Posts
    229
    Never mind, I fixed it, I found out that i had to set binary compatability.

  3. #3
    New Member
    Join Date
    Aug 2002
    Location
    Chihuahua
    Posts
    2
    Hi, there is a tutorial in this web called The COM course Part3. It explain to you how to solve this problem. In this moment, i can tell you that the problem is the way of compiled the Active X DLL.

    See you.......
    LSCA Javier Gutierrez

  4. #4
    New Member
    Join Date
    Aug 2002
    Posts
    3
    Hi slashandburn,
    what do you exactly mean by binary compatability.
    Becaus i have the same problem and i could not find any solution.
    THX.

  5. #5
    Hyperactive Member
    Join Date
    Mar 2002
    Location
    India
    Posts
    342
    Originally posted by HeM@n
    what do you exactly mean by binary compatability.
    Becaus i have the same problem and i could not find any solution.
    THX.
    in project properties..in Component Tab...u hav version compatibility options..

    if ur making a DLL for the First time.. u can set it to no compatibility or project compatibility.. but the next time u make DLL again (after changing the code in dll) .. u hav to set the option to Binary compatibility...
    ksm

  6. #6
    Frenzied Member swatty's Avatar
    Join Date
    Aug 2002
    Location
    somewhere on earth
    Posts
    1,478
    You can change a dll after distributing it.

    If it was compiled with binary compatibility on you can use the changed dll in the old program without any problems , this is if you take some notes in mind.

    The used functions subs may not be removed and the parameters may not change of them. You can change all of the code in the scope of the function , you can add parameters but then you have to put optional before the added params .

    This you can do with binary compatible on a dll.

    Related thread
    Last edited by swatty; Aug 14th, 2002 at 06:22 AM.
    Code:
    If Question = Incomplete Then
       AnswerNextOne
    Else
       ReplyIfKnown
    End If
    cu Swatty

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