CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 48

Threaded View

  1. #14
    Join Date
    Jan 2013
    Lausanne, Switzerland

    Re: How to call Dialog window (formed as resource) from a .DLL

    Quote Originally Posted by VictorN View Post
    Pavel, the dialog constructor did accomplish his job.
    Perhaps DoModal() had some problems... What did it return?
    Of course, I've been mistaken ... Surely it's DoModal(), that causes problem. As I noted before, probably it cannot be used in my case ... So, the 1st solution, proposed by Igor (using Create function) probably is the only one. The "restart run" issue must be resolved for correct functionnality.

    Concerning return value, I can't get it, because the control isn't returned from it because the next message isn't displayed. Moreover, the CAD tool nomore controlled - only solution - go the task manager and close it there.


    Last edited by Pavel_47; January 20th, 2013 at 08:21 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.