-
In your project folder, you'll want to make something like a "discord-files" folder, for organization. In that folder, copy all the
.h
and.cpp
files from the zip -
You want to include all the header and source files respectively in your project
- In your project settings, you'll want to include
discord_game_sdk.dll.lib
as an additional dependency
- From there, you should be able to
#include "discord-files/discord.h
, or whatever the path to that header file is, and have access to the code.
How do I statically link without requiring discord_game_sdk.dll be distributed alongside the exe?