tear.drop
Feb 28th, 2001, 10:28 AM
Well i wrote a program which was usin intensively sounds (through a mm control) and i notice that after a day even my pIV gets slown, I guessed it was a leak in memory by the microsoft designed control, so i rewrote it with the sound API (
Private Declare Function mciSendString Lib "winmm.dll" Alias _
"mciSendStringA" (ByVal lpstrCommand As String, _
ByVal lpstrReturnString As String, _
ByVal uReturnLength As Long, ByVal hwndCallback As Long) As Long
and so on... u know the rest... well a simple loop playing varioous short sounds continiously...). Same problem after a day the memory get filled!!! So, I beg ur help that really important please tell me how to play sounds during a long time without filling unrelentlessly my disk buffer or my RAM or whatever it is.... thx by advance!!!
Private Declare Function mciSendString Lib "winmm.dll" Alias _
"mciSendStringA" (ByVal lpstrCommand As String, _
ByVal lpstrReturnString As String, _
ByVal uReturnLength As Long, ByVal hwndCallback As Long) As Long
and so on... u know the rest... well a simple loop playing varioous short sounds continiously...). Same problem after a day the memory get filled!!! So, I beg ur help that really important please tell me how to play sounds during a long time without filling unrelentlessly my disk buffer or my RAM or whatever it is.... thx by advance!!!