Re: COM object dialogs?
Alas, no. Property pages are designed to work in-process.
--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@mvps.org
MVP VC FAQ: http://www.mvps.org/vcfaq
=====================================
"Jason S" <jmsachs@gmail.com> wrote in message
news:1148329786.060812.79460@j33g2000cwa.googlegroups.com...
Argh, I hit a stumbling block. The fine print in the article
(http://msdn.microsoft.com/library/en-us/dncomg/html/comwatl.asp) I
mentioned says that IPropertyPage should be implemented by an
in-process object.
The main object I am controlling lives in an out-of-process (local)
server. I put my "config" object implementing IPropertyPage (a
completely separate object) in the same server. Works fine but I
noticed that my client program's window seems to freeze (& not redraw)
when it calls my main object's GUIConfig() method which then calls
OleCreatePropertyFrame to activate the config object.
is there a convenient way to deal with this issue? otherwise it looks
like I have to start a 2nd MSVC project to create the IPropertyPage
method in an in-process server, then distribute/debug/develop two
servers (one in-process, one local server)