Re: [Lazarus] How to encrypt/decrypt with OpenSSL unit

2010-02-02 Thread dayat
Yes, with base64 unit. Graeme and DoDi thanks for the advices. Regards Hidayat On Tue, Feb 2, 2010 at 2:21 PM, Hans-Peter Diettrich wrote: > dayat schrieb: > > > Thanks Sir, did you know how to encrypt/decrypt string with base64 encode >> using openssl unit in freepascal. H

Re: [Lazarus] How to encrypt/decrypt with OpenSSL unit

2010-02-01 Thread dayat
Thanks Sir, did you know how to encrypt/decrypt string with base64 encode using openssl unit in freepascal. Have you an example to do this. Thanks Hidayat On Tue, Feb 2, 2010 at 1:22 AM, Hans-Peter Diettrich wrote: > dayat schrieb: > > > Anyone know how to encrypt/decrypt PWideCh

[Lazarus] How to encrypt/decrypt with OpenSSL unit

2010-01-31 Thread dayat
Hi all, Anyone know how to encrypt/decrypt PWideChar or String with OpenSSL unit in freepascal. thanks before, Hidayat -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] How to getting network bandwidth in linux

2009-07-19 Thread dayat
Thank you Henry, this information is very useful. Currently I'm exploring the /proc/net. Best regards, Hidayat On Fri, Jun 12, 2009 at 3:45 PM, Henry Vermaak wrote: > 2009/6/12 dayat : > > Hi all, > > > > My plan, the system will to monitor the network devices in linu

[Lazarus] Compiling Indy for WinCE

2009-07-19 Thread dayat
Hi, I try to build my app to run in WinCE with the Indy components included. When I build this, the error message appear like: IdAboutVCL.pas(234,18) Fatal: Can't find unit IdGlobal used by IdAboutVCL. But when I build with win32 LCL no have a problem. Should Indy components compiled with OS_TARGE

Re: [Lazarus] Sockets

2009-07-16 Thread dayat
March, There are other ways to send the data through the network with freepascal. Ever you use lnet or indy in lazarus? Can we use this component to send data over network. Regards, Hidayat On 7/16/09, Marc Weustink wrote: > dayat wrote: >> Hello Marc, >> >> Thanks for

Re: [Lazarus] Sockets

2009-07-15 Thread dayat
(sin, buffer); writeln('server : read : ', buffer); end; end. {---} I'm just copy this code from doc/rtl.pdf file in sockets units part. I'm using freepascal 2.2.4 Regard Hidayat On 7/15/09, Marc Weustink wrote: > dayat wrote: >> Hi, I'm newbi

[Lazarus] Sockets

2009-07-14 Thread dayat
Hi, I'm newbie in sockets programming. I have code like: if not Accept(S, FromName, Sin, Sout) then perror('Server accept: '+FromName); The FromName variable is string. And when the Accept() function executed I got the error like: project1.lpr(31,28) Error: Call by var for arg no. 2 has to

[Lazarus] How to getting network bandwidth in linux

2009-06-11 Thread dayat
Hi all, My plan, the system will to monitor the network devices in linux, such bandwidth, how many active connections, etc, like sockmon or iptables. I want to know, can freepascal doing this. What the Linux APIs to call from freepascal. Or can freepascal call the iptables API. I'm confused, beca

Re: [Lazarus] Params in ZeosDBO not working

2009-05-15 Thread dayat
n Fri, May 15, 2009 at 11:38 PM, zeljko wrote: > On Friday 15 May 2009 10:32, dayat wrote: > > Hi, > > > > I'm using fpc 2.2.4, lazarus 0.9.26.2, zeosdbo 6.6.3-stable. I'm > executing > > sql commands in TZSQLProcessor using params for changing the values.

[Lazarus] Params in ZeosDBO not working

2009-05-15 Thread dayat
On Sun, 17 May 2009 13:46:38 +0200 tiziano de togni wrote: > Using the command: test$TargetOS().cmd the IDE executes the script > testlinux.cmd or testwin32.cmd for the respective platform. > > So, the macro I asked for is not really so useful... Well, I think it is, even if it is not necessary