<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br><div>> What is the value of the handle that was returned?<br>> <br>> Ludo<br><br>Re-hello Ludo.<br><br>That code :<br><br>if ST_Load('/home/fred/dynlib_vs_windows/libSoundTouch.so') then <br>   writeln('libSoundTouch.so loaded'); <br> if FHandle <> NilHandle then soundtouch_clear(FHandle);     <br> FHandle := soundtouch_createInstance();  <br>  writeln(FHandle);  <br> FVersionID := soundtouch_getVersionId(); <br>  writeln(FVersionID); <br> FVersionString := StrPas(soundtouch_getVersionString());   <br>  writeln(FVersionString); <br> soundtouch_setChannels(FHandle, 2); <br> writeln('OK SetChannels'); <br> soundtouch_setSampleRate(FHandle, 44100); <br> writeln('OK SampleRate'); <br> <br> > Gives that result :<br><br>libSoundTouch.so loaded<br>22351184<br>10800<br>1.8.0<br>OK SetChannels<br>An unhandled exception occurred at $00007FE493CE2AE8:<br>EAccessViolation: Access violation<br>  $00007FE493CE2AE8<br>------------------<br>(program exited with code: 217)<br><br><br></div>                                           </div></body>
</html>