🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Problems with LoadIcon and MAKEINTRESOURCE

#16047
From: Mike Collins
Date: Sun, 01 Jun 2003 23:44
17 lines
1876 bytes
Thanks Bob, but it doesn't really resolve my problem.  Firstly I don't want
to split my icons up.  Secondaly, my icons are stored in a resource that is
built into the application - I don't want to have to bother with additional
DLL's.  Lastly - Microsoft can do it so so should we.  There must be a
system by which somehow release LoadIcon!!!

Please Help................

"Bob Gonder" <notbg@notmindspring.invalid> wrote in message
news:hsbkdvor8vf3pfes38488bm6q1d3jss1g6@4ax.com...
>
> Perhaps you can have 2 "icon" dll's. Use LoadLibrary/ReleaseLibrary
> when the resolution changes...
> Each dll would probably have a DLL_LoadIcon function (that you would
> call instead of LoadIcon) that would load it's version of the icons...
>
>
Technical Details
Message-ID: <3eda8eed$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3ed92ef0@newsgroups.borland.com> <hsbkdvor8vf3pfes38488bm6q1d3jss1g6@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,a5f9b48171f835bf
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-06-01 16:51:27 PST
Reply-To: "Mike Collins" <mikec@kr8.co.uk>
From: "Mike Collins" <mikec@kr8.co.uk>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3ed92ef0@newsgroups.borland.com> <hsbkdvor8vf3pfes38488bm6q1d3jss1g6@4ax.com>
Subject: Re: Problems with LoadIcon and MAKEINTRESOURCE
Date: Mon, 2 Jun 2003 00:44:44 +0100
Lines: 19
Organization: kr8
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 81.2.78.34
Message-ID: <3eda8eed$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1054510829 81.2.78.34 (1 Jun 2003 16:40:29 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail