Solvedentry point dll

Posts 16 of 6 · Page 1 of 1
entry point dll
BOOL APIENTRY DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
switch ( dwReason )
{
case DLL_PROCESS_ATTACH:
if( CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)ThreadTest, NULL, NULL, NULL)
)
break;
}
return TRUE;
}

i keep getting



1>------ Build started: Project: DeVinConsole, Configuration: Debug Win32 ------
1>Build started 12/25/2011 8:19:30 PM.
1>InitializeBuildStatus:
1> Touching "Debug\DeVinConsole.unsuccessfulbuild".
1>ClCompile:
1> main.cpp
1>LINK : fatal error LNK1561: entry point must be defined
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:01.04
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========



can anyone help
well m8 i got it figured out, ty tho
Quote Originally Posted by demonbhd View Post
well m8 i got it figured out, ty tho
@aeronyx
@Drake
/close please
/Solved .
Posts 16 of 6 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?