Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 6.0 and TAPI 3.0
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
VFP 6.0 and TAPI 3.0
Divers
Thread ID:
00672630
Message ID:
00672630
Vues:
85
Vfp 6.0 and TAPI 3.0

I’m trying to Register a FoxPro object as an event Handler for a TAPI address.

My code looks like

llOwner = .T.
llMonitor = .F.
lnMediaTypes = 0x8 && Audio Only
lnCallbackInstance = 1

lnRegistrationToken = goTapi.RegisterCallNotifications( ;
goAddress, llMonitor, llOwner, lnMediaTypes, lnCallbackInstance )

goAddress is a valid TAPI address object.

I have used the VfpCom BindEvents method to bind a TAPI event handler to the goTapi object.

The RegisterCallNotifications call fails with an error, "OLE error code 0x80080004: There is no connection for this connection id"

This code is based on the snippets provided by Microsoft in the MSDN library. I had to adapt it from the VB code.

tia.
Répondre
Fil
Voir

Click here to load this message in the networking platform