Windows/MFC

error C2731: 'DllMain'

aucd29 2013. 10. 2. 18:22
[code]
BOOL APIENTRY DllMain( HMODULE hModule,
                     DWORD ul_reason_for_call,
                     LPVOID lpReserved)
{
    return TRUE;
}
[/code]


fixed code
[code]
BOOL APIENTRY DllMain( HANDLE hModule,
                     DWORD ul_reason_for_call,
                     LPVOID lpReserved)
{
    return TRUE;
}
[/code]