Article View: borland.public.cppbuilder.oodesign
Article #51resource problem
From: Shannon Peterson
Date: Thu, 24 Mar 2005 15:12
Date: Thu, 24 Mar 2005 15:12
18 lines
1695 bytes
1695 bytes
I have 16x16 and 32x32 icons set up in my programs resource file under MAINICON. I have the res file added to the project. But unless I add the line (#pragma resourse "Program.res") it will not set the program icon. And if I have this line in the project.cpp file it works fine for win2k, xp etc.. but fails to show the correct icon on the taskbar for windows 98 or 95, it only shows the default borland buildings. What can cause this problem? Another programmer doesn't ever need the pragma line and his application icons work fine on all the systems. We both have looked into why my application may have problems but can't see anything out of the ordinary. any help is appreciated thanks Shannon
Technical Details
Message-ID:
<4242d8b0$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!tdsnet-transit!newspeer.tds.net!diablo.voicenet.com!feed2.newsreader.com!newsreader.com!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10db1e,87597a62505fdd50,start X-Google-Attributes: gid10db1e,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 24 Mar 2005 09:12:41 -0600 From: Shannon Peterson <speterson@ae-solutions.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.oodesign Subject: resource problem Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 12.2.62.130 Message-ID: <4242d8b0$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1111677104 12.2.62.130 (24 Mar 2005 07:11:44 -0800) Lines: 18 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!tdsnet-transit!newspeer.tds.net!diablo.voicenet.com!feed2.newsreader.com!newsreader.com!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail