[fpc-pascal] Reading exe version info on Linux?
Michael Van Canneyt
michael at freepascal.org
Thu Mar 21 09:10:10 CET 2013
On Thu, 21 Mar 2013, Reinier Olislagers wrote:
> On 20-3-2013 21:30, Michael Van Canneyt wrote:
>> On Wed, 20 Mar 2013, Reinier Olislagers wrote:
>>> The program below works fine on Windows for reading e.g. info on
>>> explorer.exe
>>> It fails on Linux (FPC trunk x64, compiled 2013/03/14) when testing with
>>> explorer.exe:
> <snip>
>> It should work as is;
>> but can you test with strace, and see if it attempts to read the correct
>> file ?
>
> Thanks. Slightly modified test program shows
> WindowsExeInfo.FileName is indeed empty :(
Are you using revision 23920 of fileinfo on linux ?
Michael.
More information about the fpc-pascal
mailing list