Is it possible to get the GDC to play a sound by using the a Frontcall to the winmm library (sndPlaySoundA function I believe)? I've tried and not had much success. If I use the wrong library or function name it errors accordingly, but if I use
CALL ui.Interface.frontcall("winmm","sndPlaySoundA",["file.wav",0],[l_res])
it simply crashes the GDC. Possibly I haven't got the parameters correct, or maybe it's not possible to call such a function directly.