harsha_james
asked on
C++ Resource file strings
Hi,
I am using a resource file in my c++ DLL to store some strings. I have used the 'STRINGTABLE' type. Now, I am able to get the string from the DLL using the 'Loadstring' function.
My requirement is as follows:
The number of strings in the STRINGTABLE can vary. Now, before getting the strings from the DLL, I want to get the total number of strings in the DLL resource file's STRINGTABLE. Is there any function like 'Loadstring' that gives us the number of strings in the file?
Also, is there a function with which I can read all the strings together in one go?
Thanks in advance for your suggestions,
Warm regards,
hj
I am using a resource file in my c++ DLL to store some strings. I have used the 'STRINGTABLE' type. Now, I am able to get the string from the DLL using the 'Loadstring' function.
My requirement is as follows:
The number of strings in the STRINGTABLE can vary. Now, before getting the strings from the DLL, I want to get the total number of strings in the DLL resource file's STRINGTABLE. Is there any function like 'Loadstring' that gives us the number of strings in the file?
Also, is there a function with which I can read all the strings together in one go?
Thanks in advance for your suggestions,
Warm regards,
hj
You could write a function to return the count and try exporting that.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks a lot for your replies.