<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>> > I run nm and find the name of the procedures ( PS : without nm-Ewald's tip, you must be a high soothsayer to find it)<br>> > For example, a C called procedure : soundtouch_getVersionString() becomes : _ZN10soundtouch10SoundTouch16getVersionStringEv() !!!<br>> > <br>> <br>> The _ZN10soundtouch10SoundTouch16getVersionStringEv name mangling<br>> suggests that this is a C++ lib, not a C lib. Generally speaking, you<br>> can't call C++ libs from fpc.<br>> <br>> Ludo<br><br>Yep, Ludo, many thanks to take care but...<br><br>I have a test program who use some procedures to test , for example :<br><br> FVersionID := soundtouch_getVersionId(); <br> FVersionString := StrPas(soundtouch_getVersionString());   <br> <br>  writeln(FVersionID); <br>  writeln(FVersionString);<br><br>>>> Result : <br><br>> 10800<br>> 1.8.0<br><br>So, it seems to work...<br><br>Those procedures are declared as this :<br><br>Pointer(soundtouch_getVersionId)    := GetProcAddress(LibHandle, Pchar('_ZN10soundtouch10SoundTouch12getVersionIdEv'));  <br> <br>Pointer(soundtouch_getVersionString):= GetProcAddress(LibHandle,Pchar('_ZN10soundtouch10SoundTouch16getVersionStringEv'));  <br><br>I only have problem with :<br>_ZN10soundtouch10SoundTouch16getVersionStringEv()...<br><br></div>                                      </div></body>
</html>