"ExtractIconA" fails with Vista ?

forum.sourcecode (2000-2005) & forum.td.sourcecode (2005-2010)
David D

"ExtractIconA" fails with Vista ?

Post by David D » 18 Oct 2006, 20:04

 Posted by:  David D 

Hi,

I use to call this function to extract an icon from a library file (.ICL)
Under 98,2000,XP, it works but with Vista, the value returned is always 0.
I've made a search on MSDN, but not found yet any tips.

Anyone else has success with this function ?

Thanks,
David
Vista RC1 fr, CTD 1.5.1ptf6

cschubert
Germany
Posts: 867
Joined: 23 May 2018, 11:26
Location: Germany

Re: "ExtractIconA" fails with Vista ?

Post by cschubert » 20 Oct 2006, 20:23

 Posted by:  Christian Schubert 

David,

make sure not to use ordinal numbers in external function declaration.
Ordinals may have changed in Vista.

HTH

Christian Schubert

David D

Re: "ExtractIconA" fails with Vista ?

Post by David D » 24 Oct 2006, 16:39

 Posted by:  David D 

Thanks,

Finally i found that something has really changed inside ExtractIconA, maybe
due to libray format ;
If i use "shell32.dll" (from XP or Vista) instead of my "MyOwnLibrary.icl",
i've got the icon as expected.
I'm going to do more tests with home-made icon libraries.

Later,

Return to “td.sourcecode”

Who is online

Users browsing this forum: [Ccbot] and 0 guests