Click here to Skip to main content
15,909,896 members
Home / Discussions / C#
   

C#

 
GeneralRe: C#, Timer and GetTickCount on Compact Framework Pin
AlexB4725-Jan-07 22:30
AlexB4725-Jan-07 22:30 
GeneralRe: C#, Timer and GetTickCount on Compact Framework Pin
Stefan Troschuetz25-Jan-07 22:35
Stefan Troschuetz25-Jan-07 22:35 
GeneralRe: C#, Timer and GetTickCount on Compact Framework Pin
AlexB4725-Jan-07 22:40
AlexB4725-Jan-07 22:40 
GeneralRe: C#, Timer and GetTickCount on Compact Framework Pin
Stefan Troschuetz25-Jan-07 22:50
Stefan Troschuetz25-Jan-07 22:50 
GeneralRe: C#, Timer and GetTickCount on Compact Framework Pin
abalbo28-Jan-07 1:19
abalbo28-Jan-07 1:19 
AnswerRe: C#, Timer and GetTickCount on Compact Framework Pin
Luc Pattyn26-Jan-07 0:16
sitebuilderLuc Pattyn26-Jan-07 0:16 
GeneralRe: C#, Timer and GetTickCount on Compact Framework Pin
abalbo26-Jan-07 23:29
abalbo26-Jan-07 23:29 
GeneralRe: C#, Timer and GetTickCount on Compact Framework Pin
Luc Pattyn27-Jan-07 1:43
sitebuilderLuc Pattyn27-Jan-07 1:43 
You should read my previous post again,
then try my code snippet on your system.

It would be completely wrong to expect DateTime.Ticks to increment by 1,
on my system it increments by 156250, and maybe on a portable system
it increments by 10000000 (maybe there is only one clock tick per second "to preserve power").

There is nothing in the MSDN help that specifies one or the other; this is unfortunate.

If you have any kind of performance counter available (maybe the one in .NET 2.0,
otherwise the native Win32 one), then that one will give you the best results.

I do not know whether .NET Compact is capable of handling sub-second intervals, I hope it does.

Smile | :)


Luc Pattyn

QuestionHow can I get Combobox Selected ValueMember [modified] Pin
dataminers25-Jan-07 21:35
dataminers25-Jan-07 21:35 
AnswerRe: How can I get Combobox Selected ValueMember Pin
baerten26-Jan-07 0:21
baerten26-Jan-07 0:21 
QuestionAbout the new keyword Pin
Loophole25-Jan-07 21:29
Loophole25-Jan-07 21:29 
AnswerRe: About the new keyword Pin
Martin#25-Jan-07 21:44
Martin#25-Jan-07 21:44 
GeneralRe: About the new keyword Pin
Loophole26-Jan-07 1:22
Loophole26-Jan-07 1:22 
AnswerRe: About the new keyword Pin
ShermansLagoon25-Jan-07 21:47
ShermansLagoon25-Jan-07 21:47 
JokeRe: About the new keyword Pin
Martin#25-Jan-07 21:59
Martin#25-Jan-07 21:59 
GeneralRe: About the new keyword Pin
Loophole26-Jan-07 1:19
Loophole26-Jan-07 1:19 
GeneralRe: About the new keyword Pin
ShermansLagoon26-Jan-07 4:49
ShermansLagoon26-Jan-07 4:49 
AnswerRe: About the new keyword Pin
Christian Graus25-Jan-07 23:05
protectorChristian Graus25-Jan-07 23:05 
Questionhow to open single form? Pin
Sanjib Raj25-Jan-07 20:34
Sanjib Raj25-Jan-07 20:34 
AnswerRe: how to open single form? Pin
mihksoft25-Jan-07 20:50
mihksoft25-Jan-07 20:50 
AnswerRe: how to open single form? Pin
Martin#25-Jan-07 20:54
Martin#25-Jan-07 20:54 
GeneralRe: how to open single form? Pin
Sanjib Raj25-Jan-07 22:02
Sanjib Raj25-Jan-07 22:02 
GeneralRe: how to open single form? Pin
Martin#25-Jan-07 22:16
Martin#25-Jan-07 22:16 
AnswerRe: how to open single form? Pin
Luc Pattyn26-Jan-07 0:03
sitebuilderLuc Pattyn26-Jan-07 0:03 
QuestionSuggetion needed about StreamWriter Class Pin
Saira Tanwir25-Jan-07 20:15
Saira Tanwir25-Jan-07 20:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.