Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 6.0 and TAPI 3.0
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
VFP 6.0 and TAPI 3.0
Miscellaneous
Thread ID:
00672630
Message ID:
00672630
Views:
84
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
Map
View

Click here to load this message in the networking platform