H
Hassan Wasel
Hi Everybody,
I want to run a PocketPC 2003 application at the end of Active Sync
Connection. I wrote the following application to test this function
CeRunAppAtEvent(). I got no application at the end of sync.
// PDAClientRunSetter.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
#include <notify.h>
int WINAPI WinMain( HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
CeRunAppAtEvent(_T("\\Windows\\Calc.exe"),NOTIFICATION_EVENT_NONE);
return
CeRunAppAtEvent(_T("\\Windows\\CloseAS.exe"),NOTIFICATION_EVENT_SYNC_END);
}
Any comments will be highly apperiated.
Thanks in advance.
Hassan Wasel
I want to run a PocketPC 2003 application at the end of Active Sync
Connection. I wrote the following application to test this function
CeRunAppAtEvent(). I got no application at the end of sync.
// PDAClientRunSetter.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
#include <notify.h>
int WINAPI WinMain( HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
CeRunAppAtEvent(_T("\\Windows\\Calc.exe"),NOTIFICATION_EVENT_NONE);
return
CeRunAppAtEvent(_T("\\Windows\\CloseAS.exe"),NOTIFICATION_EVENT_SYNC_END);
}
Any comments will be highly apperiated.
Thanks in advance.
Hassan Wasel