General information
Category:
COM/DCOM and OLE Automation
Title:
VFP 6.0 and TAPI 3.0
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.
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only