If you look at notify.h, where CeRunAppAtTime is defined, you may notice that it is deprecated and not supported:
HANDLE CeSetUserNotification (HANDLE hNotification,
TCHAR *pwszAppName,
SYSTEMTIME *lpTime,
PCE_USER_NOTIFICATION
lpUserNotification);
BOOL CeRunAppAtTime (TCHAR *pwszAppName, SYSTEMTIME *lpTime);
BOOL CeRunAppAtEvent(TCHAR *pwszAppName, LONG lWhichEvent);
BOOL CeHandleAppNotifications (TCHAR *pwszAppName);
This may work even in most cases, but you are on your own.
Instead, it is recommended that you use CeSetUserNotificationEx.
source
share