Any samples with VC++.NET

Any samples with VC++.NET

Anonymous
Not applicable
492 Views
2 Replies
Message 1 of 3

Any samples with VC++.NET

Anonymous
Not applicable
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.
0 Likes
493 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
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
0 Likes
Message 3 of 3

Anonymous
Not applicable
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
0 Likes