<jason.cipriani@gmail.com> schrieb:
>> Private Declare Function FileTimeToSystemTime Lib "kernel32" (ByVal
>> lpFileTime As FILETIME, ByVal lpSystemTime As SYSTEMTIME) As Long
[quoted text clipped - 4 lines]
> "kernel32" (lpFileTime As FILETIME, lpSystemTime As SYSTEMTIME) As
> Long
With 'ByVal' being the default in VB.NET, you'd have to change the
declaration above like that:
\\\
Private Declare Function FileTimeToSystemTime Lib "kernel32.dll" ( _
ByRef lpFileTime As FILETIME, _
ByRef lpSystemTime As SYSTEMTIME _
) As Boolean
///

Signature
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
jason.cipriani@gmail.com - 17 Mar 2008 05:24 GMT
On Mar 16, 8:27 pm, "Herfried K. Wagner [MVP]" <hirf-spam-me-
h...@gmx.at> wrote:
> <jason.cipri...@gmail.com> schrieb:
>
[quoted text clipped - 9 lines]
> With 'ByVal' being the default in VB.NET, you'd have to change the
> declaration above like that:
Thanks for pointing that out, I am still using VB6. I'll have to file
that one away so I don't make a mistake later.
> \\\
> Private Declare Function FileTimeToSystemTime Lib "kernel32.dll" ( _
[quoted text clipped - 7 lines]
> M V P <URL:http://dotnet.mvps.org/>
> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>