.NET

Reply
Valued Contributor
dhimant.bhensdadia
Posts: 57
Registered: ‎04-18-2013
Message 1 of 3 (175 Views)

Reg. COM API vs .NET API

175 Views, 2 Replies
08-13-2013 09:40 PM

For AutoCAD customization we are working on both COM API & .NET API

 

Some of the difference I knew it but I want to know more so please

 

can any one tell me the difference(5 or 6) as much as possible between COM API & .NET API ?

 

If possilbe then please also post the Pros & Cons of both API.

ADN Support Specialist
fenton.webb
Posts: 352
Registered: ‎07-24-2007
Message 2 of 3 (109 Views)

Re: Reg. COM API vs .NET API

08-20-2013 05:44 PM in reply to: dhimant.bhensdadia

Honestly, there should be no selection process like this... The COM API is totally available from .NET, your selection should straight away be ".NET"

 

i recommend you use VB.NET, that way existing VBA code can be easily ported to run in VB.NET.

 

The COM API has functionality that the .NET API does not, and vice versa. You should embrace COM from your master VB.NET project workspace.

 

The main downside to using the COM API is that doing so ties your code to a specific processor type - in otherwords, you have to build specific x86 and x64 modules; whereas if you write pure .NET (with no references to COM) your modules are platform agnostic.

 

If you have any questions about what tools or apis to use, you should read my blog on "The Right tools for the job" http://adndevblog.typepad.com/autocad/2012/07/the-right-tools-for-the-job-autocad-part-1.html

 





Fenton Webb

Developer Technical Services

Autodesk Developer Network


Mentor
mzakiralam
Posts: 231
Registered: ‎11-09-2012
Message 3 of 3 (69 Views)

Re: Reg. COM API vs .NET API

08-27-2013 02:08 AM in reply to: dhimant.bhensdadia
you might get some information from here about COM vs .NET API:

http://through-the-interface.typepad.com/through_the_interface/2006/09/com_vs_net_in_a.html
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.