I want to inject the dll to a program and then run Initialize() from the program I make to inject the dll.
I have no idea how to do this >.<
How can I do this?
You need header file(s) where all the accessible functions/classes are listed. Then either you add the dll project to your solution and reference it (everything is done automatically) or you add the *.lib file to your project.
Either way you need the headers and make sure that if you write __declspec(dllexport) inside your dll you need to write __declspec(dllimport) outside. The usual way to do it is a #define