Creates a new string table
Source position: versiontypes.pp line 96
public constructor TVersionStringTable.Create( |
const aName: string |
); |
aName |
|
The name of the string table |
Creates a new string table with the name passed as aName parameter.
aName must be a hex representation of a 4-bytes unsigned number: first 4 ciphers represent the language id, and last 4 the codepage.
Sample code
This code creates a string table for Italian, with unicode codepage.
var st : TVersionStringTable; begin //0410 = Italian //04B0 = unicode codepage st:=TVersionStringTable.Create('041004B0'); //do something useful... st.Free; end;
If name is not a valid 8-cipher hexadecimal string, an ENameNotAllowedException exception is raised.
|
The name of the string table |