I was tracing the code:
GameCode3(x,x,...)
{
// Set the callback functions...
if(!g_pApp->InitInstance(hInstance, lpCmdLine))
{
}
}
Where was g_pApp initialized?
I saw it can only be initialized if TeapotWarsGameApp was instantiated.
But I also can't find GCC_NEW call on TeapotWarsGameApp.
GameCode3(x,x,...)
{
// Set the callback functions...
if(!g_pApp->InitInstance(hInstance, lpCmdLine))
{
}
}
Where was g_pApp initialized?
I saw it can only be initialized if TeapotWarsGameApp was instantiated.
But I also can't find GCC_NEW call on TeapotWarsGameApp.