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.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to