Yes, I took out the part I really needed. I have the 64-bit ints stored in a file, not the actual timestamp of the file.
I think VT_FILETIME is a COM/OLE name. I'm used to FILETIME in the Win32 API. It's used for timestamps and also for file sizes and offsets. In some functions the WINDOWS.H file passes the low and high halves as two 32-bit values, presumably so it would be compatible with compilers that didn't support __int64. For return values, I know one where the function return value is the low 32 bits, and the high 32 bits is in an out parameter!
Naturally, I get rid of all that nonesence. I import the Win32 DLL's functions with int64 arguments (and structure members) when they are indeed that. In one case they have the halves backwards (sigh) so I have a wrapper to put it back together again.
—John
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.