PDA

View Full Version : BUG; File.GetVersionInfo


Solmos
03-17-2008, 07:33 AM
tVersionInfo = File.GetVersionInfo("C:\\Archivos de programa\\VideoLAN\\VLC\\vlc.exe");

-- Get the last error code
nError = Application.GetLastError();
if nError == 0 then
-- There was not an error
sOutput = "";

-- Traverse the table, storing info in a string
for Name, Contents in tVersionInfo do
sOutput = sOutput .. Name .. ": " .. Contents .. "\r\n";
end

-- Output string contents to the user
Dialog.Message("File Version Information", sOutput);
else
-- There was an error, alert the user
Dialog.Message("Error", _tblErrorMessages[nError]);
end

FAILS AN THE PROGRAM VLC MEDIA PLAYER!!!!

File properties of the vlc.exe:

http://img262.imageshack.us/img262/2172/dibujohb4.png

and AMS7 returns....

http://img301.imageshack.us/img301/9681/gfhfhe5.png

bad bad....

please fix now... and lunch one update...

Solmos
03-18-2008, 03:08 PM
please fix this BUG now

Darryl
03-18-2008, 09:10 PM
I've submitted your problem to be looked into. REF: 17312.

Now just to clarify, our version information code has been around for a very long time without many changes or reported problems, so what you are experiencing is not a generic problem.

Solmos
03-19-2008, 02:27 AM
this DLL created by reteset detects all file properties perfect;

http://www.indigorose.com/forums/showthread.php?t=22464

In other programs, As VIsta TRansformation pack AMS7 fails detecting properties of the file... ...

Darryl
03-19-2008, 07:34 AM
I've updated the report with this additional information, thank you.