🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
2 messages
2 total messages Started by Richard Yu Wed, 16 Apr 2003 16:31
for TStringList, How to load from recource file(rc) which hold a text file ?
#16953
Author: Richard Yu
Date: Wed, 16 Apr 2003 16:31
10 lines
1165 bytes
for TStringList, How to load from recource file(rc) which hold a text file ?



I put a text file in a resource file(rc file), then want to load the
resource to a TStringList ,

is there a way ?

Thanks.
Re: for TStringList, How to load from recource file(rc) which hold a text file ?
#16955
Author: Remy Lebeau (TeamB)
Date: Wed, 16 Apr 2003 18:44
11 lines
1322 bytes
"Richard Yu" <richard@colorselector.com> wrote in message
news:3e9d85f8$1@newsgroups.borland.com...
> for TStringList, How to load from recource file(rc) which hold a text file
?

Use a TResourceStream to access the text file data, then pass the stream to
the TStringList via its LoadFromStream() method.


Gambit
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads