Re: activex as ui for com
- From: "Alexander Nickolov" <agnickolov@xxxxxxxx>
- Date: Fri, 18 Nov 2005 14:26:37 -0800
I guess I didn't understand your situation. I'm still not sure I
understand it correctly, but here's what I read from your post:
You have an out-of-proc server which you want to also display
UI indicating its status (or some such). Therefore, you want to
display a dialog, or some other top level window from your
server. In that case COM is irrelevant. You can display whatever
you want from your server process, though beware you can
have multiple objects exposed simultaneously, so don't put the
dialog (or watever) in the object itself. Another issue to be
aware of is that your server must be running in the interactive
windowstation, otherwise nobody will see your UI.
--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@xxxxxxxx
MVP VC FAQ: http://www.mvps.org/vcfaq
=====================================
"alojzy" <all@xxxxxxxxx> wrote in message
news:ejOpY3I7FHA.3684@xxxxxxxxxxxxxxxxxxxxxxx
> All I need is simple commands to be send from activex
> to COM object. Both lives in same parent process. Parent initialize
> COM, so I thought that activex which sits in parent could only send user
> defined
> messages with commands to that COM object.
> Without necessity usuing e.g sink between these two. (what advantage would
> be if any in such case?)
> thanks
>
> "Alexander Nickolov" <agnickolov@xxxxxxxx> wrote in message
> news:OHLCOhI7FHA.2012@xxxxxxxxxxxxxxxxxxxxxxx
>>I suppose you actually need an ActiveX Control (it's hard to tell
>> from your somewhat garbled post...). A rule of thumb to remember
>> is that messages should not be used together with COM method
>> calls, e.g. your protoicol should not mix COM with messages.
>> Using Windows messages as part of the implementation of a
>> COM object is perfectly fine, however, since it does not affect
>> its clients.
>>
>> --
>> =====================================
>> Alexander Nickolov
>> Microsoft MVP [VC], MCSD
>> email: agnickolov@xxxxxxxx
>> MVP VC FAQ: http://www.mvps.org/vcfaq
>> =====================================
>>
>> "alojzy" <all@xxxxxxxxx> wrote in message
>> news:%23ENc5AA7FHA.2524@xxxxxxxxxxxxxxxxxxxxxxx
>>> Hello,
>>> I need to create simple activex as a user interface for some COM
>>> component.
>>> What would be the most proper way, It would be nice to send just
>>> messages,
>>> can COM hadle messages when it doesn't have window? Or I have to create
>>> sink?
>>> COM is inprocess.
>>> thanks
>>>
>>
>>
>
>
.
- Follow-Ups:
- Re: activex as ui for com
- From: alojzy
- Re: activex as ui for com
- References:
- activex as ui for com
- From: alojzy
- Re: activex as ui for com
- From: Alexander Nickolov
- Re: activex as ui for com
- From: alojzy
- activex as ui for com
- Prev by Date: Re: activex as ui for com
- Next by Date: Re: activex as ui for com
- Previous by thread: Re: activex as ui for com
- Next by thread: Re: activex as ui for com
- Index(es):
Relevant Pages
|