Automation and different AutoCAD version

Discussion in 'AutoCAD' started by Keven Corazza, Feb 18, 2004.

  1. Hi, I'm extending my simple CAD application with a dynamic connection with
    AutoCAD. I'm using Delphi and I've imported the TypeLibrary. All works fine,
    but my question is: I'm using the typelibrary of AutoCAD 2002, is this type
    library compatible with all AutoCAD versions ? I mean can I use my
    application with every type of AutoCAD (14, 2000, 2002, 2004 ) ?

    Thank you in advance.

    Keven Corazza
    SierraSoft
     
    Keven Corazza, Feb 18, 2004
    #1
  2. Tony Tanzillo, Feb 18, 2004
    #2
  3. Keven Corazza

    SpeedCAD Guest

    Hi...

    The type library of AutoCAD 2002 work for AutoCAD 2000 and 2000i. Not work for AutoCAD 2004 and AutoCAD 2005.

    You must make files DLLs with the library ;)
     
    SpeedCAD, Feb 18, 2004
    #3
  4. If you're using late binding, you can't mix type libraries
    I believe that would be "early binding"
    Using "late binding" you're able to use general "objects" and work with
    different acad versions
     
    Jorge Jimenez, Feb 18, 2004
    #4
  5. Tony Tanzillo, Feb 18, 2004
    #5
  6. Very well, but what's happen if, in the same PC, I have two different
    AutoCAD release installed ? Which AutoCAD will start when I start the
    automation ?

    Thank you in advance.

    Keven Corazza
    SierraSoft
     
    Keven Corazza, Feb 19, 2004
    #6
  7. You choose !

    Set AcadApp = CreateObject("AutoCAD.Application.15")
    or
    Set AcadApp = CreateObject("AutoCAD.Application.16")
     
    Jorge Jimenez, Feb 19, 2004
    #7
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.