How do I use Beep in FMX?
How do I use Beep in FMX?
According to the documentation, it is meant to be a cross platform procedure but I get the message that it is an inline function and need to use WinApi.Windows. When I do this, I need to use the Beep(freq, dur) form.
Anyone knows how I go about using this very sophisticated procedure?
Thanks
According to the documentation, it is meant to be a cross platform procedure but I get the message that it is an inline function and need to use WinApi.Windows. When I do this, I need to use the Beep(freq, dur) form.
Anyone knows how I go about using this very sophisticated procedure?
Thanks
Yes!!! Super annoying hints. I try to clean my code but in this case I guess I have to live with those. Thanks guys
ReplyDeleteIf I use {$HINTS OFF/ON} in that procedure it wouldn't harm, right?
ReplyDeleteIt would not. That hint is just there to tell you that a potentially inlined routine could not be inlined. Rather ironic as there are so many more reasons why some code will not get inlined that the compiler does not notify of. -.-
ReplyDelete