Click here to Skip to main content
14,923,844 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hai i am using console application in c++,in windows application MFC dll contains string table assume like this i will un rar the dll so some files are extracted in that (string.txt)will be there in that ID and values will be there in the same case for different languages also some ID and Values will be there i need to read those files if it is english then there is no problem if it is a german or japanese will reading it will stop at some place of a file.

What I have tried:

i have tried using the string ID but i need to read entire string table
Updated 1-Mar-21 18:51pm
OriginalGriff 1-Mar-21 5:30am
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with.
So show us what you have tired, tell us what happened when you did, and tell us what help you need!

Use the "Improve question" widget to edit your question and provide better information.
Fazi_13 2-Mar-21 0:51am
yes i did
Richard MacCutchan 2-Mar-21 3:45am
See my solution below.

1 solution

In order to find all resources of a type you need to enumerate the names in the type. See EnumResourceNamesA function (winbase.h) - Win32 apps | Microsoft Docs[^].

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900