[lazarus] Patch for TWin32Object.CreateBitmapFromRawImage

Micha Nelissen micha at neli.hopto.org
Wed Dec 31 12:57:20 EST 2003


Martin Smat wrote:

> Hi,
>   I tried compile Lazarus with FPImage but after running it ends with 
> some FPImage exception on my W98. I found a little bug in procedure 
> CreateBitmapFromRawImage. The patch is attached.

Thanks, applied.

>   For Micha: diff created with -u option so I hope now it is in the 
> format you asked for.

It turned out that that wasn't it, sorry. I now know the problem: your 
directories use backslashes, windows paths: old\win32winapi.h etc. I've 
to replace these to forward slashes for the patch to work. Do you have 
an option available to use forward slashes as path seperator? I would be 
very grateful.

Thanks,

Micha.






More information about the Lazarus mailing list