Ok, I'm trying to get this code to work and im coming across a few problems that I don't understand.

I've loaded a midi into a resource file, it says that It's type is "CUSTOM" and It's ID is 101. So I took the code and replaced all instances of "TO_TOWN" with 101 and all instances of "MDI" with "CUSTOM". I'm not sure if that's what I was supposed to do or not.

I also need to know what "mciSendString" is. I just get a compile error. Thanks.