Using a custom window is an important thing and something we need to sort out. It's on the list of things to do
The reason for having the entry point from the DarkSDK function is that we need a function to be called before starting the program and at the end -
int APIENTRY WinMain ( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow )
{
StartSDK ( );
DarkSDK ( );
EndSDK ( );
return 0;
}
I'm not really sure how we can change the entry point now without causing problems for all of the people who currently use the SDK.