Ok sorry btu I got anoutehr probelem...
In this code...
This is the mainfile.cpp...
Code:
#include <windows.h>
#include <iostream>
int main()
{
// Function Pointer
void(*TextFunc)();
// Load DLL
HMODULE hMod = LoadLibrary("wordset1.dll");
// Assign the function pointer to the
// address of the function in the dll
TextFunc = (void(*)())GetProcAddress(hMod, "test");
// If it found it
if(TextFunc) TextFunc();
std::cin.get();
return 0;
}
In the part...
I don't want a just text. I want it so I can have variables declared and everything else.
How do I do that?