Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: GetTimeSysInfoFunc function

by syphilis (Archbishop)
on Jul 28, 2015 at 00:50 UTC ( [id://1136533]=note: print w/replies, xml ) Need Help??


in reply to GetTimeSysInfoFunc function

You could use Inline::CPP to access the function.
Some of those options are 64-bit integers, so it's best if you use a perl such that perl -V:ivsize outputs 8.

The function is also available to mingw and ms C compilers (via timeprov.h). You can therefore alternatively access it using Inlne::C if, like me, you're uncomfortable with C++.

A third alternative is to access it via the Win32::API module. (I assume this is possible, but I'm not at all adept at using that module.)

Cheers,
Rob

Replies are listed 'Best First'.
Re^2: GetTimeSysInfoFunc function
by thanos1983 (Parson) on Jul 28, 2015 at 07:42 UTC

    Hello syphilis,

    The modules that you proposed look promising. Thank you for your time and effort I will try to play around with them. :D

    Seeking for Perl wisdom...on the process of learning...not there...yet!
      The modules that you proposed look promising.

      To avoid confusion: Most modules in the Win32::* namespace work only on Windows, they will not be aren't available on other platforms like Linux, MacOS or the BSDs. The only exception from this rule seems to be Win32::Autoglob, which can be used on any operating system, but does nothing on non-Windows systems.

      Alexander

      --
      Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1136533]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-19 05:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found