Search
Duplicate

SDK Termination

생성일
2024/03/14 05:07
태그
After all uses of StovePCSDK, the StovePC_UnInit function call is required to clean up resources. Add the code that calls the StovePC_UnInit function to the CHelloStove::OnBnClickedUnInit function as shown below.
void CHelloStoveDlg::OnBnClickedUnInit() { /*Add the 'Follow Through' code here.*/ StovePCResult result = StovePC_UnInit(); if (result != STOVE_PC_NO_ERROR) { CString log; log.Format(L"[Error] StovePC_UnInit, Result %d", result); OnLog(log); } else { OnLog(L"[Success] StovePC_UnInit"); } } ...
C++
복사
The following codes assume that StovePCSDK initialization is successful.