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