Parsing "my_project.rc" file

I need to extract the string table from a resource file “.rc”. I want to now if is there any white paper, document, algorithm, schema or something like this describing the structure Visual C++ uses to create such a file. I have to create a parser for this file that can tell me for sure where the string table starts and where it ends.

TIA, Eddie.
LVL 1
MensanaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MensanaAuthor Commented:
This isn’t really the answer I was looking for but I have to admit that in that part of MSDN you can find all the information you need to understand the syntax VC++ 6.0 uses to create a .rc file. Mean time I went further trying to extract the string table from a resource (.rc) file. I’ve made a few observations like “the string table is always the last resource defined in a language section”. Assuming that this sentence is TRUE, a string table starts with a header like this:

///////////////////////////
//
// String Table
//

and ends where the first “#endif” is encountered.
To develop a real parser, one would probably need to read and understand the MSDN part indicated by you.
Thanks,
Eddie.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.