Thanks for your important correction of my statement. That means, every 3 or
4 years, you most likely need to recompile your ObjectARX/.NET API app, if
you want them to run on latest Acad.
"Tony Tanzillo" wrote in message
news:5232759@discussion.autodesk.com...
"Norman Yuan" wrote
>> According to AutoDesk's document on ObjectARX, the general rule is that
>> ObjectARX programs compiled for older version of AutoCAD usually work
>> with
>> later version of AutoCAD (although not 100% garanteed), while programs
>> developed and compiled on later version will not run on older version of
>> AutoAD.
That's only the case when the releases are binary
compatible, as 2000 through 2002, and 2004 through
2006 are. AutoCAD 2007 is not binary compatible with
earlier releases so no ARX built for previous releases
will work.
.NET DLLs are just windows DLLs and unless they are
dependent on something specific in AutoCAD (such as
acmgd.dll, acdbmgd.dll, and so on), they will load into
any release of AutoCAD that provides a way to do that.
You can also have both .NET 1.1 and .NET 2.0 runtimes
loaded into the same process.
I suspect the OP was able to load the 2006 dll because
it was not referencing a release-dependent assembly,
or he only loaded it, but did not do anything that caused
any of those referenced assemblies to be loaded.
Remember that you can load a .NET assembly, without
loading its referenced assemblies (they are not loaded
until they are actually needed).
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006/2007
http://www.acadxtabs.com