🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

LoadString() and several res files...

#9775
From: Oren Halvani
Date: Tue, 15 Jun 2004 13:30
23 lines
1638 bytes
hi dear builders,

i want to include several stringtables to my project, is it possible ? each
one
contains about 250 string id's..

how do i include the stringtables to the programm, do i need to put for each
stringtable a own res file (rc) ? or how do i seperate them if i put them
into only
one res file..?

WinAPI says...

int LoadString
(
    HINSTANCE hInstance, // handle of module containing string resource
    UINT uID, // resource identifier (SO, HERE IS THE RES FILE, RIGHT ?)
    LPTSTR lpBuffer, // address of buffer for resource
    int nBufferMax  // size of buffer
);


Oren
Technical Details
Message-ID: <40cef9a0@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news-out2.kabelfoon.nl!83.128.0.10.MISMATCH!newsfeed.kabelfoon.nl!news.cambrium.nl!news.cambrium.nl!newsfeed.wirehub.nl!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,bdefe08ea8276730,start
X-Google-Attributes: gid10cc67,public
Reply-To: "Oren Halvani" <NoSpam@fdtd.com>
From: "Oren Halvani" <NoSpam@fdtd.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: LoadString() and several res files...
Date: Tue, 15 Jun 2004 15:30:06 +0200
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 217.234.111.165
Message-ID: <40cef9a0@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1087306144 217.234.111.165 (15 Jun 2004 06:29:04 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news-out2.kabelfoon.nl!83.128.0.10.MISMATCH!newsfeed.kabelfoon.nl!news.cambrium.nl!news.cambrium.nl!newsfeed.wirehub.nl!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail