Re: [Lazarus] FPC/Lazarus based backup system

2011-08-22 Thread ik
On Mon, Aug 22, 2011 at 16:41, Bart wrote: > On 8/21/11, ik wrote: > > Does any of you know of a good backup system written using FPC/Lazarus, > > working inside Linux and open source ? > > > > What capabilities must it have? > Saving new snapshots of things that where change, but looking with

Re: [Lazarus] Help with AllocateHwnd in Lazarus 0.9.30 on WindowsXP

2011-08-22 Thread Max Vlasov
On Mon, Aug 22, 2011 at 8:43 PM, Curt Carpenter <1cjcarpen...@att.net> wrote: > Can anyone tell me if AllocateHwnd is implemented in my version of Lazarus, > and where I may be going wrong in > my usage?  I'm stumped.   I see that it was discussed quite a bit in 2007, > but not sure of the current

[Lazarus] Help with AllocateHwnd in Lazarus 0.9.30 on WindowsXP

2011-08-22 Thread Curt Carpenter
I have a non-visual component that uses AllocateHwnd and DeAllocateHwnd. My component compiles, but gives me a 'RunError(217)' when I try to use it in a test program . The error is occurs at the AllocateHwnd instruction in my component's constructor, where the exact usage is: if

Re: [Lazarus] FPC/Lazarus based backup system

2011-08-22 Thread Luiz Americo Pereira Camara
On 22/8/2011 07:38, ik wrote: On Mon, Aug 22, 2011 at 13:39, Michael Schnell > wrote: On 08/21/2011 07:30 PM, ik wrote: Hi, Does any of you know of a good backup system written using FPC/Lazarus, working inside Linux and open source ?

Re: [Lazarus] Help with basic pointer operations

2011-08-22 Thread michael . vancanneyt
On Mon, 22 Aug 2011, Tommi Prami wrote: Hello, I kind of always try to stay away from the pointers, but now I maybe need to use them... I think this is not correct yet (at least it does not to 100% what I like) : var LSimpleStr : string; LTmpWStr : array [0..250] of WideChar; .

[Lazarus] Help with basic pointer operations

2011-08-22 Thread Tommi Prami
Hello, I kind of always try to stay away from the pointers, but now I maybe need to use them... I think this is not correct yet (at least it does not to 100% what I like) : var LSimpleStr : string; LTmpWStr : array [0..250] of WideChar; ... LSimpleStr := 'Some text'; mwStrToW

Re: [Lazarus] [fpc-devel] C++ gets language-internal concurrency support

2011-08-22 Thread leledumbo
> I seem to remember that there is an article about same in the FPC Wiki. Yep, here: http://wiki.lazarus.freepascal.org/OpenMP_support but it looks like no one is working on it... More can be found here: http://wiki.lazarus.freepascal.org/Category:Parallel_programming -- View this message in co

Re: [Lazarus] FPC/Lazarus based backup system

2011-08-22 Thread Bart
On 8/21/11, ik wrote: > Does any of you know of a good backup system written using FPC/Lazarus, > working inside Linux and open source ? > What capabilities must it have? I have a "stupid backup program" written in Lazarus, but as the name suggests it is very very very basic (in fact it can do l

Re: [Lazarus] FPC/Lazarus based backup system

2011-08-22 Thread Felipe Monteiro de Carvalho
On Mon, Aug 22, 2011 at 2:53 PM, Henry Vermaak wrote: > So you don't back up your svn repo? No, assembla takes care of that. I rent a svn repo from assembla instead of hosting my own. -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] FPC/Lazarus based backup system

2011-08-22 Thread Henry Vermaak
On 22/08/11 12:06, Felipe Monteiro de Carvalho wrote: On Mon, Aug 22, 2011 at 12:51 PM, Michael Schnell wrote: but I do not want to cli every time i need to backup. And I prefer Pascal programs then C/++ based. :) So you can't use Linux. rsync is just a standard gnu tool provided with Linux. A

Re: [Lazarus] FPC/Lazarus based backup system

2011-08-22 Thread Michael Schnell
On 08/22/2011 02:23 PM, Marco van de Voort wrote: There are windows versions too, and there is http://librsync.sourceforge.net/ Even the better ... But rsync relies on hardlinks. I do know that recent versions of NTFS do support links, but I am not sure about the features. I do know that rsy

Re: [Lazarus] FPC/Lazarus based backup system

2011-08-22 Thread ik
On Mon, Aug 22, 2011 at 13:51, Michael Schnell wrote: > On 08/22/2011 12:38 PM, ik wrote: > >> >> To manage things in a more easy way. >> > Dirvish is _very_ easy. And the advantage of rsync is that it does an > incremental backup without the need for any restore tool. A file browser > just works

Re: [Lazarus] FPC/Lazarus based backup system

2011-08-22 Thread Marco van de Voort
In our previous episode, Michael Schnell said: > > Even a daemon for automated backups with rsync is good. > You don't need a dedicated daemon. Chron is provided for this. > > but I do not want to cli every time i need to backup. And I prefer > > Pascal programs then C/++ based. :) > > > So you ca

Re: [Lazarus] FPC/Lazarus based backup system

2011-08-22 Thread Felipe Monteiro de Carvalho
On Mon, Aug 22, 2011 at 12:51 PM, Michael Schnell wrote: >> but I do not want to cli every time i need to backup. And I prefer Pascal >> programs then C/++ based. :) > So you can't use Linux. rsync is just a standard gnu tool provided with > Linux. And Dirvish is just a script. I don't see anythi

Re: [Lazarus] FPC/Lazarus based backup system

2011-08-22 Thread Michael Schnell
On 08/22/2011 12:38 PM, ik wrote: To manage things in a more easy way. Dirvish is _very_ easy. And the advantage of rsync is that it does an incremental backup without the need for any restore tool. A file browser just works for this Even a daemon for automated backups with rsync is good. Yo

Re: [Lazarus] FPC/Lazarus based backup system

2011-08-22 Thread ik
On Mon, Aug 22, 2011 at 13:39, Michael Schnell wrote: > On 08/21/2011 07:30 PM, ik wrote: > >> Hi, >> >> Does any of you know of a good backup system written using FPC/Lazarus, >> working inside Linux and open source ? >> >> Why would you want this ? In most cases rsync does a perfect job. Doing

Re: [Lazarus] FPC/Lazarus based backup system

2011-08-22 Thread Michael Schnell
On 08/21/2011 07:30 PM, ik wrote: Hi, Does any of you know of a good backup system written using FPC/Lazarus, working inside Linux and open source ? Why would you want this ? In most cases rsync does a perfect job. Doing rsync with the help of Dirvish performs the backup perfectly automatic.

Re: [Lazarus] RE : Forms in DLL

2011-08-22 Thread Michael Schnell
On 08/19/2011 09:48 PM, Hans-Peter Diettrich wrote: Michael Schnell schrieb: OK. My impression that each TApplication instance needs it's own thread to work decently. Sorry, I don't understand that whole discussion IMHO both kinds of "Shared Object GUI" might be useful for appropriate proj

Re: [Lazarus] [fpc-devel] C++ gets language-internal concurrency support

2011-08-22 Thread Michael Schnell
On 08/19/2011 01:53 PM, David W Noon wrote: The 2011 C++ standard does not, but GCC and a few other compilers offer a facility called OpenMP that parallelises loops; it works for C, C++ and FORTRAN, at least within GCC. I do know about OpenMP and I seem to remember that there is an article abou