🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.programmer.codewarrior
Article #1010

Re: How does codewarrior compile icon resources for x86?

#1010
From: Ed Swartz
Date: Fri, 31 May 2002 16:18
20 lines
1856 bytes
Hi,

> .ico file. However, when the resource is compiled into a .exe file, we end
> up with a list of 6 icons. The 1st, 3rd and 5th are blank, while the even
> ones contain different sizes and depths of the original .ico file. When
the
> program is installed on Windows NT, the program has no icon, nor do any of
> its documents. On Win2k, it works fine.

I'm not entirely sure where the problem lies, but the MS docs say:

| Remarks
| Icon and cursor resources can contain more than one image. If the resource
is marked as
| PRELOAD, Windows loads all images in the resource when the application
executes.

Perhaps you have to explicitly load all the icons, or use

ICON PRELOAD icons.ico
Technical Details
Message-ID: <uff8insearb6dc@corp.supernews.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!sjc-peer.news.verio.net!news.verio.net!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
References: <B91C48DE.2F84%jbotwick@nc.rr.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bcce,fa354321608ab609
X-Google-Attributes: gid10bcce,public
X-Google-Thread: f635e,fa354321608ab609
X-Google-Attributes: gidf635e,public
X-Google-Thread: fd047,fa354321608ab609
X-Google-Attributes: gidfd047,public
X-Google-ArrivalTime: 2002-05-31 09:18:32 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!sjc-peer.news.verio.net!news.verio.net!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
From: "Ed Swartz" <eswartz@antispam.metrowerks.com>
Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac,codewarrior.windows
Subject: Re: How does codewarrior compile icon resources for x86?
Date: Fri, 31 May 2002 11:18:09 -0500
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <uff8insearb6dc@corp.supernews.com>
References: <B91C48DE.2F84%jbotwick@nc.rr.com>
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
X-Complaints-To: newsabuse@supernews.com
Lines: 24