🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #3006

ExtractIcon() and VISTA

#3006
From: Peter
Date: Sat, 09 Sep 2006 15:44
19 lines
1492 bytes
Hi,

Using VISTA Beta2 and now also RC1 ExtractIcon() doesn't appear to work
properly.
This has always worked (Win95 - XP)

I load one or two icons (32x32, 16 colours) from each dll that is found in a
certain directory.
A flag icon for each language dll.

Only for 1 dll, and only for one of the two icons inside, the function
ExtractIcon() appears to work.

The icon inside is (as far as I can see) exactly the same as the others
(32x32, 16 colours).

Anybody an idea why VISTA is so picky here ?

The function simply doesn't provide a handle, it returns NULL.
Technical Details
Message-ID: <4502e154@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,249287fc8eb051e3,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Peter" <Will_Bounce_So_Use_My_First_Name@Smart-Projects.net>
From: "Peter" <Will_Bounce_So_Use_My_First_Name@Smart-Projects.net>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: ExtractIcon() and VISTA
Date: Sat, 9 Sep 2006 17:44:23 +0200
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 81.82.42.209
Message-ID: <4502e154@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1157816660 81.82.42.209 (9 Sep 2006 08:44:20 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail