Re: activex as ui for com



Well not really. I have application which host that activex component which
is supposed to send command (like start,stop etc) to the COM which can be
activated also by that application. So my concern is only comminucation
between the activex and COM, if I can do it by e.g (SendMessage api) or
better way
is using sink.


"Alexander Nickolov" <agnickolov@xxxxxxxx> wrote in message
news:%23axPl8I7FHA.2264@xxxxxxxxxxxxxxxxxxxxxxx
>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
>>>>
>>>
>>>
>>
>>
>
>


.



Relevant Pages

  • Re: activex as ui for com
    ... You have an out-of-proc server which you want to also display ... Both lives in same parent process. ... so I thought that activex which sits in parent could only send user ... >>> can COM hadle messages when it doesn't have window? ...
    (microsoft.public.vc.atl)
  • Re: activex as ui for com
    ... All I need is simple commands to be send from activex ... Both lives in same parent process. ... so I thought that activex which sits in parent could only send user ... > Microsoft MVP, MCSD ...
    (microsoft.public.vc.atl)
  • Re: Windows Update - will not Error 0x80080004
    ... Yes I did run those specific commands. ... Did you run the following specific regsvr32 commands? ... >> online virus scan from Symantec, and it comes up with ActiveX Control ...
    (microsoft.public.windowsupdate)
  • Re: CORRECTED TEST AND ANSWERS.
    ... What is version compatibility option useful for? ... Why can't an in-process ActiveX server be compiled as an EXE. ... the instance that oneObj currently references too. ...
    (microsoft.public.vb.general.discussion)
  • Re: ActiveX control and Authorization issue
    ... security settings the way you do in standalone apps. ... > I am running a DCOM server on Win XP Pro, developed with VC++ 6, MFC. ... My typical client setup makes the SAME CALL to ... This has always worked until I wrote an ActiveX ...
    (microsoft.public.win32.programmer.ole)

Loading