single C++ .NET app exposed to ARX

single C++ .NET app exposed to ARX

Anonymous
Not applicable
226 Views
1 Reply
Message 1 of 2

single C++ .NET app exposed to ARX

Anonymous
Not applicable
I am curious if its possible to create a C++ .NET app and also have it exposed to the ARX objects as well...

I would like to use the windows .NET classes such as listbox and such, but use ARX directly without a wrapper like the managed classes in .NET.

I have been working with a VB.NET plotting application for some time but am having trouble with error handling and am becoming more certain that .NET wrapper does not properly raise exceptions from error codes in ARX.
0 Likes
227 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
>> I am curious if its possible to create a C++ .NET app and also have it exposed to the ARX objects as well...<<

You can build mixed-mode (managed/unmanaged) dlls
that use Managed C++ (or C++/CLI), along with native C++
that uses the native API. You can also use the native API in
managed C++/CLI via implicit P/Invoke.

>> I have been working with a VB.NET plotting application
>> for some time but am having trouble with error handling
>> and am becoming more certain that .NET wrapper does
>> not properly raise exceptions from error codes in ARX. <<

Could you be more specific?


--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com

wrote in message news:5775480@discussion.autodesk.com...
I am curious if its possible to create a C++ .NET app and also have it exposed to the ARX objects as well...

I would like to use the windows .NET classes such as listbox and such, but use ARX directly without a wrapper like the managed classes in .NET.
0 Likes