Hello and many thanks to help. Here demo to show the problem (i hope).
>> https://sites.google.com/site/fiensprototyping/dynlib_vs_windows.zip There is a program : test.pas It uses a external library soundtouch_2.dll. There are 2 wrappers : soundtouch_windows.pas (who uses windows unit) and soundtouch_dynlib.pas (who uses dynlib unit) There are also 4 binaries : test_windows_fpc262.exe => OK, works (use soundtouch_windows.pas and compiled with fpc 262) test_windows_fpc271.exe => NO, does NOT work (use soundtouch_windows.pas and compiled with fpc 271) test_dynlib_fpc262.exe => NO, does NOT work (use soundtouch_dynlib.pas and compiled with fpc 262) test_windows_fpc271.exe => NO, does NOT work (use soundtouch_windows.pas and compiled with fpc 271) You may test the prog with soundtouch_windows.pas or soundtouch_dynlib.pas (uncomment the one you want in use section). Many thanks.
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal