Menus make things go faster! Why?



I'm writing an app that rotates a 3D image on a PocketPC. I'm using native
drawing functions - no fancy OpenGL or anything like that. However, I
notice the rotation is incredibly slow and not very smooth when running in
debug mode on the emulator (eMbedded Visual C++ 4.0 / Pocket PC 2003
Emulator). The image refreshes at a rate of about every 500 msec, sometimes
a little faster, sometimes a lot slower.

Release mode helps only slightly - making things refresh at around 400 msec
and it is a bit more consistent.

Here's the strange part... when I open the app's "File" menu on the
emulator, my animation immediately kicks into fulls speed (moving really,
really fast and very smooth). Refresh time is at about 20 msec - which is
what I expect out of the code.

Questions:
What is going on here such that opening a menu on the emulator makes the app
run at proper speeds?
How can I get this application speed all the time during debugging (without
making a menu cover it up)?

Thx,

- M


.



Relevant Pages

  • Re: Menus make things go faster! Why?
    ... The likely culprit is that you're using the emulator. ... Refresh time is at about 20 msec - which is ... > app run at proper speeds? ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: Help With Basic Windows Mobile App
    ... I'm appreciative of your help and I don't like scope creep, but I'm having issues with my 6.0 Pro Emulator. ... "\MilkMonitor.sdf" to find the file in the same folder as the app, ... Private Const DB_CONNECTION_STRING As String = "Data ... The sdf file is there in the app folder, so I know it got deployed, but the application just doesn't see it, even if I execute the deployed app directly from the emulator and not in VS debug mode. ...
    (microsoft.public.sqlserver.ce)
  • Re: Help With Basic Windows Mobile App
    ... If your app folder is Program ... I've since inspected the app directory on the emulator. ... read where I should be manually copying the sdf file, ...
    (microsoft.public.sqlserver.ce)
  • Re: Help With Basic Windows Mobile App
    ... "\MilkMonitor.sdf" to find the file in the same folder as the app, ... Private Const DB_CONNECTION_STRING As String = "Data ... The sdf file is there in the app folder, so I know it got deployed, but the application just doesn't see it, even if I execute the deployed app directly from the emulator and not in VS debug mode. ...
    (microsoft.public.sqlserver.ce)
  • Re: Having to restart the emulator
    ... Stuart Celarier, Fern Creek ... Having to restart the emulator ... Can you confirm if there is a sentence "share violation" shown ... >I am pretty certain that I use to launch the emulator for a PPC app by ...
    (microsoft.public.dotnet.framework.compactframework)