Click here to Skip to main content
15,915,873 members
Home / Discussions / Mobile
   

Mobile

 
GeneralRe: Command Executables - multiple forum post ! Pin
Garth J Lancaster19-Feb-10 22:44
professionalGarth J Lancaster19-Feb-10 22:44 
GeneralRe: Command Executables - multiple forum post ! Pin
Garth J Lancaster19-Feb-10 23:00
professionalGarth J Lancaster19-Feb-10 23:00 
GeneralBingo .... Pin
Garth J Lancaster19-Feb-10 23:16
professionalGarth J Lancaster19-Feb-10 23:16 
GeneralRe: Bingo .... Pin
EvanSaunders21-Feb-10 19:49
EvanSaunders21-Feb-10 19:49 
Questiondll register c# Pin
tchiloh18-Feb-10 23:50
tchiloh18-Feb-10 23:50 
AnswerRe: dll register c# Pin
Bob Hall5-Mar-10 4:01
Bob Hall5-Mar-10 4:01 
GeneralRe: dll register c# Pin
tchiloh5-Mar-10 4:11
tchiloh5-Mar-10 4:11 
QuestionHow to programaticaly switch from suspend mode to power on mode in windows mobile Pin
anuhoho17-Feb-10 1:08
anuhoho17-Feb-10 1:08 
Hi

I want to make an application which can detect when my device is going to the sleep mode and then it will immediately on the device. I tried a little bit but in vain

Let me show what i tried. Actually i am creating a thread which will try to detect when my device is going to the suspended state then it will try to power on .My logic is in this way but the functions i might be using may be a matter of concerned. Need guidance in that

In the WinAPI I am starting the thread
..
//Create a thread
	m_hThread = CreateThread(NULL, 0, ThreadProc, NULL, 0, NULL);
...



And in the thread function I am doing this

DWORD ThreadProc(LPVOID lpParameter)
{
    LPWSTR  pBuffer = NULL;
    PDWORD  pdwFlags = NULL ;
    DWORD iState = NULL;
	while(TRUE)
	{
      iState = GetSystemPowerState(pBuffer,sizeof(pBuffer),pdwFlags);
	  if(iState == POWER_STATE_SUSPEND)
	  {
         SetSystemPowerState(NULL,POWER_STATE_ON,POWER_FORCE);
          return 1;
	  }

	}
return 0;
}

Questionresize the toolbar Pin
AndreySol123415-Feb-10 20:54
AndreySol123415-Feb-10 20:54 
QuestionSending SMS using a device application in C#/VB.NET 2005 Pin
Vivek Vijayan13-Feb-10 22:08
Vivek Vijayan13-Feb-10 22:08 
QuestionSmsSendMessage use for MS sending in Pocket PC,what can use for Pc to Mobile? Pin
Le@rner12-Feb-10 18:27
Le@rner12-Feb-10 18:27 
AnswerRe: SmsSendMessage use for MS sending in Pocket PC,what can use for Pc to Mobile? Pin
Richard MacCutchan12-Feb-10 22:35
mveRichard MacCutchan12-Feb-10 22:35 
AnswerRe: SmsSendMessage use for MS sending in Pocket PC,what can use for Pc to Mobile? Pin
Bob Hall5-Mar-10 4:03
Bob Hall5-Mar-10 4:03 
QuestionHelp me SMS sender application. Pin
Le@rner12-Feb-10 17:32
Le@rner12-Feb-10 17:32 
QuestionUsing SQL CE on WinCE with C++ Pin
hairy_hats11-Feb-10 4:24
hairy_hats11-Feb-10 4:24 
AnswerRe: Using SQL CE on WinCE with C++ Pin
James Barwick21-Feb-10 17:27
James Barwick21-Feb-10 17:27 
Questionhow to get X and Y coordinate from GPS on Windows-Mobile 6.1 ? Pin
Gali197811-Feb-10 4:20
Gali197811-Feb-10 4:20 
AnswerRe: how to get X and Y coordinate from GPS on Windows-Mobile 6.1 ? Pin
KingsGambit14-Feb-10 18:28
KingsGambit14-Feb-10 18:28 
QuestionUnhiding (Showing) hidden form by launching application second time problem Pin
AdAilly9-Feb-10 13:42
AdAilly9-Feb-10 13:42 
QuestionSocket Communication over WiFi not working in Windows Mobile Pin
AmitDey8-Feb-10 21:16
AmitDey8-Feb-10 21:16 
AnswerRe: Socket Communication over WiFi not working in Windows Mobile Pin
Vivek Vijayan13-Feb-10 22:20
Vivek Vijayan13-Feb-10 22:20 
QuestionUnable open .ppt file programatily Pin
yrishi4-Feb-10 19:22
yrishi4-Feb-10 19:22 
AnswerRe: Unable open .ppt file programatily Pin
KingsGambit4-Feb-10 23:56
KingsGambit4-Feb-10 23:56 
GeneralRe: Unable open .ppt file programatily Pin
yrishi5-Feb-10 0:41
yrishi5-Feb-10 0:41 
QuestionCreating shortcuts in Windows CE? Pin
sysop@HAL9K.com4-Feb-10 5:03
sysop@HAL9K.com4-Feb-10 5:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.