How is it done?
QuoteFileIconInit is not included in a header file. You must call it directly from Shell32.dll, using ordinal 660.
has anyonne done this?
ty
oh yeah... GetProcAddress. ooops thanks
how about SHGetImageList? anyone ever used it? i'm having trouble declaring that GUID. I've seen this form on the web.IID_IImageList TGUID <46EB5926h,582Eh,4017h,9FDFh,0E8998DAA0950h>
but it shows too much initial values. Aaarg,
http://www.masmforum.com/board/index.php?topic=15414.0
Faiseur asked the same question - and got no reply...
No C++ code around? PowerBasic maybe?
The last two numbers are actually a byte array.
<46EB5926h,582Eh,4017h,<9Fh,0DFh,0E8h,99h,8Dh,0AAh,09h,50h>>
yeah yuri. took a while to understand how to declare to GUID correctly. The answer is of course:
invoke GetModuleHandle,str$("Shell32")
invoke GetProcAddress,eax
call eax
ty guys and regs
oops.GetProcAddress,eax,660
sorry typo forgetful mind
Look here (http://www.catch22.net/tuts/system-image-list)
Quote from: xandaz on July 12, 2013, 10:30:59 AM
yeah yuri. took a while to understand how to declare to GUID correctly. The answer is of course:
invoke GetModuleHandle,str$("Shell32")
invoke GetProcAddress,eax
call eax
ty guys and regs
chr$("Shell32") might work even better ;-)
hi... sorry for replying so late. Im a little past that. And sorry for the str$ - i dont really use those macros. i kinda guessed from my BASIC memories.