Re: [fpc-devel] Strange behaviour with Synapse

2013-03-18 Thread Michael Schnell
On 03/17/2013 09:05 AM, Ludo Brands wrote: you create a string for the GUI, synchronize to update the screen, call Application.Processmessages to make sure the GUI gets updated. I would suggest to do those GUI updates by QueueAsyncCall() or TThread.Queue() (TThread.Queue uses the same syntax as

Re: [fpc-devel] Strange behaviour with Synapse

2013-03-18 Thread Michael Schnell
On 03/16/2013 07:55 PM, Ludo Brands wrote: Well it can always cause a problem because FHttp.Clear clears the Header and Document. If that happens while you are executing the HEAD, strange results can happen. In fact a a very recent project my problem was that I misread the Synapse Docu and assu

Re: [fpc-devel] Strange behaviour with Synapse

2013-03-17 Thread Ludo Brands
On 03/16/2013 07:55 PM, Ludo Brands wrote: > On 03/16/2013 07:29 PM, Geoffray Levasseur-Brandin wrote: >> This is somewhat complex, I know it, but this have been created >> keeping in mind that I would like to allow parallelization of >> downloads in the future, as you was supposing it. But I'm agr

Re: [fpc-devel] Strange behaviour with Synapse

2013-03-16 Thread Ludo Brands
On 03/16/2013 07:29 PM, Geoffray Levasseur-Brandin wrote: > Hum maybe you have Synapse installed in your Lazarus as I'm briging > it with the application (and it's appearing in project manage). Synapse is not in my default path. So that is not the problem. It complained about a duplicate resource

Re: [fpc-devel] Strange behaviour with Synapse

2013-03-16 Thread Geoffray Levasseur-Brandin
Le samedi 16 mars 2013 19:29:15 Geoffray Levasseur-Brandin a écrit : > > There is quite more needed to get the code running. I can't get it > > compiled on my kubuntu 12.04. It complains about duplicate resources. > > Hum maybe you have Synapse installed in your Lazarus as I'm briging it with > the

Re: [fpc-devel] Strange behaviour with Synapse

2013-03-16 Thread Geoffray Levasseur-Brandin
Le samedi 16 mars 2013 18:25:20 Ludo Brands a écrit : > There is quite more needed to get the code running. I can't get it > compiled on my kubuntu 12.04. It complains about duplicate resources. Hum maybe you have Synapse installed in your Lazarus as I'm briging it with the application (and it's a

Re: [fpc-devel] Strange behaviour with Synapse

2013-03-16 Thread Ludo Brands
On 03/16/2013 03:48 PM, Geoffray Levasseur-Brandin wrote: > I'm mailing you as I have a very strange behaviour of a program > I'm making > using FPC 2.6.2 and Lazarus from trunk (updated this morning). As far as I > know it's either a compiler bug or a Synapse bug. That is always a dangerous assum

[fpc-devel] Strange behaviour with Synapse

2013-03-16 Thread Geoffray Levasseur-Brandin
Hi everybody, I'm mailing you as I have a very strange behaviour of a program I'm making using FPC 2.6.2 and Lazarus from trunk (updated this morning). As far as I know it's either a compiler bug or a Synapse bug. Let me explain... The project is a GUI for the Spack package manager used by a Li