TAPI givin link error
-
i m developing a small telephony app usig TAPI. to intitialoze tapi i have to get ITTAPI ptr. ITTAPI *gpTapi; HRESULT res = CoInitialize(NULL); CoCreateInstance(CLSID_TAPI,NULL,CLSCTX_INPROC_SERVER,IID_ITTAPI,(LPVOID *)&gpTapi); gpTapi->Initialize(); i have added tapi3.h and also give link to Uuid.lib. At compile time it gives no error but at link time it gives error "unresolved symbol _CLSID_TAPI" and same error for "IID_ITTAPI". any one hav idea wats hapening. how can i find CLSID for TAPI and IID for ITTAPI. plz help
-
i m developing a small telephony app usig TAPI. to intitialoze tapi i have to get ITTAPI ptr. ITTAPI *gpTapi; HRESULT res = CoInitialize(NULL); CoCreateInstance(CLSID_TAPI,NULL,CLSCTX_INPROC_SERVER,IID_ITTAPI,(LPVOID *)&gpTapi); gpTapi->Initialize(); i have added tapi3.h and also give link to Uuid.lib. At compile time it gives no error but at link time it gives error "unresolved symbol _CLSID_TAPI" and same error for "IID_ITTAPI". any one hav idea wats hapening. how can i find CLSID for TAPI and IID for ITTAPI. plz help