Results 1 to 2 of 2

Thread: Change dll reference

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2003
    Location
    Indonesia
    Posts
    2

    Change dll reference

    I have a problem while using Active X dll. I've build my aplication into dll file. And then I referenced that file using VBA on AutoCAD application using Installshield setup.
    On the first running my application well running. But when I try to reinstall my application then error message appear "Automation Error" and then "Active X can't create Object". I look up to the reference, there is no problem about the directory where my dll file exist.
    This error also appear when I replace dll file from Explorer with the new one.
    How to solve this problem, please help me.

    Regard

    Nur Budi

  2. #2
    Addicted Member
    Join Date
    Feb 2003
    Posts
    237
    oghh I should have read this one first

    goto your top tool bar to Project =>project properties

    then goto component tab

    at the bottom make sure that project or binary compatability
    is set.

    it sounds like no compatability option is currently set

    to make it keep working now...you would have to manually re- register the dll everytime you update it..you do this by going to
    startbutton -> run

    then type "regsvr32 " then drag and drop dll into the textbox
    and hit return...message should show saying register successful

    but if you have project or binary compatability set you should not have to do this unless you add new classes to your dll

    once binary compatibility is set. you will not be able to add new functions to your classes or change argument numbers and types...so use project compatability until you are happy with with its layout
    Free Code, papers, tools, and more

    http://sandsprite.com

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