Re_hello.

Huh, i am loosed...

Here the working script run by TProcess (but that cannot be canceled)=>
________________________________________________
#!/bin/sh
LIBPORTAUDIO=libportaudio.so  #portaudio library
ESPEAKBIN=espeak                 #espeak binary
CALLDIR=${0%/*}/                    # directory where is ESPEAKBIN
export LD_PRELOAD=$CALLDIR$LIBPORTAUDIO
$CALLDIR/$ESPEAKBIN 
_______________________________________________

Now, i try to do the same with TProcess.environment =>

 - AProcess.Environment.Text := 'export
LD_PRELOAD=/home/fred/sak/sak/sakit/liblinux64/libportaudio.so'  ;   
=> do not work ;-(

 - AProcess.Environment.Text :=
'LD_LIBRARY_PATH=/home/fred/sak/sak/sakit/liblinux64/'  ;   
=> do not work too ;-(

Is the way how i use AProcess.Environment ok ?
Maybe i did something wrong while using environment...

Thanks.

Fre;D


 



-----
Many thanks ;-)
--
View this message in context: 
http://free-pascal-general.1045716.n5.nabble.com/loadlibrary-unsafe-tp5721801p5721866.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to