TOpenCLPlatformList.SaveSourceFileToRC Method

procedure SaveSourceFileToRC(const ResFileName: string; const ResName: string; const SourceFiles: TStringList);

Store a list of source files to the resource file and use ResName for identification.

#NameTypeDescription
1ResFileNamestring
2ResNamestring
3SourceFilesTStringList

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 files are automatically encrypted.