🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internationalization
Article #63

Re: Converting RC text files to and from DOC/TXT format

#63
From: Alan Bellingham
Date: Tue, 26 Jul 2005 09:11
27 lines
2092 bytes
"Goran Ekstrom" <goek!removeantispam!@telia.com> wrote:

>Yeah, I know. What I was looking for was a "remove all the RC formatting 
>stuff, convert/hide ASCII special codes and hide PRINTF style formatting 
>codes" to create a simple line-for-line DOC file, translate and then reverse 
>the process back to the RC file again. This is for text-only resource files. 
>Maybe I'm not seeing all the pitfalls in this process...

One of the pitfalls is that there are any "RC formatting codes" or
"PRINTF style formatting code" as such.

RC files look like a heavily macro-ised lump of source code to me.

What is possible is to write a program that takes a RES file, extracts
the string resources so you can edit them, and then stuffs them back in
afterwards.

Alan Bellingham
Chief Software Developer
-- 
Tel: +44 (0) 1763 248866
Fax: +44 (0) 1763 246000
Email: alanb@episys.com
Web: www.episys.com
UK Office: Episys Ltd, Newark Close, Royston, Hertfordshire, SG8 5HL, UK
North America Office: Episys, 200 South Wacker Drive, Suite 3100,
Chicago, IL 60606, USA
Technical Details
Message-ID: <kdvbe1da1q6legmds4h9hoaouk01scrfq7@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42c563db@newsgroups.borland.com> <42c6dcf2@newsgroups.borland.com> <42e56461$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10297d,2a87f176e5b266ad
X-Google-Attributes: gid10297d,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Alan Bellingham <alanb@episys.com>
Newsgroups: borland.public.cppbuilder.internationalization
Subject: Re: Converting RC text files to and from DOC/TXT format
Date: Tue, 26 Jul 2005 10:11:35 +0100
Reply-To: alanb@episys.com
Message-ID: <kdvbe1da1q6legmds4h9hoaouk01scrfq7@4ax.com>
References: <42c563db@newsgroups.borland.com> <42c6dcf2@newsgroups.borland.com> <42e56461$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 2.0/32.652
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 193.129.251.253
X-Trace: newsgroups.borland.com 1122369094 193.129.251.253 (26 Jul 2005 02:11:34 -0700)
Lines: 27
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail