|
DiegoC wrote:
> I have built a COM server with DolphinXP 5.4.1, everything works fine
> until I need to show any window. I have a small interface of only 3
> methods, and I'am sure that works fine, but if I try something like "Shell
> show" in the implementation it doesn't works. It looks like a COM problem,
> something I'am missing. Any help?
There was a conversation on this subject some time ago. If you can find the
thread in the archives with the title "Problem loading deployed in-process app"
then that should reveal all. As far as I can tell Google has managed to loose
that thread[*], but it is in Ian's archive.
([*] yet another of the little fuck-ups which are becoming so routine from
Google)
The central post was from Blair, which I'll quote below.
-- chris
=== quote from the 2002-08-08 message from Blair ===
When deploying as a DLL the default SessionManager is AXDllSessionManager,
which is not a subclass of GUISessionManager, and does not contain the
necessary glue to initialize the windowing system. Hence when you try to
open a window in your DLL it fails. The easiest way to achieve what you are
trying to do is probably to add a custom subclass of GUISessionManager which
selectively overrides SessionManager messages in the same way that
AXDllSessionManager does, with the obvious exception of #startUI which
should use the GUISessionManager implementation.
==========
|