Hi Charles,
that is just amazing, and I can only say "Wow!". Oxide can now compile and execute the source code immediately integrating the resource file. This gives a total new feeling. You have taken another (very) big step in the development of Oxygenbasic.
Roland
% SND_SYNC = 0
% SND_RESOURCE = 262148
! PlaySound lib "winmm.dll" alias "PlaySoundA"
! Sleep lib "kernel32.dll"
uses wow.res
Sleep 500
PlaySound("MySound", 0, SND_RESOURCE or SND_SYNC)
Sleep 300
PlaySound("MySound", 0, SND_RESOURCE or SND_SYNC)
print "Wow!"