Re: activex as ui for com



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: MDI parent and child communication...??
    ... what is illustrated is that a parent carries a reference to its active ... child, and the child carries a reference to its parent, therefore when that ... > let me give my scenario, thru MDI parent i 'm selectin 3 raw images from the ... > objects of a child form with activex defined in it. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: activex as ui for com
    ... I have application which host that activex component which ... > You have an out-of-proc server which you want to also display ... Both lives in same parent process. ... >> messages with commands to that COM object. ...
    (microsoft.public.vc.atl)
  • Re: creating an activeX component at runtime
    ... I cannot find mutch on the web about this Invalid State of a component except that it is invalid. ... It cannot be difficult to create an ActiveX component at runtime? ... The second thing is that some ActiveX controls need to have a parent to work correct. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: links in help
    ... Ramesh, Microsoft MVP ... Windows XP Shell/User ... following ActiveX Controls are set the Kill-bit (the MS Updates sets ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Newbee Question: How to return an void* in a VARIANT parameter?
    ... with that void pointer and present them as a separate object ... Microsoft MVP, MCSD ... in order to make this dll useful to VB 6 applications. ... This value will be passed back to the activex to call other ...
    (microsoft.public.vc.atl)

Loading