resourcestring
セクションにがあるユニットがありますimplementation
。resourcestring
の識別子を別のユニットで取得するにはどうすればよいですか?
unit Unit2;
interface
implementation
resourcestring
SampleStr = 'Sample';
end.
interface
セクションで利用できる場合は、次のように記述できます。
PResStringRec(@SampleStr).Identifier