.NET

Reply
Valued Contributor
Posts: 64
Registered: ‎05-05-2004
Message 1 of 3 (48 Views)

Any samples with VC++.NET

48 Views, 2 Replies
11-03-2005 07:40 PM
I would like to try the .NET api using C++, becuae I don't have c# or VB.NET. I am pretty new to .NET, so that's part of the reason I am somewhat confused.

All the samples from Autodesk are in c# or VB.NET. I know the principles are supposed to be the same, but I am having a hard time getting anything to build properly.

Would anybody be willing to share a simple VC++.NET solution so I could take a look at it? Nothing elaborate, just something that draws some lines or something. I would just like to see how the solution is structured and where all the relevant Acad specific stuff needs to go. The docs don't really explain the process for newbies like me.

Thanks in advance.
Distinguished Contributor
Posts: 311
Registered: ‎07-29-2004
Message 2 of 3 (48 Views)

Re: Any samples with VC++.NET

11-04-2005 05:22 AM in reply to: Matt S
The dotnet api is just a wrapper around the ObjectARX API.
If you are using C++ you can use ObjectArx directly.

If you want to use managed C++, then check out the managed debug sample that Jim Awe posted in this newsgroup.
http://discussion.autodesk.com/thread.jspa?messageID=4907654

Chris Arps
*J. Daniel Smith
Message 3 of 3 (48 Views)

Re: Any samples with VC++.NET

11-04-2005 06:43 AM in reply to: Matt S
The managed API is perhaps a bit friendlier than ObjectARX--even for C++
developers. Not to mention that you get the benefits of using managed code.

With C++ you can have your cake and eat it too: use the managed API most of
the time, but ObjectARX is readily available when needed for things like
custom objects.

Dan

wrote in message news:5003820@discussion.autodesk.com...
The dotnet api is just a wrapper around the ObjectARX API.
If you are using C++ you can use ObjectArx directly.

If you want to use managed C++, then check out the managed debug sample that
Jim Awe posted in this newsgroup.
http://discussion.autodesk.com/thread.jspa?messageID=4907654

Chris Arps

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community