exe/dll Compatible with v15 and v16
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
exe/dll Compatible with v15 and v16

 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA
Author Message
GTVic
Guest





Posted: Tue Dec 07, 2004 3:39 am    Post subject: exe/dll Compatible with v15 and v16 Reply with quote

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

Back to top
Jorge Lopez
Guest





Posted: Tue Dec 07, 2004 3:47 am    Post subject: Re: exe/dll Compatible with v15 and v16 Reply with quote

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


"GTVic" <nospam@address.withheld> wrote in message
news:30695644.1102372800292.JavaMail.jive@jiveforum1.autodesk.com...
Quote:
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
Back to top
vb-Bla-Bla
Guest





Posted: Tue Dec 07, 2004 3:53 am    Post subject: Re: exe/dll Compatible with v15 and v16 Reply with quote

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


"GTVic" <nospam@address.withheld> wrote in message
news:30695644.1102372800292.JavaMail.jive@jiveforum1.autodesk.com...
Quote:
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


Back to top
GTVic
Guest





Posted: Tue Dec 07, 2004 7:04 am    Post subject: Re: exe/dll Compatible with v15 and v16 Reply with quote

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
Back to top
Nathan Taylor
Guest





Posted: Tue Dec 07, 2004 7:33 am    Post subject: Re: exe/dll Compatible with v15 and v16 Reply with quote

The new property is TrueColor. The Color property is still available in 2004/2005. It is a hidden member.
Regards - Nathan
Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB