DllMain exists in (my environment with Visual Studio 2008)
D:\Program Files\Microsoft Visual Studio 9.0\VC\crt\src\dllmain.c
The pending issues is,Code:BOOL WINAPI DllMain(
HANDLE hDllHandle,
DWORD dwReason,
LPVOID lpreserved
)
{
#if defined (CRTDLL)
if ( dwReason == DLL_PROCESS_ATTACH && ! _pRawDllMain )
DisableThreadLibraryCalls(hDllHandle);
#endif /* defined (CRTDLL) */
return TRUE ;
}
We need to prove in which lib file DllMain (default) exists;
regards,
George