dll question

Discussion in 'AutoCAD' started by Sa Mite Samite, Apr 6, 2004.

  1. I have a dll file that I've used in one of my exe project. I review some
    aspects of my dll component and I recompile it. Me exe file now gives me an
    error message like this:



    Run-time error '429':

    ActiveX component can't create object



    I know there is way of setting some properties either in dll or in the
    project to avoid this type of error, and can't find out where how. Can
    someone help me (tell me how) to setup dll or project properties, so dll
    file upgrade(s) will not require project recompilation?



    Thanks
     
    Sa Mite Samite, Apr 6, 2004
    #1
  2. This has been the bane of my existence for some time now. It was explained
    very nicely to me why it happens by Frank O but the long and short of it is
    that you have to reset the reference to your DLL since the unique ID has
    been modified. I've tried creating an add-in to clear missing references and
    reset them so I could at least be spared the process of doing this but the
    AutoCAD VBA IDE didn't want to perform the
    oVBIDE.ActiveVBProject.References.Remove method.

    Sorry I can't be of more help. Please let me know If you come up with a
    solution.

    Best regards,

    Dale
     
    Dale Levesque, Apr 6, 2004
    #2
  3. I was intensivelly testing all option under 'Project Properties' and, one
    option worked; although I don't know why anf how. Help on this VB topic
    ('Project Properties') is very poor and never get changes from VB 5th
    version.
    I change the 'Version Compatibility' option to 'Binary Compatibility' under
    the 'Component' tab. I would like to know the reason why "binary" works and
    "no compatibility" doesn't.
     
    Sa Mite Samite, Apr 7, 2004
    #3
  4. Sa Mite Samite, Apr 7, 2004
    #4
  5. Sa Mite Samite, Apr 7, 2004
    #5
  6. Dale Levesque, Apr 7, 2004
    #6
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.