TOpenCLPlatformList::SaveSourceCodeToRC Method

void SaveSourceCodeToRC(const DewString &ResFileName, const DewString &ResName, tStringList *SourceCode);

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

#NameTypeDescription
1ResFileNameconst DewString &
2ResNameconst DewString &
3SourceCodetStringList *
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.

Declared in Dew::Math::TOpenCLPlatformList · Dew.Math/clMtxVec.h · Cross-compiler