Re: [Lazarus] Having multiple Lazarus like GetLazarus version

2016-03-24 Thread Paul van Helden
> > > Ok. One simple reason I dont like to make shortcut with custom parameter > with my apps and one good reason for that is, Windows Taskbar that you can > pin apps dont accept parameters so if you pin you Lazarus that runs with > parameters and next time click on icon on taskbar it will open

Re: [Lazarus] Photos in Windows Mobile

2013-11-16 Thread Paul van Helden
Hi Ricardo, Use SHCameraCapture in unit aygshell. You have to get it saved as a file first by the Windows API. I would have preferred to get a pointer to memory. uses aygshell; function CameraCapture(Folder, FileName: WideString; Width, Height: Integer; Video: Boolean): Boolean; var SI:

Re: [Lazarus] [WINCE] Please stop generate debug file.

2013-05-25 Thread Paul van Helden
I get these in my lcldebug.log on Wince: TWinControl.DoDockClientMsg DockPanel:TPanel Control=MobileWelcomeForm:TMobileWelcomeForm DestRect=l=579,t=102,r=819,b=550 TWinControl.DoDockClientMsg DockPanel:TPanel Control=OpenMapForm:TOpenMapForm DestRect=l=823,t=420,r=1063,b=720

Re: [Lazarus] Windows CE

2013-05-06 Thread Paul van Helden
If you are sure you have the ARM .exe in the emulator, it could be a missing DLL or non-ARM DLL, if your program links to such. Paul. On Mon, May 6, 2013 at 10:59 AM, Antonio Fortuny a.fort...@sitasoftware.luwrote: Hi Folks. I have downloaded and installed the MS Microsoft® Windows® CE 5.0

Re: [Lazarus] Alternatives to WinCE (Windows Mobile)

2012-08-31 Thread Paul van Helden
And besides that the operating system is no longer utilized in smartphones, so I lost my personal interrest on it and moved to Android development instead (LCL-CustomDrawn-Android). I have to invest in platforms which are actively used in my field... But I still fix major bugs that appear

Re: [Lazarus] Alternatives to WinCE (Windows Mobile)

2012-08-31 Thread Paul van Helden
Windows Mobile remains the only operating system on industrial devices, I suppose you mean operating systems that allow for running Lazarus programs. But even there I think that (e.g. ARM CPU based) Linux systems (with and without Android candy) not only are existing since a long

Re: [Lazarus] Alternatives to WinCE (Windows Mobile)

2012-08-31 Thread Paul van Helden
. Just tale a Galaxy S3 or Galaxy Tab or similar and in stall your software. There is no point in using any dedicated hardware for such, this only will increase cost. What if you need a GPS receiver with 5m accuracy (~1m postprocessed)? The Galaxy barely manages 15m in good conditions.

Re: [Lazarus] How do I debug wince LCL?

2012-04-26 Thread Paul van Helden
Thanks Martin Felipe, C:\ in the search path solved my LCL problem. I'm now running into memory trouble and hitting the 32MB process memory limit. Without debug info my .exe is 5MB but it is 25MB with debug info and it seems it is using up the same amounts of process memory. My app works

Re: [Lazarus] How do I debug wince LCL?

2012-04-26 Thread Paul van Helden
the Debug_Startup_Options to that value but the compiled exe still goes to \gdb. But this not a major problem any more because my exe is so much smaller. Awesome! Thanks a stack, Paul. On Thu, Apr 26, 2012 at 4:48 PM, Martin laza...@mfriebe.de wrote: On 26/04/2012 15:30, Paul van Helden wrote: Thanks Martin

[Lazarus] How do I debug wince LCL?

2012-04-25 Thread Paul van Helden
Hi all, I can step into LCL code when debugging a Win32 project, but a WINCE project shows me the exact line number and file name in the stack trace but always come up with Unable to load file \lazarus\lcl\include\custombitmap.inc (for example). I've tried adding search paths in debugger options

Re: [Lazarus] English lazarus book available.

2011-06-02 Thread Paul van Helden
On Thu, Jun 2, 2011 at 10:07 AM, Graeme Geldenhuys graemeg.li...@gmail.comwrote: On 01/06/2011 18:40, Vincent Snijders wrote: 2011/6/1 waldo kitty wkitt...@windstream.net: On 5/31/2011 21:02, Michael Joyner wrote: $100 us dollars? i didn't see that when i visited the site... i saw

[Lazarus] User defined defaults in object inspector

2011-03-30 Thread Paul van Helden
Hi, Would it be desirable to be able to specify one's own defaults for each component (without subclassing), similar to defining your own favourite properties? Eg. each time I drop a TPanel, I change BevelOuter to bvNone and the Caption to nothing. Doesn't seem that RAD. (TPanels really

Re: [Lazarus] Size of program executable very big...

2011-02-18 Thread Paul van Helden
The Use external gdb debug symbol file (-Xg) linking option works well for me. It creates a 30MB .dbg file and a 5.4MB executable for my current project. With this set, the strip symbols from executable (-Xs) option has no impact and unchecking the -gl option only shaves of 6KB! No, that would

Re: [Lazarus] AggPas does not work

2011-02-03 Thread Paul van Helden
2010/8/16 Alexander Klenin kle...@gmail.com I tried AggPas examples under Windows, and found that: 1) AggPasInLCLDemo1 does not compile -- need to remove $include from the project file. 2) After that, it displays garbage -- see attached screenshot. I guess that there is some problem with

Re: [Lazarus] AggPas does not work

2011-02-03 Thread Paul van Helden
On Thu, Feb 3, 2011 at 7:44 PM, Mattias Gaertner nc-gaert...@netcologne.dewrote: On Thu, 3 Feb 2011 18:32:32 +0200 Paul van Helden p...@planetgis.co.za wrote: 2010/8/16 Alexander Klenin kle...@gmail.com I tried AggPas examples under Windows, and found that: 1) AggPasInLCLDemo1 does

Re: [Lazarus] Run two build simultaneously

2010-03-13 Thread Paul van Helden
On 13/03/2010 15:03, Kjow wrote: Paul. What do I need to put on each config dir? There aren't config directory and I don't know if/where is a file (or just in regedit). Start with empty directories, Lazarus will create all the necessary files. If you must start with your existing

Re: [Lazarus] Reconstructing Lazarus Website 2: the content

2010-02-09 Thread Paul van Helden
On 2010/02/09 10:06 AM, Marco van de Voort wrote: It is a real pity about Jack Wolfskin, but I'd still go for the paw and refrain from making T-Shirts with it (or at least have the T-Shirts made by someone who cannot be sued :-) ). A big cat's paw print is the ultimate emblem of stealth and

Re: [Lazarus] CreateRelativePath document error.

2010-02-09 Thread Paul van Helden
Hi Juha, FPC RTL comes with ExtractRelativePath. I still use my own code because Delphi's didn't work properly either. It seems FPC's ExtractRelativePath is much shorter than mine. If someone can confirm it works well that would be great (no time now to test thoroughly). I use the following

Re: [Lazarus] Reconstructing Lazarus Website 2: the content

2010-02-09 Thread Paul van Helden
On 2010/02/09 11:14 AM, Marco van de Voort wrote: On Tue, Feb 09, 2010 at 10:55:37AM +0200, Paul van Helden wrote: I guess it depends on how far you want to take this free-as-in-speech thing then? Support it, but don't try to be a martyr. You have to suffer to be a martyr

Re: [Lazarus] CreateRelativePath document error.

2010-02-09 Thread Paul van Helden
On 2010/02/09 01:36 PM, Juha Manninen wrote: ExtractRelativePath seems to work well, thanks. Now, damn, it seems that FileUtil.CreateRelativePath works correctly, too. I was testing it in Lazarus Converter code and it used a version in lazarus/ide/ideprogs/ instead of FileUtil, even though

Re: [Lazarus] CreateRelativePath document error.

2010-02-09 Thread Paul van Helden
On 2010/02/09 02:48 PM, Mattias Gärtner wrote: Zitat von Paul van Helden p...@planetgis.co.za: Good. What is the recommended function for the inverse process? I don't know for the ExtractRelativePath, but for CreateRelativePath it is simple: AbsolutePath:=AppendPathDelim(ABasePath

Re: [Lazarus] CreateRelativePath document error.

2010-02-09 Thread Paul van Helden
On 2010/02/09 03:20 PM, Michael Van Canneyt wrote: I'm talking specifically about /relative/ paths, ie. ones with ../../../ in them. On 2010/02/09 02:02 PM, Graeme Geldenhuys wrote: - ExpandFileName() - ExpandUNCFileName() - ExpandFileNameUTF8() - CleanAndExpandFilename() -

Re: [Lazarus] CreateRelativePath document error.

2010-02-09 Thread Paul van Helden
On 2010/02/09 04:20 PM, Mattias Gärtner wrote: ExpandFileName does exactly that. No. ExpandFilename does much more and less. It corrects \ and / to path delim, expands a relative filename with the *current working directory* (Get/SetCurrentDir) and it expands tilde '~' to $HOME under

Re: [Lazarus] Reconstructing Lazarus Website 2: the content

2010-02-05 Thread Paul van Helden
On 2010/02/05 01:20 PM, Marco van de Voort wrote: It seems a significant portion of open source projects pick some animal, almost as some type of mascot, and that is cool How can something that everybody is doing be cool!??! Well, I like it. Animals are not common as mascots for

Re: [Lazarus] How to get rid of text in (0,0) in StringGrid?

2010-02-05 Thread Paul van Helden
Hi Flávio, I'm using a TStringGrid for a checklistbox with two columns and don't ever want to see a title. So I set both FixedRows:=0 and RowCount:=0 in designer. Whenever I set RowCount to something more than 0, I have to set FixedRows back to zero again. I don't see the logic in that...

Re: [Lazarus] Reconstructing Lazarus Website 2: the content

2010-02-03 Thread Paul van Helden
I think these pictures are under CreativCommons http://animalphotos.info/a/topics/animals/mammals/cheetahs/ http://www.piqs.de/schnelluebersicht/search/gepard/ Is it just me or are there others that would agree that using real life animal pictures are just plain cheezy? (Well, the current

Re: [Lazarus] Reconstructing Lazarus Website 2: the content

2010-02-03 Thread Paul van Helden
On 2010/02/04 07:56 AM, Martin wrote: I had the National Geographic impression too... I did like the proposal from Bee Jay ( http://img41.imageshack.us/img41/676/lazwebnewsubpage030210.png ) I don't like the gradient fill blue (old fashioned) and even less the idea of rotating banners in

[Lazarus] TField.AsInteger on text field

2009-12-09 Thread Paul van Helden
Hi All, A client has changed a field type in a SQLite db from INTEGER to TEXT. My app now crashes on a AField.AsInteger:=1; (Invalid type conversion to integer in field...) Should the correct behaviour not be to simply convert to text in the AsInteger setter and attempt StrToInt in the