Hello all, new to Gambit and scheme in general. I wanted to use some Windows API, so I searched for code snippets on how to load and call functions in a DLL, first on the FFI Cookbook[1], then at Rosetta Code[2], but no luck. Could anyone make a short example please? I know it is probably in the manual, but upon a quick search, I'm unable to identify what pieces exactly I should join to do it.
One function I'd like to call is PlaySound, which is found in winmm.dll[3].
thanks for any help.
[1] https://github.com/schemedoc/ffi-cookbook/ [2] https://rosettacode.org/wiki/Call_a_function_in_a_shared_library [3] https://learn.microsoft.com/en-us/previous-versions/dd743680(v=vs.85)
Cleverson