Board index » cppbuilder » TAPI Linker problem

TAPI Linker problem


2005-03-17 03:55:48 PM
cppbuilder48
hi there,
I recently started with TAPI, and tried to run the first example
// Initialize COM
CoInitializeEx(
NULL,
COINIT_MULTITHREADED
);
// Create a TAPI entry point object.
CoCreateInstance(
CLSID_TAPI,
NULL,
CLSCTX_INPROC_SERVER,
IID_ITTAPI,
(LPVOID *)&gpTapi
);
// Initialize TAPI
if(gpTapi->Initialize() == S_OK)
ShowMessage("Got it");
else
ShowMessage("Will get it");
now this is giving me a Linker error
[Linker Error] Unresolved external '_IID_ITTAPI' referenced from
E:\PRJ\CBUILDER\TAPI\FIRST\UNIT1.OBJ
I tried fiinding some solutions, but no answer
any suggestions where can i find the Defination of GUID 'IID_ITTAPI' ??
thank you
 
 

Re:TAPI Linker problem

"hack_tick" < XXXX@XXXXX.COM >wrote in message
Quote
hi there,
[...]
now this is giving me a Linker error
[Linker Error] Unresolved external '_IID_ITTAPI' referenced from
E:\PRJ\CBUILDER\TAPI\FIRST\UNIT1.OBJ

I tried fiinding some solutions, but no answer
I manually put this GUID
const IID IID_ITTAPI =
{0xB1EFC382,0x9355,0x11d0,{0x83,0x5C,0x00,0xAA,0x00,0x3C,0xCA,0xBD}};