Can INPROC-Servers open dialogs?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Can INPROC-Servers open dialogs?

Carsten Haerle
Is it possible with Dolphin to write an INPROC-server COM-dll which can also
open dialogs? How does it work with the message queue which belongs to the
calling main process using the COM-dll?

Regards

Carsten Haerle


Reply | Threaded
Open this post in threaded view
|

Re: Can INPROC-Servers open dialogs?

Blair McGlashan-3
"Carsten Haerle" <[hidden email]> wrote in message
news:40e54bc4$0$181$[hidden email]...
> Is it possible with Dolphin to write an INPROC-server COM-dll which can
> also
> open dialogs? How does it work with the message queue which belongs to the
> calling main process using the COM-dll?

A Dolphin in-proc. COM server can do anything you want, for example it is
possible to run the entire development system as an in-proc server, with
this being a useful way to debug the component.

The Dolphin component is actually running on a separate thread, but the
caller will be blocked until its call returns as part of the standard COM
apartment threading model.

BTW: Did you get up and running under the AppVerifier?

Regards

Blair


Reply | Threaded
Open this post in threaded view
|

Re: Can INPROC-Servers open dialogs?

Don Rylander-3
In reply to this post by Carsten Haerle
Carsten,
"Carsten Haerle" <[hidden email]> wrote in message
news:40e54bc4$0$181$[hidden email]...
> Is it possible with Dolphin to write an INPROC-server COM-dll which can
also
> open dialogs? How does it work with the message queue which belongs to the
> calling main process using the COM-dll?

I ran into this when I build an in-process Outlook add in: the standard
in-process runtime session manager and stub files are intended for use
without a GUI.  For more info, check this link to google groups:
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=aj8d5c%24198k7l%241%40ID-50941.news.dfncis.de&rnum=2&prev=/groups%3Fq%3Dcomp.lang.smalltalk.dolphin%2Bgui%2Bprocess%2Bdll%26hl%3Den%26lr%3D%26ie%3DUTF-8%26selm%3Daj8d5c%2524198k7l%25241%2540ID-50941.news.dfncis.de%26rnum%3D2

It's pretty straightforward to get things working the way you want, and if
your application requires some unusual behavior, you shouldn't have to worry
about the message queue.

HTH,

Don

>
> Regards
>
> Carsten Haerle
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Can INPROC-Servers open dialogs?

Don Rylander-3
Drat.  Make that, "unless your application requires some unusual
behavior..."

Don