Re: [Lazarus] Asyncronous socket error lNet

2008-09-29 Thread Usuario Anónimo
I can´t fill the buffer, SendMessage never returns 0. Why? My code: procedure TForm1.Button1Click(Sender: TObject); var Buffer: string; Sent: integer; begin Buffer := 'START—…—END'; // –> 1198469 characters Sent := LTCPComponent1.SendMessage(Buffer,LTCPComponent1.Iterator); if Sent = 0

Re: [Lazarus] [patch] File Browser add-on

2008-09-29 Thread Graeme Geldenhuys
On Mon, Sep 29, 2008 at 2:52 PM, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote: > Why not? > > Windows CE is a very flexible operating system, and is also used in > tablets, not only in PDAs. If the system has a big enought screen it > should be able to run Lazarus. Ha, I was thinking only

Re: [Lazarus] [patch] File Browser add-on

2008-09-29 Thread Felipe Monteiro de Carvalho
On Mon, Sep 29, 2008 at 8:57 AM, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > Can the Lazarus IDE itself actually run on WinCE? I would have > imagined, no. Why not? Windows CE is a very flexible operating system, and is also used in tablets, not only in PDAs. If the system has a big enought sc

Re: [Lazarus] [patch] File Browser add-on

2008-09-29 Thread Graeme Geldenhuys
On Mon, Sep 29, 2008 at 1:56 PM, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: >> * On windows it doesn't seem to remember the last selected dir or the the >> project dir. > > If you look at the code, you'll see that it uses the standard lazarus > interface for settings, so that is very strange ?

Re: [Lazarus] [patch] File Browser add-on

2008-09-29 Thread Graeme Geldenhuys
On Mon, Sep 29, 2008 at 2:16 PM, Vincent Snijders <[EMAIL PROTECTED]> wrote: >> If you look at the code, you'll see that it uses the standard lazarus >> interface for settings, so that is very strange ? > > I haven't debugged it. But I think the directory is stored, but not correctly > applied. It

Re: [Lazarus] [patch] File Browser add-on

2008-09-29 Thread Vincent Snijders
Graeme Geldenhuys schreef: > On Mon, Sep 29, 2008 at 1:38 PM, Vincent Snijders <[EMAIL PROTECTED]> wrote: >>> http://bugs.freepascal.org/view.php?id=12178 >> Applied in r16792. > > Thanks. > > >> Some remarks (tested on windows 2000): >> * I would use {$IFDEF WINDOWS} instead of {$IFDEF MSWINDOW

Re: [Lazarus] [patch] File Browser add-on

2008-09-29 Thread Vincent Snijders
Michael Van Canneyt schreef: > > On Mon, 29 Sep 2008, Vincent Snijders wrote: >> * On windows it doesn't seem to remember the last selected dir or the the >> project dir. > > If you look at the code, you'll see that it uses the standard lazarus > interface for settings, so that is very strange ?

Re: [Lazarus] [patch] File Browser add-on

2008-09-29 Thread Graeme Geldenhuys
On Mon, Sep 29, 2008 at 1:38 PM, Vincent Snijders <[EMAIL PROTECTED]> wrote: >> >> http://bugs.freepascal.org/view.php?id=12178 > > Applied in r16792. Thanks. > Some remarks (tested on windows 2000): > * I would use {$IFDEF WINDOWS} instead of {$IFDEF MSWINDOWS}. The latter is > not > defined f

Re: [Lazarus] [patch] File Browser add-on

2008-09-29 Thread Michael Van Canneyt
On Mon, 29 Sep 2008, Vincent Snijders wrote: > Graeme Geldenhuys schreef: > > I hope others find this useful. :) > > > > http://bugs.freepascal.org/view.php?id=12178 > > Applied in r16792. > > Some remarks (tested on windows 2000): > * I would use {$IFDEF WINDOWS} instead of {$IFDEF MSWINDOW

Re: [Lazarus] [patch] File Browser add-on

2008-09-29 Thread Vincent Snijders
Graeme Geldenhuys schreef: > I hope others find this useful. :) > > http://bugs.freepascal.org/view.php?id=12178 Applied in r16792. Some remarks (tested on windows 2000): * I would use {$IFDEF WINDOWS} instead of {$IFDEF MSWINDOWS}. The latter is not defined for wince. But maybe you don't want

Re: [Lazarus] [patch] File Browser add-on

2008-09-29 Thread Vincent Snijders
Graeme Geldenhuys schreef: > I hope others find this useful. :) > > http://bugs.freepascal.org/view.php?id=12178 > Why does it have: // alias type TStartDir = frmConfigFileBrowser.TStartDir; It seems to compile and install fine without the type redefinition alias. Vincent

Re: [Lazarus] Asyncronous socket error lNet

2008-09-29 Thread Aleš Katona
Dňa Ne, 2008-09-28 o 20:14 +0200, Usuario Anónimo napísal: > I get an asyncronous socket error. > > This is my code. > > procedure TForm1.Button1Click(Sender: TObject); > var > Item: string; > begin > System.Assign(DataModule1.ItemFile,'items.txt'); > System.Reset(DataModule1.ItemFile); >

Re: [Lazarus] Asyncronous socket error lNet

2008-09-29 Thread Michael Van Canneyt
> > > On Mon, 29 Sep 2008, Aleš Katona wrote: > > > Dňa Ne, 2008-09-28 o 20:14 +0200, Usuario Anónimo napísal: > > I get an asyncronous socket error. > > > > This is my code. > > > > procedure TForm1.Button1Click(Sender: TObject); > > var > > Item: string; > > begin > > System.Assign(Dat