On Monday 04 April 2016 17:24:41 Fred van Stappen wrote:

> I have some trouble with Tfilenameedit.
>
> If using:
>
> uos_LoadLib(Pchar('/home/fred/uos_mse/lib/Linux/64bit/LibPortaudio-64.so'))
> -> it works.
>
> But when using:
> Afilenameedit.value :=
> '/home/fred/uos_mse/lib/Linux/64bit/LibPortaudio-64.so' ;
> uos_LoadLib(Pchar(Afilenameedit.value)) ; -> it does not work.
>
> Do you have a idea why it does not work ?
>
Because TFileNameEdit.Value is a "filenamety" not an "AnsiString". Please 
use "uos_LoadLib(Pchar(AnsiString(Afilenameedit.value)))" or one of the 
functions in "lib/common/kernel/msedynload.pas", they have "filenamety" 
parameters.

Martin

------------------------------------------------------------------------------
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to