void SaveSourceCodeToRes(String ResFileName, UInt16 ResID, TStringList SourceCode)
Store a source code to the resource file and use ResID for identification.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | ResFileName | String | |
| 2 | ResID | UInt16 | |
| 3 | SourceCode | TStringList |
Result: stored in self (calling object)
Remarks:
Once the files are stored in the .res file, you can embedd the resource in to your application by adding {$R ResFileName} to your source file. The source code is automatically encrypted.