🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Resource dll

#17460
From: ScOe
Date: Tue, 25 Mar 2003 06:24
26 lines
1760 bytes
"Remy Lebeau (TeamB)" <gambit47@yahoo.com> wrote in message
news:3e7f7ecb$1@newsgroups.borland.com...
>
> "ScOe" <sven.savic@zg.hinet.hr> wrote in message
> news:3e7f7554@newsgroups.borland.com...
>
>
> You didn't show that in your original sample.  Please provide more
complete,
> compilable, examples in the future.
>
in .rc file i put line like this
BACKGROUND BITMAP BACK.BMP
Now i refer to background image as bmp->LoadFromResourceName (HInstance,
"BACKGROUND");
I understand what was you talked about HInstance, i'll try with
GetModuleHandle ...
>
> How did you create the DLL to begin with?
I've created it with dll wizard ... and all i did is include .rc to dll an
compile it, nothing else.
>
> Gambit
>
>
Technical Details
Message-ID: <3e7ff621@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3e7f5a3a@newsgroups.borland.com> <3e7f64aa$1@newsgroups.borland.com> <3e7f7554@newsgroups.borland.com> <3e7f7ecb$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,35566035837173d7
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-03-24 22:27:31 PST
From: "ScOe" <sven.savic@zg.hinet.hr>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3e7f5a3a@newsgroups.borland.com> <3e7f64aa$1@newsgroups.borland.com> <3e7f7554@newsgroups.borland.com> <3e7f7ecb$1@newsgroups.borland.com>
Subject: Re: Resource dll
Date: Tue, 25 Mar 2003 07:24:32 +0100
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 213.191.137.17
Message-ID: <3e7ff621@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1048573473 213.191.137.17 (24 Mar 2003 22:24:33 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail