Jump to content
Xtreme .Net Talk

Recommended Posts

  • *Experts*
Posted

Does anybody know if Microsoft plans by any chance to add an implementation of high precision timing to .NET library? I've tried searching but can't find anything about that topic.

Thanks.

Posted

Heheheh yeah you gotta hate those timers.

I wish there was some way you can use the timers that you use in C++ (can't remember the name), it was in winmm.dll. See if you can find a wrapper for that.

 

-The Pentium Guy

My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!)

vbprogramming.8k.com

My Project (Need VB.NET Programmers)

http://workspaces.gotdotnet.com/ResolutionRPG

Posted
Does anybody know if Microsoft plans by any chance to add an implementation of high precision timing to .NET library? I've tried searching but can't find anything about that topic.

Thanks.

 

download-> Timer

 

It's from first Managed DirectX release.

Posted

It's incredible how confusing Microsoft code gets...

 

" [system.Security.SuppressUnmanagedCodeSecurity] // We won't use this maliciously

[DllImport("kernel32")]

"

 

MAN.

 

-The Pentium Guy

My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!)

vbprogramming.8k.com

My Project (Need VB.NET Programmers)

http://workspaces.gotdotnet.com/ResolutionRPG

  • *Experts*
Posted
I know about those APIs. I mean an actual .NET class which is a part of the Framework, even if it is just a call to those APIs underneath (on the Win32 platform).
  • 3 weeks later...
Posted

Possibility?

 

Does anybody know if Microsoft plans by any chance to add an implementation of high precision timing to .NET library? I've tried searching but can't find anything about that topic.

Thanks.

 

I saw an MSDN magazine article about that exact situation. I will look for it at home. Meanwhile, I did find this. It's low level, but I'm not sure how low level you want to get, and what your goal is with the high resolution timer.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...