[fpc-pascal] Reading exe version info on Linux?

Reinier Olislagers reinierolislagers at gmail.com
Thu Mar 21 09:14:17 CET 2013


On 21-3-2013 9:10, Michael Van Canneyt wrote:
> 
> 
> 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 ?

Blast, (@)*@()#$*@#$@#$@, that's probably it - sorry to waste your time
again.

Should do these things when not too tired.



More information about the fpc-pascal mailing list