This site is no longer active and is available for archival purposes only. Registration and login is disabled.

clock vs clock_t


clock vs clock_t

Postby russose » Apr 18, 2006 @ 9:36am

Hallo,

I have some „instability“ problems with my port of Blender. It seems that if I use the application clicking to fast on menus (like on a PC), it crashes… As if the PocketPC was missing some important messages of the event loop.

I changed in Blender code the timer. Instead of using ::clock() (Not supported for WinCE) to get milliseconds, I am using ::clock_t().

Do you know if that could be the cause of such random crashes? Maybe you know the best approach to set up precise timer?

Thanks for your help,
Salvatore
russose
pm Member
 
Posts: 15
Joined: Jan 19, 2006 @ 2:12pm


Postby fast_rx » Apr 18, 2006 @ 9:09pm

I thought clock_t was a structure, not a function.

Can you use GetTickCount() instead?
User avatar
fast_rx
pm Member
 
Posts: 660
Joined: Jun 10, 2003 @ 4:24pm


Postby russose » Apr 20, 2006 @ 5:14pm

Blender is now in your Pocket
http://russose.free.fr/
russose
pm Member
 
Posts: 15
Joined: Jan 19, 2006 @ 2:12pm


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron