TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Gerard Gerritsen
from: David Noon
date: 1997-02-06 22:43:20
subject: Resources ?? Aargh

In a message dated 02-02-97, Gerard Gerritsen said to All about
Resources ?? Aargh

Hi Gerard,

GG>I have got a 'little' problem with resources.

Indeed you have.

GG>I have got
GG>- one dll called 'B' with it's own resources linked into the dll
GG>- one program called 'A' also with it's own ( different ) resources.

You should not have a .RC file for each .c/.cpp file. Instead you should
have a single .RC file for the DLL "project" (or whatever your
compiler's IDE calls it). Furthermore, you should #include a single
header file so that the resource id's can easily be made unique within
the project (and kept that way).

[You're now going to tell us that you used the same macro names for
different resources in the separate .RC files. Tut tut! You'll have to
fix that.]

Regards

Dave

___
 * MR/2 2.25 #353 * Windows needs a Shredder icon. Click and drag Program
Manager to it!

--- Maximus/2 3.01
* Origin: DoNoR/2,Woking UK (44-1483-725167) (2:440/4)
SEEN-BY: 50/99 54/99 270/101 620/243 625/160 711/401 413 430 934 712/311 407
SEEN-BY: 712/505 506 517 623 624 704 713/317 800/1
@PATH: 440/4 141/209 270/101 712/624 711/934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.