How can I detect a incoming phone call and display the number on the screen using C++ program If possible send a code Jack
B
Bharat Gidde
@Bharat Gidde
Posts
-
Detecting the phone number from C++ -
Windows idle timeI am using Windows 2000 here is the snippet #include "stdafx.h" int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { LASTINPUTINFO plii; memset(&plii,0,sizeof(plii)); plii.cbSize = size(plii); if(GetLastInputInfo(&plii )) { //code here } return 0; } Even if I declare the LASTINPUTINFO structure in the header file its not working Sandy