> Using VerQueryValue for file version information on Windows
>
> > What I expected to find in $lplpBuffer is instead being
> > written to an unused part of the full buffer ($lpFullBuffer).
As far as I know, Windows never hands back a newly-allocated data buffer to
you. The idea is that you call G
Using VerQueryValue for file version information on Windows
> What I expected to find in $lplpBuffer is instead being
> written to an unused part of the full buffer ($lpFullBuffer).
Got it.
Prints like so:
c:\windows\system32\version.dll
CompanyName Microsoft Corporation
--
> From: Rob Dixon [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, December 28, 2002 4:13 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Scalar reference, pointer to pointer meaning
>
> Hi Gary
>
> You're suffering a little C-lag. The backslash performs roughly the same
>
Hi Gary
You're suffering a little C-lag. The backslash performs roughly the same
function as the ampersand in C, while dereferencing requires knowing the
type of the reference, which can be discovered using the ref() function.
my (@array, $scalar, $lp);
$lp = \@array;
print ref $lp;