.NET

Reply
*Tony Tanzillo
Message 1 of 3 (194 Views)

Call CWinApp::PumpMessage() from managed code?

194 Views, 2 Replies
06-18-2005 02:10 PM
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
*J. Daniel Smith
Message 2 of 3 (194 Views)

Re: Call CWinApp::PumpMessage() from managed code?

06-18-2005 02:27 PM in reply to: *Tony Tanzillo
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
*Tony Tanzillo
Message 3 of 3 (194 Views)

Re: Call CWinApp::PumpMessage() from managed code?

06-18-2005 08:01 PM in reply to: *Tony Tanzillo
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

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