🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.win32
Article #2158

Re: Resource files: Getting the to work

#2158
From: John A. Grant
Date: Wed, 22 Dec 1999 00:00
29 lines
2162 bytes
Brian Hansell wrote in message <38616152.39AEEA72@epix.net>...
>Hello,
>
>Here's my problem:  I can't seem to correctly use a resource file in my
>program.  I use BCB4 (unfortunately, you most likely won't be able to
>help me if you don't use that) and have tried to compile Charles
>Petzold's source for his menus in windows.  Unfortunately, the book is
>more geared towards VC++ (which I don't have/use).  If you've
>successfully used a .rc file in BCB4 I would LOVE to have your help!

    I don't have the latest version of the book, but as far as I know
    it doesn't target any particular compiler. He uses plain  C and the
    Windows API. Perhaps he supplies make files for VC++ on the
    disc, but that's not the only way to build the project. You should
    be able to just drop the *.c & *.rc files onto your BCB project
    and then 'build'. Then again, I don't use BCB either, but it
    can't be that much different from BC++ 5 (which I use).

    What is the specific problem you are having? Are you having
    problems adding the .rc to the project? Is BCB refusing to
    compile it? Is BCB refusing to bind it? Or is this a runtime
    loading problem? The .rc probably contains several types
    of resources. Is this problem common to all of them or just
    one resource?

--
John A. Grant  * I speak only for myself *  (remove 'z' to reply)
Radiation Geophysics, Geological Survey of Canada, Ottawa
If you followup, please do NOT e-mail me a copy: I will read it here
Technical Details
Message-ID: <83rjf7$5hj64@nrn2.NRCan.gc.ca>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <38616152.39AEEA72@epix.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113dfb,82e9fb6212f46253
X-Google-Attributes: gid113dfb,public
X-Google-Thread: 103c8d,82e9fb6212f46253
X-Google-Attributes: gid103c8d,public
From: "John A. Grant" <zjagrantz@znrcanz.gcz.ca>
Subject: Re: Resource files: Getting the to work
Date: 1999/12/22
Message-ID: <83rjf7$5hj64@nrn2.NRCan.gc.ca>
X-Deja-AN: 563967603
References: <38616152.39AEEA72@epix.net>
Organization: Natural Resources Canada / Ressources naturelles Canada
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Newsgroups: comp.os.ms-windows.programmer.win32,borland.public.cppbuilder.language