Re: [perl-win32-gui-users] Extracting and displaying Icon

2002-05-06 Thread Aldo Calpini
Alex Lee wrote: Hi all, Iam trying to extract an icon from a dll file like such: code my $A = 0; my $B = 'shimgvw.dll'; ## I want icon 1 in this dll file my $apiExecute = new Win32::API(Shell32, ExtractIcon, ['P','P','N'], 'N'); my $hIcon= $apiExecute-Call($A,$B,1);

Re: [perl-win32-gui-users] Extracting and displaying Icon

2002-05-06 Thread Laurent ROCHER
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

[perl-win32-gui-users] Extracting and displaying Icon

2002-05-05 Thread Alex Lee
Hi all, Iam trying to extract an icon from a dll file like such: code my $A = 0; my $B = 'shimgvw.dll'; ## I want icon 1 in this dll file my $apiExecute = new Win32::API(Shell32, ExtractIcon, ['P','P','N'], 'N'); my $hIcon= $apiExecute-Call($A,$B,1); The problem is that