Re: [Lazarus] how to TXMLPropStorage SaveToStream() LoadFromStream

2014-07-03 Thread Virgo Pärna
On Thu, 03 Jul 2014 13:26:46 +0300, FreeMan freema...@delphiturkiye.com wrote: I add my test project. 03-07-2014 11:34 tarihinde, Virgo Pärna yazdı: At which line that error occured? TmyCustomXMLPropStorage(XMP).XMLConfig.SaveToStream(st);//error is hear XMLConfig is NIL !!!

[Lazarus] Compiling svn Lazarus on Linux/windows

2014-07-03 Thread John Landmesser
i can compile any svn version of lazarus on linux using fpc 2.6.2 but on windows i have(!!) to use fpc 2.6.4. Why that? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Some suggestions

2014-07-03 Thread Michael Van Canneyt
Hi, I've finally been able to upgrade my lazarus so I could enjoy the new functionalities in the package manager/project manager and the messages dialog. In general, the new functionalities are a real joy to work with, kudos to the lazarus team... Some annoyances I noticed which can

Re: [Lazarus] Some suggestions

2014-07-03 Thread Juha Manninen
On Thu, Jul 3, 2014 at 2:19 PM, Michael Van Canneyt mich...@freepascal.org wrote: I'm using GTK2 version of lazarus This is not directly related to your other comments but there are good news for GTK2 users. The issue #20202 from 2011 got finally solved.

Re: [Lazarus] Some suggestions

2014-07-03 Thread Graeme Geldenhuys
On 2014-07-03 13:08, Juha Manninen wrote: The issue #20202 from 2011 got finally solved. http://bugs.freepascal.org/view.php?id=20202 Fantastic! Thank you so much Juha. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

[Lazarus] CGI Response.ContentStream client break

2014-07-03 Thread Leonardo M . Ramé
Hi, I have a CGI program that serves some files using this code in an action: AResponse.ContentStream := TFileStream.Create(lImagePath, fmOpenRead); The problem I'm facing is that some times the client breaks the connection to the server, aparently leaving the file open. If the client tries to

Re: [Lazarus] CGI Response.ContentStream client break

2014-07-03 Thread silvioprog
2014-07-03 16:51 GMT-03:00 Leonardo M. Ramé l.r...@griensu.com: Hi, I have a CGI program that serves some files using this code in an action: AResponse.ContentStream := TFileStream.Create(lImagePath, fmOpenRead); The problem I'm facing is that some times the client breaks the connection to

Re: [Lazarus] CGI Response.ContentStream client break

2014-07-03 Thread Leonardo M . Ramé
On 2014-07-03 17:20:53 -0300, silvioprog wrote: 2014-07-03 16:51 GMT-03:00 Leonardo M. Ramé l.r...@griensu.com: Hi, I have a CGI program that serves some files using this code in an action: AResponse.ContentStream := TFileStream.Create(lImagePath, fmOpenRead); The problem I'm facing

Re: [Lazarus] CGI Response.ContentStream client break

2014-07-03 Thread Leonardo M . Ramé
On 2014-07-03 17:28:41 -0300, Leonardo M. Ramé wrote: On 2014-07-03 17:20:53 -0300, silvioprog wrote: 2014-07-03 16:51 GMT-03:00 Leonardo M. Ramé l.r...@griensu.com: Hi, I have a CGI program that serves some files using this code in an action: AResponse.ContentStream :=

Re: [Lazarus] CGI Response.ContentStream client break

2014-07-03 Thread silvioprog
2014-07-03 17:33 GMT-03:00 Leonardo M. Ramé l.r...@griensu.com: [...] Mmm, no, too fast. Maybe the problem is on the client side. I'm using Synapse library as client, and I'm issuing THttpSend's Abort method to stop downloading. You can change your 'broker' to a embedded HTTP server, and

Re: [Lazarus] Some suggestions

2014-07-03 Thread Juha Manninen
On Thursday, July 3, 2014, Graeme Geldenhuys mailingli...@geldenhuys.co.uk wrote: Fantastic! Thank you so much Juha. Thanks for the feedback Graeme. People may have looked at wrong places because the crash happened mostly (or only) with GTK2. I am still not 100% sure of the reasons. Now the