I am trying to create a .dll file from my header and library files that I got from tngaming for their gaming vest.
So far I've been using this guide, but instead of creating a new header file I added my tngaming file to the folder where the header files are located and then added it to the folder inside visual studio by using "Add existing item."
Afterwards I used the properties -> linker -> input where I added my lib file which also seems to work fine.
Then inside the tngaming.cpp i added the line
#include "tngaming.h"
Now it is possible to build my .dll, but it does not work. When I look at it, there are\ lines that says stuff like "stack memory corrupted" and so on.
Am I creating my .dll correctly or am Idoing something wrong? How do I actually create my .dll?