Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

can anyone help

ISHELL_CreateInstance(pApp->a.m_pIShell, AEECLSID_SOUNDPLAYER, (void **)&pApp->pISoundPlayer);
if(pApp->pISoundPlayer)
{

ISOUNDPLAYER_RegisterNotify(pApp->pISoundPlayer, Sound2_Callback, (void *)pApp);
ISOUNDPLAYER_Set(pApp->pISoundPlayer, SDT_FILE , "theme.mid");
ISOUNDPLAYER_Play(pApp->pISoundPlayer);

Have you checked any of the return values?

Have you checked any of the return values?

createInstance returned success. other calls void

createInstance returned success. other calls void

Is the callback function invoked?

Is the callback function invoked?