[fpc-pascal]Calling intr from Windows

Jeff Wormsley daworm10 at comcast.net
Tue Mar 19 05:00:34 CET 2002


On 3/18/2002 at 12:15 PM Jonas Maebe wrote:

> OTOH, for you it may be OK that sound() doesn't take
> the frequency into account under Win32, but we get regular bugreports
> about that. 

Why doesn't Sound work?  Under Win32 the Kernal32 function Beep does it.  

function Beep(dwFreq, dwDuration: DWORD): BOOL; stdcall;
function Beep; external kernel32 name 'Beep';

Works in XP, at least.

Jeff.








More information about the fpc-pascal mailing list