Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #6822 > unrolled thread

COM Server Events

Started by"Jamal" <someone@example.com>
First post2014-04-30 19:13 -0400
Last post2014-05-15 18:11 +0100
Articles 7 — 3 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  COM Server Events "Jamal" <someone@example.com> - 2014-04-30 19:13 -0400
    Re: COM Server Events Carlos Rocha <FreeTheMusic@ascap.com> - 2014-05-01 01:28 +0100
      Re: COM Server Events "Jamal" <someone@example.com> - 2014-05-01 10:42 -0400
        Re: COM Server Events Carlos Rocha <FreeTheMusic@ascap.com> - 2014-05-01 17:04 +0100
          Re: COM Server Events "Jamal" <someone@example.com> - 2014-05-01 17:21 -0400
      Re: COM Server Events "Heiko J. Pongratz" <heiko.pongratz@ctsedv.de> - 2014-05-14 13:56 +0200
        Re: COM Server Events Carlos Rocha <FreeTheMusic@ascap.com> - 2014-05-15 18:11 +0100

#6822 — COM Server Events

From"Jamal" <someone@example.com>
Date2014-04-30 19:13 -0400
SubjectCOM Server Events
Message-ID<ljs023$65k$1@speranza.aioe.org>
I know this has been discussed in the NG before and it seems COMSDK  no 
longer works in VO 2.8x.

Is there an alternative to have a COM Automation Server catch its EVENTS?

Does VO 2.8 SP4b support this somehow?

Jamal

[toc] | [next] | [standalone]


#6823

FromCarlos Rocha <FreeTheMusic@ascap.com>
Date2014-05-01 01:28 +0100
Message-ID<ljs4ev$3tj$1@news.albasani.net>
In reply to#6822
Jamal has brought this to us :
> I know this has been discussed in the NG before and it seems COMSDK  no 
> longer works in VO 2.8x.
>
> Is there an alternative to have a COM Automation Server catch its EVENTS?
>
> Does VO 2.8 SP4b support this somehow?
>

I use VB6 for that, by wrapping the COM server within an ActiveX 
control.
VB6 receives the events and raises them back, and VO is able to catch 
them.

-- 
Carlos Rocha

---
Este email está livre de vírus e malware porque a proteção avast! Antivirus está ativa.
http://www.avast.com

[toc] | [prev] | [next] | [standalone]


#6825

From"Jamal" <someone@example.com>
Date2014-05-01 10:42 -0400
Message-ID<ljtmh0$tev$1@speranza.aioe.org>
In reply to#6823
Carols,

I have an ActiveX version of the control and I can place on a window, but 
though VO may have a way to handle COM Server.
May I'll just use the ActiveX on a hidden window and that would solve it.

Thanks!
Jamal

"Carlos Rocha"  wrote in message news:ljs4ev$3tj$1@news.albasani.net...

Jamal has brought this to us :
> I know this has been discussed in the NG before and it seems COMSDK  no 
> longer works in VO 2.8x.
>
> Is there an alternative to have a COM Automation Server catch its EVENTS?
>
> Does VO 2.8 SP4b support this somehow?
>

I use VB6 for that, by wrapping the COM server within an ActiveX
control.
VB6 receives the events and raises them back, and VO is able to catch
them.

-- 
Carlos Rocha

---
Este email está livre de vírus e malware porque a proteção avast! Antivirus 
está ativa.
http://www.avast.com 

[toc] | [prev] | [next] | [standalone]


#6826

FromCarlos Rocha <FreeTheMusic@ascap.com>
Date2014-05-01 17:04 +0100
Message-ID<ljtrai$uie$1@news.albasani.net>
In reply to#6825
Jamal,

> I have an ActiveX version of the control and I can place on a window, but 
> though VO may have a way to handle COM Server.
> May I'll just use the ActiveX on a hidden window and that would solve it.

You don't need to place it on a window. Use CreateEmbedding() and 
simply don't show it. I remember someone saying that he was able to put 
a stripped version of COMSDK to work. Maybe I'll try that one of these 
days.

-- 
Carlos Rocha

---
Este email está livre de vírus e malware porque a proteção avast! Antivirus está ativa.
http://www.avast.com

[toc] | [prev] | [next] | [standalone]


#6827

From"Jamal" <someone@example.com>
Date2014-05-01 17:21 -0400
Message-ID<ljuds5$qo6$1@speranza.aioe.org>
In reply to#6826
Carols,

I was hoping that I don't have to create a window and 
OLEControl:CreateEmbedding( ), however, I think this the way to proceed.

Thanks!
Jamal

"Carlos Rocha"  wrote in message news:ljtrai$uie$1@news.albasani.net...

Jamal,

> I have an ActiveX version of the control and I can place on a window, but 
> though VO may have a way to handle COM Server.
> May I'll just use the ActiveX on a hidden window and that would solve it.

You don't need to place it on a window. Use CreateEmbedding() and
simply don't show it. I remember someone saying that he was able to put
a stripped version of COMSDK to work. Maybe I'll try that one of these
days.

-- 
Carlos Rocha

---
Este email está livre de vírus e malware porque a proteção avast! Antivirus 
está ativa.
http://www.avast.com 

[toc] | [prev] | [next] | [standalone]


#6843

From"Heiko J. Pongratz" <heiko.pongratz@ctsedv.de>
Date2014-05-14 13:56 +0200
Message-ID<lkvlm3$u9m$1@dont-email.me>
In reply to#6823
Hello Carlos,

do you have an example for this? I mean an short VB6 example which 
communicates with VO and some code in VO to catch the raised event.

TIA

Heiko J. Pongratz



"Carlos Rocha"  schrieb im Newsbeitrag 
news:ljs4ev$3tj$1@news.albasani.net...

Jamal has brought this to us :
> I know this has been discussed in the NG before and it seems COMSDK  no 
> longer works in VO 2.8x.
>
> Is there an alternative to have a COM Automation Server catch its EVENTS?
>
> Does VO 2.8 SP4b support this somehow?
>

I use VB6 for that, by wrapping the COM server within an ActiveX
control.
VB6 receives the events and raises them back, and VO is able to catch
them.

-- 
Carlos Rocha

---
Este email está livre de vírus e malware porque a proteção avast! Antivirus 
está ativa.
http://www.avast.com 

[toc] | [prev] | [next] | [standalone]


#6847

FromCarlos Rocha <FreeTheMusic@ascap.com>
Date2014-05-15 18:11 +0100
Message-ID<ll2sh3$b4t$1@news.albasani.net>
In reply to#6843
Hi Heiko,

> do you have an example for this? I mean an short VB6 example which 
> communicates with VO and some code in VO to catch the raised event.

VB6 doesn't "communicate" with VO. As VO is only able to receive events 
from ActiveX controls, VB6 can be used to create an ActiveX control 
from the COM server, that's all.

I don't have anything ready, but if you can provide me the COM server I 
will try to make the wrapper, with comments in the code.

-- 
Carlos Rocha

---
Este email está livre de vírus e malware porque a proteção avast! Antivirus está ativa.
http://www.avast.com

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web