Hi all,
The project created is in win32 console programming
I have written this code
#include
"stdafx.h"#include <windows.h>
#include
<commctrl.h>#include <phone.h>
//this is the main entry point for the application
int
_tmain(int argc, _TCHAR* argv[]){
PHONEMAKECALLINFO info;
memset(&info 0, sizeof(info));
mci.cbSize = sizeof(info);
info.dwFlags = PMCF_PROMPTBEFORECALLING;
info.pszDestAddress = TEXT ("+1234567890");
PhoneMakeCall(info);
return 0;
}
The code is givving the following error
Error 1 error C2664: 'PhoneMakeCall' : cannot convert parameter 1 from 'PHONEMAKECALLINFO' to 'PHONEMAKECALLINFO *
As i am new to the evcpp programming i am not able to figure what is wrong with this code

Phone call in evc++ vs2005
bear007
Use like this
PhoneMakeCall(&info);
Chris Duxbury
Hi all,
First of all thanks to all those who had a look into it and also to SaravananVV .
But actually it was not only the way of passing of the parameters it was also to do with the loading of that particular library.
I again googled whole of the content (error ) and came to the following link
1 > http://www.codecomments.com/archive329-2006-1-780331.html
Use this link , the person has posted a different problem but the person but atleast we had the common problem
2 > The line that helped me is
Specify phone.lib in the linker inputs in the project proeprties
again thankx to this group and aslo to Alex Feinman [MVP] (in the other site ) for his contibution
bye
neha