How do I properly shut down FreeAmp if there is a failure to create the UI?

I'm using the SimpleUI as a base, so from SimpleUI::CreateUI, how would i
terminate freeamp is the window can't be opened?

I've tried the

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

without much luck.  Any pointers?

Michael Rich
http://alphax86dev.cjb.net

Reply via email to