TVersionStringTable.Create¶
Creates a new string table
Declaration¶
Source position: versiontypes.pp line 96
public
constructor TVersionStringTable.Create(const aName: string);
Description¶
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;
Errors¶
If name is not a valid 8-cipher hexadecimal string, an ENameNotAllowedException exception is raised.
See also¶
| Name | Description |
|---|---|
| TVersionStringTable.Name | The name of the string table |