Hello all,
Could anybody show me how to use timeSetEvent() in pocket pc 2003 se envrionment I tried the following call and expected my timerCB() function would be called every 5 seconds. But when I debug my program in emulator, I found timerCB will be called with a very small period (much less than 5s).
timeSetEvent(5000,50,timerCb,0,TIME_PERIODIC | TIME_CALLBACK_FUNCTION);
Would you help me to solve this problem Thanks in advance.

What's wrong with my timeSetEvent() call
Soumyp
Bathisar
Hello,
Did you by any chance missed getting id from the timeSetEvent and checking it in the timerCb function
timeSetEvent function returns a non-zero id on success and this id is passed in the timerCb function.
-Thanks,
Mohit
Wowbagger_TIP
The best reply to a query should be marked as asnwered
Thanks
Srikanth