Click here to Skip to main content
15,916,683 members
Home / Discussions / C#
   

C#

 
GeneralRe: .Net Client app holding socket... Pin
Jason Weibel29-Sep-05 6:02
Jason Weibel29-Sep-05 6:02 
GeneralRe: .Net Client app holding socket... Pin
leppie29-Sep-05 6:13
leppie29-Sep-05 6:13 
GeneralRe: .Net Client app holding socket... Pin
Jason Weibel29-Sep-05 6:16
Jason Weibel29-Sep-05 6:16 
GeneralRe: .Net Client app holding socket... Pin
leppie29-Sep-05 6:43
leppie29-Sep-05 6:43 
GeneralRe: .Net Client app holding socket... Pin
Jason Weibel29-Sep-05 7:54
Jason Weibel29-Sep-05 7:54 
QuestionTimer that simply records the duration of a process Pin
thepolishguy29-Sep-05 4:22
thepolishguy29-Sep-05 4:22 
AnswerRe: Timer that simply records the duration of a process Pin
Ashok Dhamija29-Sep-05 4:53
Ashok Dhamija29-Sep-05 4:53 
AnswerRe: Timer that simply records the duration of a process Pin
Dave Kreskowiak29-Sep-05 8:10
mveDave Kreskowiak29-Sep-05 8:10 
Contrary to what Ashok told you, DON'T use the Timer control. It's resolution is not guaranteed below 15 milliseconds.

You have a couple of problems...

First, are you going to be able to repaint your data every 10 milliseconds AND monitor your process? Not likely. Repainting is slow...

Second, To get the time resolution you want, you really need to use a high resolution timer that is accessed through the QueryPerformanceCounter API. Search the articles for "high resolution timer" and you'll find a bunch of examples and class libraries demonstrating this.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

QuestionTest for Interface? Pin
Russell Jones29-Sep-05 3:43
Russell Jones29-Sep-05 3:43 
AnswerRe: Test for Interface? Pin
Stefan Troschuetz29-Sep-05 4:54
Stefan Troschuetz29-Sep-05 4:54 
GeneralRe: Test for Interface? Pin
Anonymous29-Sep-05 6:16
Anonymous29-Sep-05 6:16 
QuestionDetect running threads Pin
WillemM29-Sep-05 3:20
WillemM29-Sep-05 3:20 
AnswerRe: Detect running threads Pin
Tom Larsen29-Sep-05 9:43
Tom Larsen29-Sep-05 9:43 
GeneralRe: Detect running threads Pin
WillemM29-Sep-05 20:50
WillemM29-Sep-05 20:50 
QuestionTroubles with parsing data from on function to another Pin
Yannielsen29-Sep-05 2:01
Yannielsen29-Sep-05 2:01 
AnswerRe: Troubles with parsing data from on function to another Pin
Guffa29-Sep-05 6:43
Guffa29-Sep-05 6:43 
Questioncreate a Divx player Pin
Sasuko29-Sep-05 1:40
Sasuko29-Sep-05 1:40 
QuestionCOM and COM+ in C# Pin
mohd rafi28-Sep-05 23:34
mohd rafi28-Sep-05 23:34 
AnswerRe: COM and COM+ in C# Pin
Mohamad Al Husseiny29-Sep-05 8:51
Mohamad Al Husseiny29-Sep-05 8:51 
Questionconnect to Mobile Device through bluetooth Pin
Member 231569328-Sep-05 22:55
Member 231569328-Sep-05 22:55 
Questionstarted thread to wait till the other thread finishes Pin
ksanju100028-Sep-05 22:12
ksanju100028-Sep-05 22:12 
AnswerRe: started thread to wait till the other thread finishes Pin
S. Senthil Kumar28-Sep-05 22:40
S. Senthil Kumar28-Sep-05 22:40 
QuestionRegistering a Windows Service Pin
lata07mahi28-Sep-05 22:11
lata07mahi28-Sep-05 22:11 
AnswerRe: Registering a Windows Service Pin
Anonymous29-Sep-05 3:36
Anonymous29-Sep-05 3:36 
Questionhow to get voice data Pin
pakFari28-Sep-05 21:18
pakFari28-Sep-05 21:18 

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.