[Lazarus] lresources.pp(3089, 67) Error: Identifier not found "RT_RCDATA"

Bart bartjunk64 at gmail.com
Sat Nov 22 23:27:30 CET 2014


On 11/22/14, Joost van der Sluis <joost at cnoc.nl> wrote:

> Add the windows-unit to the uses section of lresources as a quick fix.

And what to do on non-windows systems?

Maybe better copy the RT_RCDATA definition and ifdef it for 2.7.1?

As a side note:
FPResource := FindResource(HInstance, PChar(ResName), PChar(RT_RCDATA));

The cast to PChar seems a little redundant given the definition of RT_RCDATA?

Bart




More information about the Lazarus mailing list