Hey guys, a lil prob here. I am trying to intialize the Com for Direct Music. I am using Vc++ .NET and am using the Direct Soundlibrary. Here is my code

#include <iostream.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "dmusici.h"
#include "dsound.h"

int main()
{
LPDIRECTMUSIC8 ldm;
CoInitialize (NULL);
IDirectMusicPerformance *performance;
if (FAILED(CoCreateInstance(CLSID_DirectMusicPerfoman ce,
NULL,
CLSCTX_INPROC,
IID_IDirectMusicPerformance,
(void **)&performance)))
{
// handle error
}


getchar();

return 0;

}

My error is that it does not recognize "CLSID_DirectMusicPerfomance" Any ideas or better methods of playing a Midi using Direct Music api? Thanks!!!!!