C++ Builder 参考手册 ➙ System::Sysutils ➙ RCS
检查 Delphi C/S 授权 (Check for Delphi Client/Server Licence)
头文件:#include <System.SysUtils.hpp>
命名空间:System::Sysutils
函数原型:
void __fastcall RCS(void);
参数:
- 无;
返回值:
- 检查 Delphi C/S 授权 (Check for Delphi Client/Server Licence),如果没有授权,这个函数会抛出信息为 "Application is not licensed to use this feature." 的 Exception 异常;
- 根据源码使用情况分析,这个函数主要用来判断 DBX 和 DataSnap 授权,如果使用了 DBX 或 DataSnap 并且没有授权,会抛出异常,拒绝运行。
相关:
- System::Sysutils::GDAL
- System::Sysutils::RCS
- System::Sysutils::RPR
- System::Sysutils::EAbort
- System::Sysutils::OutOfMemoryError
- System::Sysutils::RaiseLastOSError
- System::Sysutils::CheckOSError
- System::Sysutils::Win32Check
- System::Sysutils::ShowException
- Vcl::Forms::TApplication::ShowException
- System::Sysutils::ExceptionErrorMessage
- System::Sysutils
- std::abort
- std::exit
- <cstdlib>
C++ Builder 参考手册 ➙ System::Sysutils ➙ RCS