http://bugs.winehq.org/show_bug.cgi?id=9220
--- Comment #18 from Jörg Höhle hoehle@users.sourceforge.net 2010-01-28 07:27:54 --- The patch for midimap to refuse to open with dwflags indicating callbacks was submitted as http://www.winehq.org/pipermail/wine-patches/2010-January/084192.html
Please investigate whether it is enough to justify closing the present issue - after it gets committed - as the hang is history now or whether you want to rename it to "ff7 crashes because of (winmm?)". As I said in comment #16, my instance of Wine currently always crashes in ff7demo at the early "swing the sword" stage. The backtrace (merely showing dozen "ff7demo") is not revealing, it doesn't tell whether MIDI is still involved.
My hack from comment #17 is independent on this clean patch. You can try out both independently. Only the hack will let you hear MIDI music.