Re: Background music...

new topic     » goto parent     » topic index » view thread      » older message » newer message

>  Hope to see euphoria for windows soon.  Then we will be able call
>functions in the
>DLL (except gui ones as it will be console version).  And that means all
>sound api will be accessible (provide we know the interface of those
>functions). I searched the
>net for windows 95 api definitions but didn't find it.  If someone knows
>where to find it please let me know.

 Visual Basic 3,4 and 5 for windows comes with an excellent API list, but I
don't know if API and DLL support in a future Win32 Euphoria would be like
it is in VB. For playing
a wav file in VB for example, just:
-----------
Const SYNC = 1
handler = sndPlaySound(ByVal CStr("filename.wav"), SYNC)
-----------
and in the declaration section:
-----------
Declare Function waveOutGetNumDevs Lib "winmm" () As Long
Declare Function sndPlaySound Lib "winmm" Alias "sndPlaySoundA" (ByVal
lpszSoundName As String, ByVal uFlags As Long) As Long
-----------
It would be great if this future Win32 Euphoria support DLL calls like VB
does.

---
Ricardo Niederberger Cabral
rnc at infolink.com.br

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu