#include #include using namespace std; //Assinatura dos métodos utilizados na dll typedef int (WINAPI*metodo1)(); metodo1 initialize; typedef char* (WINAPI*metodo2)(); metodo2 execute; typedef int (WINAPI*metodo3)(); metodo3 finalize; typedef int (WINAPI*metodo4)(); metodo4 update; int main(int argc, char *argv[]) { //Carrega a dll HINSTANCE hDLL = LoadLibrary("plugin\\Plugin-x86\\CorePlugin.dll"); if (hDLL) cout << "dll criada com sucesso" <