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);
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
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
3 matches
Mail list logo