Alex Lee wrote:
> I tried DIBitmap but that did not work nither.  
> 
> ### code
> use Win32::GUI::DIBitmap;
> my $dib = newFromData Win32::GUI::DIBitmap ($hIcon) or die "no $!";
> ###

    If you need use DIBitmap, try with newFromBitmap.

    newFromBitmap work with handle like Win32::GUI (See Aldo reply).

Laurent.


Reply via email to