18th July 2009 14:14 UTC
question about avs window handle
since AVS code is public, i wanted to understand this bit of code, found in wnd.cpp (line 581)
if (!g_hwnd)
{
MessageBox(this_mod->hwndParent,"Error creating window","Error",MB_OK);
return 1;
}
does anyone know where the value for g_hwnd is actually initiated? couldn't find it throughout the code, but i may have overlooked something or don't have the up to date files. in other words, from what i see this handle stays null, but it doesn't make sense.
thanks!