.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ObjectARX global functions

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
230 Views, 2 Replies

ObjectARX global functions

How can I access and call ObjectARX global functions from C# or other
.NET languages?
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous

Read this newsgroup. There are plenty of examples of using P/Invoke to access native API functions.

--
http://www.caddzone.com

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

"Gagan Gajabaharia" wrote in message news:5891282@discussion.autodesk.com...
How can I access and call ObjectARX global functions from C# or other
.NET languages?
Message 3 of 3
Anonymous
in reply to: Anonymous

Tony Tanzillo wrote:
> Read this newsgroup. There are plenty of examples of using P/Invoke to access native API functions.
>
Thanks, Tony.

Meanwhile I tried following way and it worked for me:

[DllImport("acad.exe", EntryPoint = "?acedbkblahblah@@XMANGLEDX")]
extern System::Int32 acedblahblah();

-Gagan

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost