Archived

This topic is now archived and is closed to further replies.

peter86

DMUS_E_LOADER_NOCLASSID

Recommended Posts

peter86    123
I get this error message: DMUS_E_LOADER_NOCLASSID, when calling IDirectMusicLoader::GetObject(). What´s wrong? Here´s the code:
    
DMUS_OBJECTDESC* pDesc = new DMUS_OBJECTDESC;
memset(pDesc, 0, sizeof(pDesc));
pDesc->dwValidData = DMUS_OBJ_FILENAME;
wcsncpy( wszPath, pDesc->wszFileName, MAX_PATH );

if( FAILED( hr = g_pMusicLoader->GetObject( pDesc, IID_IDirectMusicSegment8, (void**)g_pMusicPerformance )))
{
	//...

}
    
[edited by - peter86 on October 3, 2002 3:24:28 PM]

Share this post


Link to post
Share on other sites