howdy all,
ExtractAssociatedIcon has 2 different include names and I can't get any combo of the 2 to build...
QuoteMinimum DLL Version shell32.dll
Header Declared in Shellapi.h
Import library Shell32.lib
Minimum operating systems Windows 95, Windows NT 3.5
Unicode Implemented as ANSI version.
I get 47 errors,
am I missing something?
thanx,
DC
[EDIT]
I GOT IT...
I just used Shell32.inc instead of Shellapi.inc
Yep, you're probably missing something :P
So, shell32.inc says
ExtractAssociatedIconA PROTO :DWORD,:DWORD,:DWORD
ExtractAssociatedIconW PROTO :DWORD,:DWORD,:DWORD
ExtractAssociatedIcon equ <ExtractAssociatedIconA>
ExtractAssociatedIconExA PROTO :DWORD,:DWORD,:DWORD,:DWORD
ExtractAssociatedIconExW PROTO :DWORD,:DWORD,:DWORD,:DWORD
ExtractAssociatedIconEx equ <ExtractAssociatedIconExA>
I would just use the ANSI version, so simply ExtractAssociatedIcon.
Check your arguments to the function :wink (Usually comes down a mistake with ADDR or OFFSET)