[fpc-devel] version info resource reading

Paul Ishenin ip at kmiac.ru
Tue Feb 9 02:59:28 CET 2010


08.02.2010 17:10, Paul Ishenin wrote:

> Therefore ReadWideString return has a #0 at the end.
>
> Later in LoadData method we have the next comparisions:
>
> if block.key='StringFileInfo'
> if block.key='VarFileInfo'
>
> They evaluates to false because block.key has the #0 char at the end.

I attached proposed fixes to the next bug report: 
http://bugs.freepascal.org/view.php?id=15716

Best regards,
Paul Ishenin.




More information about the fpc-devel mailing list