>weird, that should work... i will look into it. where are you making this
call
>from? your constructor?

I've just placed my code inline with the 1.3.1 version of the Simple.ui
plugin.  I call a function to intialize things in:

void SimpleUI::CreateUI()

and one of them failed, and i tried calling:

m_target->AcceptEvent(new Event(CMD_QuitPlayer));

and it GPF'd.

basically like so:

void SimpleUI::CreateUI()
{
        if (!InitInstance())
        {
                m_target->AcceptEvent(new Event(CMD_QuitPlayer));
                return;
        }
}

however it completely blows up.  I would have thought it worked because the
original code ad the AcceptEvent at the very bottom of the CreateUI
function.


mike

Reply via email to