I recall getting errors in battles before, but it wasnt at random. It was whenever I did certain limit breaks (Cid's Hyper Jump) that I got an error. I don't know if it was the same one but are you sure it's just at random and not when you cast a certain spell or use a certain skill?
Well, it occurs when entering the battle, before I can even enter any battle command, so yeah, I'm not casting any spell nor using a certain skill.
BTW, it is an MCI error, so, it would be a sound problem ?
Let's see.....the MCI interface covers Sound (as in Wave Playback), MIDI, Video For Windows, CD audio....so it would be a definite possibility to consider.
Unless MCI has evolved in XP to be used as part of DirectX, then let's rule out the stuff MCI covers:
1.) Wave Playback -- Handled by DirectSound, MCI shouldn't be involved.
2.) Video for Windows (aka "VFW")--While the codec FF7 installs is a VFW-type codec, the actual playback is handled by DirectShow, so MCI shouldn't be involved. But with no movies being played, its ruled out anyway.
3.) CD Audio -- There's no CD-audio tracks being accessed, so that's out.
4.) MIDI -- The DirectX5 interface does not use the DirectMusic Engine for MIDI playback (since DirectMusic didn't exist until DX6), so it would be using the MCI interface for playback.
If the crash is occuring when the game is just starting to switch between MIDI files, then there you go.
What MIDI driver and FF7 MIDI pack setting (GM, XG, or SF2?) are you using?