Article View: borland.public.cppbuilder.nativeapi
Article #4416Re: HInstance of Package
From: Bob Gonder
Date: Mon, 06 Feb 2006 18:50
Date: Mon, 06 Feb 2006 18:50
11 lines
1376 bytes
1376 bytes
HF wrote: >bb->LoadFromResourceName((int)HInstance ,"RES1"); > >I get Exception Error in real time "resource RES1 not found". >HInstance is of the main application and cannot find RES1.How can I access >the package to retrieve RES1 ? Try adding a capital L after then name as in "RES1"L (Resource names are wide-char)
Technical Details
Message-ID:
<tf6fu1h9s9onrj42ufffcl79880s3ni630@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<43e75c95@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: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: HInstance of Package Date: Mon, 06 Feb 2006 10:50:49 -0800 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <tf6fu1h9s9onrj42ufffcl79880s3ni630@4ax.com> References: <43e75c95@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 69.69.91.178 X-Trace: newsgroups.borland.com 1139251634 69.69.91.178 (6 Feb 2006 10:47:14 -0700) Lines: 13 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail