Article View: borland.public.cppbuilder.nativeapi
Article #4420Re: HInstance of Package
From: Jonathan Benedicto
Date: Mon, 06 Feb 2006 19:47
Date: Mon, 06 Feb 2006 19:47
14 lines
1614 bytes
1614 bytes
Dennis Jones wrote: > It's not supposed to. If you want the bitmap to be in the EXE, you have > to > add the resource to the EXE's project. If the resource is in the > package's > project, then you have to load the bitmap from the package, not the EXE. I think that this depends on whether the package is linked statically or dynamically. A quick Google turned up that you probably need to add #pragma resource "xxx.res" to the component's .cpp file. HTH Jonathan
Technical Details
Message-ID:
<43e7a6e8@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!news.glorb.com!txtfeed1.tudelft.nl!tudelft.nl!binfeed1.tudelft.nl!newsfeed.wirehub.nl!194.72.7.126.MISMATCH!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<43e75c95@newsgroups.borland.com> <tf6fu1h9s9onrj42ufffcl79880s3ni630@4ax.com> <43e79cb8$1@newsgroups.borland.com> <43e79f6a@newsgroups.borland.com> <43e7a299$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,1aa5be8b1f4e1550 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Jonathan Benedicto" <invalid@nobody.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <43e75c95@newsgroups.borland.com> <tf6fu1h9s9onrj42ufffcl79880s3ni630@4ax.com> <43e79cb8$1@newsgroups.borland.com> <43e79f6a@newsgroups.borland.com> <43e7a299$1@newsgroups.borland.com> Subject: Re: HInstance of Package Date: Mon, 6 Feb 2006 14:47:09 -0500 Lines: 16 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 69.158.115.178 Message-ID: <43e7a6e8@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1139255016 69.158.115.178 (6 Feb 2006 11:43:36 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!news.glorb.com!txtfeed1.tudelft.nl!tudelft.nl!binfeed1.tudelft.nl!newsfeed.wirehub.nl!194.72.7.126.MISMATCH!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail