Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
as you guessed it simply outputs a version number for a particular file. Here's as far as I got (badly):INT GetFileVersionTxt(STRING sFile, out STRING sVersion)
I used the Filversion module before, didn't have any problems, this dll gives slightly different results, which my managers would prefer to get, otherwise I wouldn't have to call it.Any pointers as to how I can get this working would be greatly appreciated.#!usr/bin/perl use Win32::API; my $filename="C:/WINNT/ieuninst.exe"; $Api = new Win32::API(fileversion.dll, GetFileVersionTxt, [P,$filename +], [P,$output]); print "\output - $output";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Win32::API question
by Ninthwave (Chaplain) on Jun 02, 2004 at 18:04 UTC | |
by Ven'Tatsu (Deacon) on Jun 02, 2004 at 18:16 UTC | |
by Ninthwave (Chaplain) on Jun 02, 2004 at 19:36 UTC |