Article View: borland.public.cppbuilder.nativeapi
Article #4411HInstance of Package
From: HF
Date: Mon, 06 Feb 2006 14:29
Date: Mon, 06 Feb 2006 14:29
17 lines
1431 bytes
1431 bytes
Hello all, I have a package which contains a component plus some resources(bitmaps).In real time i want to access these bitmaps //************************************** Graphics::TBitmap* bb = new Graphics::TBitmap(); bb->LoadFromResourceName((int)HInstance ,"RES1"); ...... some code ..... delete bb; //************************************** 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 ? Thanks in advance BCB 5 Pro
Technical Details
Message-ID:
<43e75c95@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,1aa5be8b1f4e1550,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "HF" <ola@ola.gr> Newsgroups: borland.public.cppbuilder.nativeapi Subject: HInstance of Package Date: Mon, 6 Feb 2006 16:29:51 +0200 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 NNTP-Posting-Host: 212.54.217.224 Message-ID: <43e75c95@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1139235989 212.54.217.224 (6 Feb 2006 06:26:29 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail