#include <windows.h>
INT APIENTRY DllMain(HMODULE hDLL, DWORD Reason, LPVOID Reserved)
{
MyQDialog *m_MyQDialog = new MyQDialog();
switch(Reason)
{
case DLL_PROCESS_ATTACH:
m_MyQDialog->connectQWidget();
m_MyQDialog->show();
break;
case DLL_PROCESS_DETACH:
break;
case DLL_THREAD_ATTACH:
break;
case DLL_THREAD_DETACH:
break;
}
return TRUE;
}
#include <windows.h>
INT APIENTRY DllMain(HMODULE hDLL, DWORD Reason, LPVOID Reserved)
{
MyQDialog *m_MyQDialog = new MyQDialog();
switch(Reason)
{
case DLL_PROCESS_ATTACH:
m_MyQDialog->connectQWidget();
m_MyQDialog->show();
break;
case DLL_PROCESS_DETACH:
break;
case DLL_THREAD_ATTACH:
break;
case DLL_THREAD_DETACH:
break;
}
return TRUE;
}
To copy to clipboard, switch view to plain text mode
Bookmarks