Active Member
Posts: 8
Registered: ‎08-07-2009
Message 1 of 1 (199 Views)

How to open Modal MFC dialog in Managed C++

199 Views, 0 Replies
06-12-2012 03:18 PM


I have a simple mix-managed project, in which one managed and one unmanaged command is created. A simple Dialog derived from CAcUiDialog is added to the project. Both commands, create and show that dialog modelessly, and it works fine.

But when I change the code to create the dialog using DoModal() in both commands, the dialog shows for unmanaged command, but upon running the managed command, Autocad stalls.

How can I create a Modal unmanaged dialog in Managed command?

With thanks in advance



Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.