开发者

Windows Mobile 6 Capture Image after specified interval

开发者 https://www.devze.com 2023-03-13 08:39 出处:网络
I need to capture image from Windows Mobile PDA after specified interval.. Kindly tell me any code... I tried so many forums but didn\'t found any working solution:开发者_StackOverflow中文版sIt\'s no

I need to capture image from Windows Mobile PDA after specified interval..

Kindly tell me any code... I tried so many forums but didn't found any working solution:开发者_StackOverflow中文版s


It's not a tested solution, but I believe this should do the trick.

In your main program

  • Create a timer thread.
  • Launch a camera capture dialog.
  • Use the FindWindow to find the window handle to the camera capture dialog.
  • Fake the needed keypress to save the image with PostKeybdMessage(typical will be left soft menu to take picture, then left soft menu to dismiss camera dialog).
  • Retrieve filename from the camera capture dialog.

I'll advice you to use Windows Mobile Professional to avoid problems with security.

0

精彩评论

暂无评论...
验证码 换一张
取 消