Results 1 to 10 of 10

Thread: activex dll (a tough one)

  1. #1

    Thread Starter
    Member
    Join Date
    May 2000
    Posts
    56
    We use activex documents (activex dll) as graphical tools.....


    It works fine stand alone, on the network too, but when comes the time to update (vhenge of version) , if there is a break in the compatibility (even if binary compatibility is selected) , everything turns bad.......


    THe only way to get out of this mess (the only that i know) is "format c:".....


    Is there anybody who could give me some clues?

    if there is no break in the compatibility, the updates are ok....

    I've tried to unregister the activex dll, remove a lot of things on the pc that seemed to be linked to it, but nothing worked.....


    I Really need help !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!



  2. #2
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238
    At the very begining you need to set your ActiveX dll to be Binary compatibility through the

    -> Project Properties
    -> Component
    -> Version Compatibility
    -> and choose the Binary Compatibility radio button.


  3. #3

    Thread Starter
    Member
    Join Date
    May 2000
    Posts
    56

    Question

    I've made it, but it seems that even if it is set to binary compatibility, if you make a major change (like removing a class from the project), even binary compatibility is broken.......

    Do you know how to "clean" the client p without having to resintall all the workstation ?


    thank you chris

  4. #4
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238
    May I know, do you set the Binary Compatibility at your very first ActiveX Dll? If yes, then should be any problem rite.

    If not, then may be you need to recompile a new ActiveX Dll will your latest source (Break the Binary Compatibilty) then recompile second time with the Binary Compatibility set to true.

    But, on the client site, he/she need to unregister the old ActiveX Dll and over write with the latest copy & register it again.

    hope this can help you.

  5. #5

    Thread Starter
    Member
    Join Date
    May 2000
    Posts
    56
    no chris, i haven't set the binary compatibility on the first time i've installed........


    For the client post, even if i unregister/re-register the dll it seems to have some sh%$? remaining on the registry or a file maybe ?




  6. #6
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238

    Lightbulb Recompile your source code.

    Then, you need to recompile your source code by re-reference the ActiveX Dll in your project reference. To do this you need to

    1. Remove the ActiveX Dll in your project reference.
    2. Unregister the ActiveX Dll on your Development PC.
    3. Reregister the ActiveX Dll on your Development PC.
    4. Re-reference the ActiveX Dll into your project reference.
    5. Recompile the source code.
    6. That will resolve your problem (I think So, cause I did it before.)




  7. #7

    Thread Starter
    Member
    Join Date
    May 2000
    Posts
    56
    Thank you Chris,

    I'll try this one tomorrow morning at the office.....


    Do you want some feedback ?

  8. #8
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238

    Smile

    yup, just waant to know whether the Bugs is successfully KILL

  9. #9

    Thread Starter
    Member
    Join Date
    May 2000
    Posts
    56

    Thumbs up

    ok tomorrow after work !



  10. #10
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238

    Smile

    No problem see again! ciao.

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