My code doesn't work, What am I missing? I'm creating a form application in VS 2008 C#
Please give me an estimate of how much it will cost to fix this:
[DllImport("winmm.dll")]
private static extern int midiOutOpen(int handle, int deviceID, int proc, int instance, int flags);
[DllImport("winmm.dll")]
static extern uint midiInGetNumDevs();
uint d = midiInGetNumDevs();
static int hndle = 0;
int result = midiOutOpen(hndle, 0, 0, 0,0);
[DllImport("winmm.dll")]
public static extern int midiOutShortMsg(int h, int m);
int r = midiOutShortMsg(hndle, 0x00403C90);

New Topic/Question



MultiQuote




|