Windows SDK Installation
1. Installation and Runtime Environment
Minimum Version
Visual Studio 2019 or higher
2. SDK File Composition
The KakaoGameSDK_Windows_[버전].zip file you received is composed of the following files.
File/Directory | Description |
---|---|
KGObject.h |
|
KGData.h |
|
KakaoGameLib.h |
|
KakaoGameLibD_md.lib |
|
KakaoGameLibD_mt.lib |
|
KakaoGameLib_md.lib |
|
KakaoGameLib_mt.lib |
|
Binary |
|
ApiReference |
|
3. Connecting the Library to the Project and Loading the DLL
Copy the files from the Binary folder to the project you are using.
Copy the necessary files such as KGObject.h, KGData.h, KakaoGameLib.h, and the KakaoGame libraries, as well as KakaoGame.dll.
Execute the KakaoGame.dll loading function.
#include "KakaoGameLib.h"
#pragma comment (lib, "KakaoGameLib_mt.lib")
// Loading by file name or by file handle
KakaoGame::API::KGTInit::initialize(TEXT("KakaoGame.dll"));
or
KakaoGame::API::KGTInit::initialize(LoadLibrary(TEXT("KakaoGame.dll")));