exe/dll Compatible with v15 and v16

Discussion in 'AutoCAD' started by GTVic, Dec 6, 2004.

  1. GTVic

    GTVic Guest

    Has anyone successfully written a VB EXE or DLL that is compatible with both AutoCAD 2000/2000i/2002 and 2004/2005?

    Any things to watch out for?

    I assume the object libraries for 2004 and 2005 are one and the same so there should be no problem there correct?

    Greg
     
    GTVic, Dec 6, 2004
    #1
  2. GTVic

    Jorge Lopez Guest

    If you only use functions available to AutoCAD 2000 and late bind to
    everything (ie. declare all variables as Object) then it should work.

    - Jorge
     
    Jorge Lopez, Dec 6, 2004
    #2
  3. GTVic

    vb-Bla-Bla Guest

    yes I did and don't have any problem so far;
    debug your program with early binding(referencing to AutoCAD 2000/2002 etc.
    object library (ies) through "Reference..." option, then compile it with
    late binding. You shouldn't have any problems. I you whish to cover 14
    version too, you may need to create two objects (or classes) to cover
    differences between 14 and up object models


    both AutoCAD 2000/2000i/2002 and 2004/2005?
    there should be no problem there correct?
     
    vb-Bla-Bla, Dec 6, 2004
    #3
  4. GTVic

    GTVic Guest

    Thanks for the replies. What about the color property. There is a big difference between 2000 and 2004 with the way that is set?

    Greg
     
    GTVic, Dec 7, 2004
    #4
  5. The new property is TrueColor. The Color property is still available in 2004/2005. It is a hidden member.
    Regards - Nathan
     
    Nathan Taylor, Dec 7, 2004
    #5
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.