Доброго времени суток!Уперся в следующую проблему:КодC++ (Qt)typedef void (*TYPEPROC)(char *);class myApp
ublic QCoreApplication{public: myApp(int &argc, char**argv) :QCoreApplication(argc, argv) {}; bool winEventFilter(MSG *message, long *result) { if (message->message == WM_SYSCOMMAND){ if (message->wParam == 1037){ quit(); return true; } } };};int main(int argc, char *argv[]){ myApp app(argc, argv); TYPEPROC proc = 0; HMODULE hDLL=NULL; hDLL = LoadLibrary (L"liba.dll"); if (!hDLL) return 0; proc = (TYPEPROC) GetProcAddress(hDLL,"proc"); if (!proc){ std::cout