I am working with tapi 3 , Using Vc++6.0 and XP
Why do I get a error Like this-->
incoming.cpp(78) : error C2660: 'CreateCall' : function does not take 4 parameters
My code is.........
////////////////
BSTR bstrNumber;
ITAddress * pAddress = NULL;
ITBasicCallControl *pCallControl;
HRESULT hr;
bstrNumber = SysAllocString( L"9845550116" );
hr = pAddress->CreateCall(bstrNumber,LINEADDRESSTYPE_PHONENUMB ER ,TAPIMEDIATYPE_AUDIO,&pCallControl);
if ( SUCCEEDED(hr) )
DoMessage(L" CreateCall Succeeded");
pAddress->Release();
////////////////////////
I tried using the constant numbers of the LINEADDRESSTYPE_PHONENUMBER
& TAPIMEDIATYPE_AUDIO..
where is the problem?
I am a beginner to COM and tapi 3.