And you need to add
Code:
BOOL APIENTRY DllMain( 
	HANDLE hModule,
	DWORD ul_reason_for_call,
	LPVOID lpReserved)
{
	engine_bind();
	return TRUE;
}