PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD8] ConnectionPoint in WinDev (COM)
[WD8] ConnectionPoint in WinDev (COM)
Iniciado por Eric Dallaire, 07,jun. 2004 16:22 - No hay respuesta
Publicado el 07,junio 2004 - 16:22
How can i make a ConnectionPoint on a Component Object Model (COM) whit WinDev?

In one of my project i use the Win XP/NT FAX whit the help of the
Fax Service Extended COM.
http://msdn.microsoft.com/library/default.asp…

Whit a OLE dynamic object in WinDev i declare a FaxServer object
like this:

FaxServer=new objet OLE "FaxComEx.FaxServer"

And i can use a method of the Fax Service Extended COM like this:

FaxServer>>Connect(ServerName)

The problem is when i want to be alerted when a new fax is received. First
i have to tell the FaxServer that i want to be noticed whit the method ListenToServerEvents()
http://msdn.microsoft.com/library/default.asp…

FaxServer>>ListenToServerEvents(EventsToListen)

But after that i have to make what they call a ConnectionPoint so that the
FaxServer will call my method whit the help of the IFaxServerNotify interface.
http://msdn.microsoft.com/library/default.asp….

If someone here know how to make a ConnectionPoint in WinDev please let
me know. Thanks in advance...