Ok, found the problem with SHLoadDIBitmap, replace "aygshell.dll" with apidll in the declaration. The function is located inside coredll.dll.
#declareapi SHLoadDIBitmap apidll SHLoadDIBitmap 1 1
Regards,
Kornalius
Btw, I am testing the custom component system that I am implementing. I am doing a test with an IMAGE component. So you will get a chance to see how you can load and draw bitmaps in PPL in the next build.