Howto access .RC/.RES Ressource files with portable C++ code ( BCC,MSVC,GNU-C++,OpenWatcom) ?

From: Rolf Hemmerling (hemmerling_at_gmx.net)
Date: 10/31/03


Date: Fri, 31 Oct 2003 07:57:48 +0100

Hello !

Beginner's question:

Howto access .RC/.RES Ressource files with portable C++ code (
BCC,MSVC,GNU-C++, OpenWatcom) ?

I just wanna access "local language strings", so that I may replace the
.RC file to compile a version of my software for a different language.

Of course it is o.k. to use preprocessor commands !
Any free demo script available ?

I am using

free Borland C++ 5.5 - no ressource editor
MS Visual Studio .NET 2003 - built-in ressource editor
free OpenWatcom 11.c ( shipped with a ressource editior )
free Dev-C++ & MingW = GNU-C for Windows - no ressource editor

WeditRes
http://www.objectcentral.com/vide.htm
http://www.cs.virginia.edu/~lcc-win32/

Gnu-C++ with Linux

Do you know any other FREE ressource editors for Windows ?

Is it possible to write a common ressource file for Borland / Microsoft
/ OpenWatcom, and if so with which (free) ressource editor ? If so if I
just wanna access text strings ?

And how to get compatibility between the Windows compilers (
BCC/MSVC/Watcom/GNU C++) and Linux ( just GNU C++), with ressources ?

As I am a beginner, how and with what should I start ?

As Linux support ist just "second choice" a solution "portable for any
Windows compiler" is acceptable ( but a drawback, of course).

Sincerely
Rolf

-- 
       /   /    / Alone on the data highway...
     /        /   like on an allee in Hannover-Herrenhausen
   /    /   /     The Hemmerling (R) WEB site - Rolf Hemmerling,Germany
/    /   /       http://www.hemmerling.com/