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

Call CWinApp::PumpMessage() from managed code?

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

Call CWinApp::PumpMessage() from managed code?

Assuming I have a pointer returned by acedGetAcadWinApp(), is
there any way (short of an MC++ wrapper), to call this member
on the instance, from managed/unsafe C# ?

Everyone I've asked says "no". But, I'm not entirely convinced.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous

System.Runtime.InteropServices.CallingConvention.ThisCall looks promising, I
haven't actually used it myself.

Here's one example:
http://blogs.msdn.com/sanpil/archive/2004/07/07/175855.aspx; notice the use
of the mangled name. A Google search only returns a few hundred hits; from
that I would guess that most people use a MC++ wrapper.

Dan

"Tony Tanzillo" wrote in message
news:4878965@discussion.autodesk.com...
Assuming I have a pointer returned by acedGetAcadWinApp(), is
there any way (short of an MC++ wrapper), to call this member
on the instance, from managed/unsafe C# ?

Everyone I've asked says "no". But, I'm not entirely convinced.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com
Message 3 of 3
Anonymous
in reply to: Anonymous

Thanks for the tip, I'll have a look.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com

"J. Daniel Smith" wrote in message news:4878954@discussion.autodesk.com...
System.Runtime.InteropServices.CallingConvention.ThisCall looks promising, I
haven't actually used it myself.

Here's one example:
http://blogs.msdn.com/sanpil/archive/2004/07/07/175855.aspx; notice the use
of the mangled name. A Google search only returns a few hundred hits; from
that I would guess that most people use a MC++ wrapper.

Dan

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