Hi everybody,
1) I want to send a SMS message with the following code but it returns me an error on the Sendsms function.
what am i doing wrong?
I simply tried to use Sendsms like the (here commented) placeCall which perfectly works.
2) another problem : when I try to track the status of my calls with CallStatustoText i receive the error "identifier not found" ....where's the problem? Has anybody an example of how CallStatustoText should be used??
thanks in advance
#include "stdafx.h"
#import "Skype4COM.dll"
using namespace SKYPE4COMLib;
int main(void)
{
// Initialize COM
CoInitialize(NULL);
// Create object
ISkypePtr pSkype(__uuidof(Skype));
// Connect to API
pSkype->Attach(6,VARIANT_TRUE);
// Friends collection
IUserCollectionPtr pFriends = pSkype->GetFriends();
// ICallPtr pCall = pSkype->PlaceCall("+393xxxxxxx", "", "", "");
ISmsMessagePtr pSms = pSkype->SendSms("+39xxxxxx","msg text","+39xxxx");
// Cleanup
pFriends = NULL;
pSkype = NULL;
// Deinitialize COM
CoUninitialize();
system("PAUSE");
return 0;
}