You could change the InitInstance() method in the app where the modal dialog is created to create a modeless dialog but not show it. However, ensure you return true if all goes well, else the application will not start.
Well, you cannot return multiple variables using reference (if the variables are objects) like in C++. You need to send back the multiple values in an array if all are the same type or as a Vector. You can do one step further if you want type safety. Create a value-holder class, instantiate it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.