#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 coreUpdateCheck; typedef int (WINAPI*metodo5)(); metodo5 coreUpdateInstall_player; typedef int (WINAPI*metodo6)(); metodo6 coreUpdateInstall_dict; int main(int argc, char *argv[]) { //Carrega a dll HINSTANCE hDLL = LoadLibrary("plugin\\Plugin-x86\\CorePlugin.dll"); if (hDLL) cout << "dll criada com sucesso" <