by Florian Santi Development (1 Submission)
Category: Windows API Call/Explanation
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (6 Votes)
Use the Win32 API functions to retreive from a resource library (exe or dll) a string within a String Table with its specified ID and LanguageID.
Gives the ability to write real multilingual VB applications by using a resource file. You can define in the resource file more than one columns for the String Table type and return the string based on the ID and the LanguageID.
This code id bypassing the standard VB function LoadResString where you don't have the ability to specifiy a language.
API DeclarationsLoadLibrary
FreeLibrary
RtlMoveMemory
FindResourceEx
LoadResource
LockResource
SizeofResource
FreeResource