You are here: Symbol Reference > clMtxVec Namespace > Classes > TOpenCLPlatformList Class > public > TOpenCLPlatformList.SaveSourceCodeToRes Method
MtxVec VCL
ContentsIndex
PreviousUpNext
TOpenCLPlatformList.SaveSourceCodeToRes Method

Store a source code to the resource file and use ResID for identification.

Pascal
procedure SaveSourceCodeToRes(const ResFileName: string; ResID: Word; const SourceCode: TStringList); overload;

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.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!