Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Carlos Alloatti
  Where is Carlos Alloatti?
 
 Argentina
 Carlos Alloatti
 Tags
Subject: FoxPro and TAPI 3 COM
Thread ID: 200095 Message ID: 200095 # Views: 36 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Active X Controls & OLE Automation
Date: Friday, October 24, 2008 10:39:44 PM         
   


Anyone has any experience using TAPI 3 in Visual Foxpro? I am trying to get the callerid data from a modem when there is an incoming call.

I already managed to do it "old school" with the mscomm control, but if I could do it using TAPI it would be great.

I have not found that much info about FoxPro and TAPI 3. I tried opening the Microsoft TAPI 3.0 type library in the object browser, I drag and drop the ITTAPI interface to a prg, and get:

x=NEWOBJECT("myclass")

DEFINE CLASS myclass AS session OLEPUBLIC

	IMPLEMENTS ITTAPI IN "TAPI3Lib.TAPI"
...


But when I run this I get "Type Library TAPI3Lib.TAPI not found"

The problem is:

I don't know anything about TAPI, COM, iDispatch, iUnknown, etc, etc, so I guess I have no hope of making this work right?

Is there any info, docs, faq, howto I could read about this that is not like reading ancient egyptian jeroglifics?

Deep down I suspect the whole COM business is an indescifrable mess, but maybe it´s just me.

---
Carlos Alloatti



COMPLETE THREAD
FoxPro and TAPI 3 COM Posted by Carlos Alloatti @ 10/24/2008 10:39:44 PM
RE: FoxPro and TAPI 3 COM Posted by Borislav Borissov @ 10/24/2008 11:08:15 PM