Re: [Lazarus] Remote application

2012-10-30 Thread Michael Schnell
On 10/29/2012 06:43 PM, Bernd wrote: NX also has the advantage you can just forward one application only, not the entire desktop. This sounds great for another purpose, that I supposedly will be facing next year: Doing a headless embedded device with ARM/Linux and allow for a remote user (via

Re: [Lazarus] Cross-compiling - MIPS

2012-10-30 Thread Mark Morgan Lloyd
Red herring alert :-) SkyDiablo wrote: [Built what he believed was a binary for mipsel, and on running it on the target got] # cat /proc/version Linux version 2.6.32.27 (gcc version 4.3.3 (GCC) ) # sh helloWorld4MIPS helloWorld4MIPS: line 1: syntax error: unexpected ( I've just had

[Lazarus] WinCE strings

2012-10-30 Thread Antonio Fortuny
Hi Folks. I'm facing again a boring problem: a TLabel is dropped onto a TForm. Then somewhere in the application the following snippet is executed: ... MyForm.MyLabel.Caption := 'Hi Folks' +#13#10+ 'Are you there ?'; MyForm.ShowModal; ... and what is displayed on the scrren in the label

Re: [Lazarus] WinCE strings

2012-10-30 Thread Hans-Peter Diettrich
Antonio Fortuny schrieb: Hi Folks. I'm facing again a boring problem: a TLabel is dropped onto a TForm. Then somewhere in the application the following snippet is executed: ... MyForm.MyLabel.Caption := 'Hi Folks' +#13#10+ 'Are you there ?'; MyForm.ShowModal; ... and what is displayed on the

Re: [Lazarus] WinCE strings

2012-10-30 Thread Felipe Monteiro de Carvalho
Probably the corresponding WinAPI from WinCE lacks the hability to render multiple lines of text. There are many small differences between Win32/64 APIs and WinCE APIs which cause such issues. -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list

Re: [Lazarus] WinCE strings

2012-10-30 Thread Antonio Fortuny
OK Chaps. This looks like qhat I suspected. I'll try to get a workaround Thanks anyway Antonio. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Remote application

2012-10-30 Thread Bernd
2012/10/29 Santiago A. s...@ciberpiula.net: Thank you very much, that is exactly what I wanted. What about performance and latency? There still is a noticeable delay but it is orders of magnitude faster than VNC or conventional X11 tunneling. It is comparable to the performance of RDP. You

Re: [Lazarus] Remote application

2012-10-30 Thread Bernd
2012/10/30 Michael Schnell mschn...@lumino.de: 1) the Server is an ARM device 2) the application is already running (supposedly showing it's GUI on some virtual Desktop provided by the NX infrastructure) when NX attaches to it. * It is possible to attach to a local running desktop (only to

Re: [Lazarus] Remote application

2012-10-30 Thread Michael Schnell
On 10/30/2012 12:48 PM, Bernd wrote: * It is possible to attach to a local running desktop (only to the entire Desktop as far as I know) but then the performance degrades heavily I don't see why this should be that way, but I would need to do further investigations to find out if/how this can

Re: [Lazarus] WinCE strings

2012-10-30 Thread Antonio Fortuny
Le 30/10/2012 11:36, Antonio Fortuny a écrit : OK Chaps. This looks like qhat I suspected. I'll try to get a workaround Quite simple: replace TLabel by TStaticText and everything looks fine Thanks anyway Antonio. -- ___ Lazarus mailing list

[Lazarus] Indy WinCE

2012-10-30 Thread Antonio Fortuny
Hi All. I'm testing last Indy release (10.5.9) with Lazarus. The indylaz.lpk compiles OK for Win32 (did not install in IDE though) I've made a test and it runs well so far. Next step is to compile for WinCE and there there are some problems: 1. IdWinsock2.pas added {$IFNDEF WINCE} to exclude

Re: [Lazarus] Remote application

2012-10-30 Thread Bernd
2012/10/30 Michael Schnell mschn...@lumino.de: On 10/30/2012 12:48 PM, Bernd wrote: * It is possible to attach to a local running desktop (only to the entire Desktop as far as I know) but then the performance degrades heavily I don't see why this should be that way, but I would need to do

Re: [Lazarus] Indy WinCE

2012-10-30 Thread Felipe Monteiro de Carvalho
NOT solved: line 1685: if AEnabled and (Win32MajorVersion = 5) then Win32MajorVersion is not known It checks if it is WinXP or newer. My best guess would be to substitute (Win32MajorVersion = 5) with False for WinCE. You can either substitute it for False or for True. I think that False is

Re: [Lazarus] Cross-compiling - MIPS

2012-10-30 Thread SkyDiablo
YES, i think i got it! okay, i was not sure over the hole time if my toolchain is the right choise... but now, i know it, yes it is! i use this toolchain to compiling a helloWorld c++ application and got the same error with fpc. some time later, i get a response from my test-system: FPU

Re: [Lazarus] Cross-compiling - MIPS

2012-10-30 Thread Mark Morgan Lloyd
SkyDiablo wrote: YES, i think i got it! okay, i was not sure over the hole time if my toolchain is the right choise... but now, i know it, yes it is! i use this toolchain to compiling a helloWorld c++ application and got the same error with fpc. some time later, i get a response from my

Re: [Lazarus] Splash window with drop shadow

2012-10-30 Thread Paul Ishenin
31.10.12, 4:46, Alberto Narduzzi пишет: Hi, I'm wondering if there's a way to create an splash screen (a borderless window) with a drop shadow, I'm thinking of something like showing a PNG with shadow on screen, but without its background window. maybe I miss something, but couldn't you just

Re: [Lazarus] Splash window with drop shadow

2012-10-30 Thread Leonardo M . Ramé
On 2012-10-30 22:46:57 +0200, Alberto Narduzzi wrote: Hi, I'm wondering if there's a way to create an splash screen (a borderless window) with a drop shadow, I'm thinking of something like showing a PNG with shadow on screen, but without its background window. maybe I miss something, but