[Lazarus] Setting a cursor from resource

patspiper patspiper at gmail.com
Thu Mar 24 07:55:48 CET 2011


On 03/24/2011 05:38 AM, Paul Ishenin wrote:
> 23.03.2011 21:01, Paul Ishenin wrote:
>> 23.03.2011 18:54, patspiper wrote:
>>> EInvalidGraphic: Stream is not an icon type
>> I will do a test tomorow.
>>>
>>> Is the code above compatible with both RT_CURSOR and RT_GROUP_CURSOR
>>> resources?
>> I tested it with icons only. I see from the code that instead of
>> RT_CURSOR for TCursorImage it will use RT_ICON. Maybe this cause a 
>> problem.
>
> Where were more problems than I expected. I hope I fixed them all in 
> r30006. Please test.
updated to r30007 and while rebuilding Lazarus:Compiling resource 
../units/i386-linux/lazarus.or
/home/me/lazarus/lazarus-svn/ide/lazarus.pp(135,1) Error: Error while 
compiling resources

Lazarus 0.9.31 r29900M FPC 2.4.2 i386-linux-gtk 2

Thanks,
Stephano




More information about the Lazarus mailing list