topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday October 27, 2020, 4:39 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - paul_ray [ switch to compact view ]

Pages: [1]
1
T-Clock / Re: T-Clock 2010 (download)
« on: November 16, 2014, 04:30 PM »
Thank you WhiteTigX, for adding "GetTickCount64" in the 2.3.2 version.

Also, thank you for concerning the request for adding in environment variables.
Maybe sometime in the future.

2
T-Clock / Re: T-Clock 2010 (download)
« on: October 14, 2014, 05:29 PM »
Are there plans to use Environment variables for the display?
I would like to use the "COMPUTERNAME" variable in my display format, so I don't have to hard code the machine name.

This makes it easier for support when I need to know the computer name.

3
T-Clock / Re: T-Clock 2010 (download)
« on: October 14, 2014, 05:29 PM »
I don't know if there are plans to use the "GetTickCount64" function instead of the "GetTickCount" function in getting the uptime but it would be nice.

The new function does not have the 49.7 day limit.
It is supported starting with Vista.
(It does not require 64 bit OS).

GetTickCount64 MSDN

4
T-Clock / Re: T-Clock 2010 (download)
« on: June 10, 2013, 06:37 PM »
I don't know if there are plans to use the "GetTickCount64" function instead of the "GetTickCount" function in getting the uptime but it would be nice.

The new function does not have the 49.7 day limit.
It is supported starting with Vista.
(It does not require 64 bit OS).

http://msdn.microsof...724411(v=VS.85).aspx

Hm... (there are now) That is an interesting option. Actually I had been planning to try using the other method that leverages the info stored in HKEY_PERFORMANCE_DATA ... But this sounds much easier/simpler/quicker - Not to mention a 585 million year wrap/limit should be sufficient for most folks... ;)

Thank you!

In looking at the code in on GitHub, I found the section that would have to be changed to support the new function.
In the format.c file around line 461, there is this comment "<--+++--<<<<< WTF (If AnyThing) Does This Do?!?!?!?"
In this block, the "st" would have to be a long (ULONGLONG). Then the function would be GetTickCount64().

Note a check for the OS version would need to be done here to see which version to call.

This section (with the comment "<--+++--<<<<< WTF (If AnyThing) Does This Do?!?!?!?") does the "System Uptime".

5
T-Clock / Re: T-Clock 2010 (download)
« on: April 07, 2011, 12:27 PM »
That's definitely an enterprise (only) level feature (me thinks). Are you from the company planing to do a T-Clock roll-out? Computer name shouldn't be difficult to grab/add, but what other environmental info bits (if any) might be good to toss in with it?

You are correct about enterprise but I also can use this at home.  It is quicker to get the machine name vs going to the command line or to properties of "computer".

The only variables I can think about using are "COMPUTERNAME" and "USERNAME".



6
T-Clock / Re: T-Clock 2010 (download)
« on: April 06, 2011, 11:51 AM »
Are there plans to use Environment variables for the display?
I would like to use the "COMPUTERNAME" variable in my display format, so I don't have to hard code the machine name.

This makes it easier for support when I need to know the computer name.

7
T-Clock / Re: T-Clock 2010 (download)
« on: April 06, 2011, 11:48 AM »
I don't know if there are plans to use the "GetTickCount64" function instead of the "GetTickCount" function in getting the uptime but it would be nice.

The new function does not have the 49.7 day limit.
It is supported starting with Vista.
(It does not require 64 bit OS).

http://msdn.microsof...724411(v=VS.85).aspx

Pages: [1]