I can easily get the format for MIDI files and make those, but is there anyway of converting MIDI files to WAV files? Are there any programs that make WAVs directly, but in an instrumental form like MIDI? What about making your own sound effects?

Also (and this is completely unrelated), I've never used DLL's. I can probably figure out how to link it to my program using my Windows compiler, but there's another side to the story: DOS. I'm using SDL. I don't think I'll be needing any of the features of Windows, since I'l be designing my own API, so can I use SDL in DOS? And I know Turbo C++ 3.0 (for DOS) has a linking program - does it cover DLL's too? Thanks if you can help.