Re: [Lazarus] Video: Docked Designer Test
Nonvisual Components on some other place, where you could order them nicely by relation to each outer (DataSet <-> DataSource) etc... And maybe even some automation on this would be very nice indeed... -Tee- On Mon, Nov 23, 2015 at 1:35 PM, Graeme Geldenhuys < mailingli...@geldenhuys.co.uk> wrote: > On 2015-11-23 10:40, Anthony Walter wrote: > > I did some testing with the new sparta docked form designer on OSX. here > is > > a video clip of it in action: > > May I make a suggestion. Why not automatically place non-visual > components (eg: TOpenDialog, TSaveDialog etc) in a dedicated non-visual > area outside the designed form: eg: in a panel above the "Code, > Designer" tabs shown in the video. It could even be order alphabetically. > > I never understood why non-visual components lived inside the designer > form at a specific x,y position - cluttering up your designer form. Even > the streaming had to be "hacked" to support a fake x,y position for > these non-visual components. > > Regards, > - Graeme - > > -- > fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal > http://fpgui.sourceforge.net/ > > My public PGP key: http://tinyurl.com/graeme-pgp > > -- > ___ > Lazarus mailing list > Lazarus@lists.lazarus.freepascal.org > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Indy 10
I would go for SVN-repository... On Mon, Dec 29, 2014 at 12:26 PM, Juha Manninen juha.mannine...@gmail.com wrote: What is the recommended link to download Indy 10 for lazarus? The wiki : http://wiki.freepascal.org/Indy_with_Lazarus#Downloads_.2F_Links tells to use Indy 10 website : http://www.indyproject.org/index.en.aspx which is messy. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Any active plans to release Lazarus with FPC 2.6.4
Hello, I've been wondering very long that FPC has not updated in the Lazarus. But now that new version is out, what is the plan to release lazarus version with it? -Tee- PS. Someone could start to Blog and/or Tweet on the project and it's progress. I think that also would lure in more participants. Anyone that have enough information, and others could feed more ;) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Any active plans to release Lazarus with FPC 2.6.4
Probably the next release 1.2.2 will use fpc 2.6.4. Both are bug fix releases, so they play nice together. Sweet! -Tee- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus Release Candidate 1 of 1.2
Seeing What IfDefs are active is BEST ever, many times it's been so hard to figure out what and why is active! -Tee- On Wed, Nov 6, 2013 at 9:38 PM, Florian Klämpfl flor...@freepascal.orgwrote: Am 06.11.2013 20:10, schrieb Mattias Gaertner: The Lazarus team would like to announce the first Release Candidate for the upcoming Version 1.2. We would like to invite all users to test this Release Candidate. Please read here why everybody really should join the testing now. News in this Version http://wiki.lazarus.freepascal.org/Lazarus_1.2.0_release_notes One of my favourite features: 'Inactive code in $IFDEF can be low-lighted (greyed out)' :) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] [OT] New Lazarus website
On 22.6.2013 21:03, silvioprog wrote: Hello, Lazarus website with a new look: http://www.lazarus.freepascal.org Enjoy! Nice!!! -Tee- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] OpenGL with Lazarus
Hello, Is there any abstraction of OpenGL for Lazarus/FPC. I am not that interested on learning OpenGL at low level, but rather use what it can provide, a bit higher level? Similar to GlScene... (Or is there Port of GlScene for Lazarus(FPC)... ) -Tee- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] What is most Lazarus Friendly Linux Distro
Hello, I am Windows Guy and tried to install the latest Lazarus to my Ubuntu Virtual machine, but it just did not work... (Not even sure why, tried to install the all packages, but some of them complained that I have too old FPC etc, ecven it seemed that I just installed it successfully, never know :D) But is there distro which comes with new Lazarus (already in package manager etc) or is dead simple to get installed (For Windows dude ;) ) -Tee- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] What is most Lazarus Friendly Linux Distro
Installed, I think first two seemed to install OK, but the last (Lazarus) did not install because Apparently FPC did not install even it did not give any Error messages... Or something like that, it just complained the FPC is too old. and jsut isntalled the latest (Or one with Lazarus)... On Mon, Apr 15, 2013 at 9:23 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Mon, 15 Apr 2013 21:13:43 +0300 Tommi Prami tommi.pr...@gmail.com wrote: Hello, I am Windows Guy and tried to install the latest Lazarus to my Ubuntu Virtual machine, but it just did not work... (Not even sure why, tried to install the all packages, but some of them complained that I have too old FPC etc, ecven it seemed that I just installed it successfully, never know :D) Have you installed all three deb packages fpc, fpc-src and lazarus from the Lazarus sourceforge site? But is there distro which comes with new Lazarus (already in package manager etc) or is dead simple to get installed (For Windows dude ;) ) Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] What is most Lazarus Friendly Linux Distro
I tried to install packages from the file, downloaded from sourceforge, all seemed to install (Except Lazarus) just fine... I can try again later and add more facts... So most likely the Package(s) failed to install but it was not reported to user... or something like that... -Tee- On Mon, Apr 15, 2013 at 11:22 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Mon, 15 Apr 2013 23:12:21 +0300 Tommi Prami tommi.pr...@gmail.com wrote: Installed, I think first two seemed to install OK, but the last (Lazarus) did not install because Apparently FPC did not install even it did not give any Error messages... Or something like that, it just complained the FPC is too old. and jsut isntalled the latest (Or one with Lazarus)... Ubuntu provides an older FPC. Maybe you accidentally installed that one? Try to install the three packages with this one line: sudo dpkg -i fpc_2.6.2-0_amd64.deb fpc-src_2.6.2-0_amd64.deb lazarus_1.0.8-0_amd64.deb Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Should TTrayIcon work?
On 20.3.2013 19:28, Tommi Prami wrote: On 19.3.2013 9:46, Tommi Prami wrote: HEllo, I call TTrayIcon.Show at the Main Form OnCreate event. I shows OK, and as latest effort also the menu appears, but none of the Click events comes to the my program. Click, Do8uble Click and also the Menu Click Event are not fired. What could cause this, or is the TTrayIcon still in middle of development or so? Lazarus 1.0.6 / FPC 2.6.0 / Win32 -Tee- OK, This was not issue of the TTrayIcon at all,.. First I forgot the Release Compiling option so Brake points did not work... And couple other issues that I did not see coming... If I had code like this Self.WindowsState := wsMinimized; Self.Visible := False; And then I had in TrayIcon event if not Self.Visible then begin .. Show the form here end; The Seems that form thought it would be visible even I set it False just before... So I took the If out of there, so it works... (Did not check WindowsState, maybe that would work???) And then the final Gotcha... I added Start Minimized Functionality to Program and if I set minimize the Form and set visible to False on Forms.OnCreate Event. Form never comes back again. I made Hack to start timer with Short delay, and do the minimizing of the Form there. After the form has been shown, then it works... Not sure are these bugs, (In FPC/Lazarus level or even Windows) or how I could hide the Window without showing the Glimpse of it before... And if I set forms Visible to False, one could think you can trust it stays that way ;) I can file bug reports if thse seems to be bugs... -tee- OK, this gets last in here... So I make new thread... -tee- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] One last ask for help
On 21.3.2013 4:46, Arí Ricardo Ody wrote: I wrote an application for WinCE in Lazarus 0.9.30/FPC 2.4.2 some time ago. Finally appear a customer interested in the system. It was tested in an iPaq equipment during the development stage. Late I tested it with a Motorola ES400 handheld when I can test the functions using a barcode scanner. Everything were alright. I have the idea that my software were ready to sale even if the customer wants to use barcode scanner as data entry for some fields in my forms. Based on this I offer the software for the mentioned customer and tell him that it always have to rent(or buy) a handheld with windows mobile 6 or greater. He gave me, last friday, an handhelp Intermec with windows mobile 6.1. The model was Intermec CK3a1. I installed my software in the equipment and it ran ok as expected, since it have a arm processor and windows mobile 6 or later. Next step was test the program reading barcodes via CK3a1 barcode reader. Then I go to hell. The CK3a1 read the barcode as indicated by the sound an the pilot light but nothing appears in the correspondent Lazarus edit box. I spent all weekend trying to learn what was wrong. Monday, very ashamed I told to the customer that the program was not running Ok with Intermec CK3a1. In the monday I tested with another Intermec, the CN50 model and the same error occurred. I tried with an old HP handheld and an external barcode reader attached in the slot of the HP and everything was right. The barcode read was successful. The customer call the firm that rented the equipment and it offers to substitute by a Cipher CP30. After a long time of tests I discover that if I open the barcode software(it comes with CP30) and use the barcode reader with my program, the barcode was read, but the first character of the barcode is left. The rental firm people try lots of combinations of configurations in the Cipher CP30. And the problem persists. This afternoon the customer give me an ultimatum. If the software doesn't run with a correct codebar reading they will change to another program. In all cases, if I install a .net(wrote in C#) in the handhelp, the barcode is readed and is readed correct. Well people. I know that you have no duty to help me. But once more I ask for help with this problem. I believe in the same dream you believe: Write once, compile everywhere. But I still believe that the code generated will run as expected. No one in the Lazarus community can help me? Why I wrote in the mailing list, english forum and portuguese forum and nobody answer? If the ,net application and even the windows mobile application note read the barcode correct, is them wrong or is there something wrong with the way Lazarus and FPC talk with the WinCE(windows mobile 6 or later) I/O routines? Will WinCe change? Here are now 11:33 PM. I have 'till 12 AM tomorrow to tell something to the customer. Look here the potential customer I'll lost: http://www.votorantim.com.br/en-US/Pages/home.aspx Think about the visibilty Lazarus, would acquire. Greetings from Sao Paulo - Brazil Ricardo P.S.; No offense at all, please Hello, I can't help you with task at hand, but my impression of the WinCE/WindowsMobile PDA:s are that one should avoid them at all cost. My ex Coworker has been battling with them a lot and he uses C# (Micro$oft tools!) and he has had huge problems. (I asked him which is the best WinMob-based PDA and he replied they all are crappy, and asked him why he thinks that, he told that there are always some flaky stuff. that program works for one device and not other and so...) I have been writing pretty simple app with Lazarus to Windows Mobile PDA and it has been struggle. From the beginning. Had to to weird Hacks to get around weird problems. Some might be Lazarus/FPC related but never know... Now there has been Rugged Android devices coming up. Have not seen good one with bar-code reader yet, but hope we have Lazarus-solution for Android soon, to get that kind of business the tools they need. Windows mobile based ones are just awful. the OS it self it is so ugly and difficult to work with that it is the reason it self. If some one have more knowledge on Android Rugged PDAs and/or ability on using Lazarus on Android, hope to hear all about it (Saw something on Lazarus and Android development some time ago, but not lately, so I don't know the status of it...) -Tee- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Should TTrayIcon work?
On 19.3.2013 9:46, Tommi Prami wrote: HEllo, I call TTrayIcon.Show at the Main Form OnCreate event. I shows OK, and as latest effort also the menu appears, but none of the Click events comes to the my program. Click, Do8uble Click and also the Menu Click Event are not fired. What could cause this, or is the TTrayIcon still in middle of development or so? Lazarus 1.0.6 / FPC 2.6.0 / Win32 -Tee- OK, This was not issue of the TTrayIcon at all,.. First I forgot the Release Compiling option so Brake points did not work... And couple other issues that I did not see coming... If I had code like this Self.WindowsState := wsMinimized; Self.Visible := False; And then I had in TrayIcon event if not Self.Visible then begin .. Show the form here end; The Seems that form thought it would be visible even I set it False just before... So I took the If out of there, so it works... (Did not check WindowsState, maybe that would work???) And then the final Gotcha... I added Start Minimized Functionality to Program and if I set minimize the Form and set visible to False on Forms.OnCreate Event. Form never comes back again. I made Hack to start timer with Short delay, and do the minimizing of the Form there. After the form has been shown, then it works... Not sure are these bugs, (In FPC/Lazarus level or even Windows) or how I could hide the Window without showing the Glimpse of it before... And if I set forms Visible to False, one could think you can trust it stays that way ;) I can file bug reports if thse seems to be bugs... -tee- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Should TTrayIcon work?
HEllo, I call TTrayIcon.Show at the Main Form OnCreate event. I shows OK, and as latest effort also the menu appears, but none of the Click events comes to the my program. Click, Do8uble Click and also the Menu Click Event are not fired. What could cause this, or is the TTrayIcon still in middle of development or so? Lazarus 1.0.6 / FPC 2.6.0 / Win32 -Tee- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Should TTrayIcon work?
On 19.3.2013 11:44, Felipe Monteiro de Carvalho wrote: Click works for me. And the Menu too (thats not an event, it is a property), since many years. Or else the application in magnifier.sourceforge.net would not work. You could download it and see if its tray icon works in your system, I suppose it will and prove that the click and menu both work. Double Click I never used. If I Attach Menu, to Property, and Menu-item has OnClik event, if does not work for me,... And if (and if will) your program works, that is cool, but how to fix mine ;) I have All events have code and brake points, and execution never arrives on any of them. Program is so simple and almost ready, all I need now to get the Tray Icon thingy to work... What else there could be wrong or breaking that??? Also the program I tested have weird behavior on my Win8 machine. It'll make the task bar to flicker in weird manner, like the icons will move, should have some kind of video of it, maybe I just take one with Cell phone... My App has could panels, edits and buttons and Progress bar... That's all.. -Tee- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Should TTrayIcon work?
On 19.3.2013 11:44, Felipe Monteiro de Carvalho wrote: Click works for me. And the Menu too (thats not an event, it is a property), since many years. Or else the application in magnifier.sourceforge.net would not work. You could download it and see if its tray icon works in your system, I suppose it will and prove that the click and menu both work. Double Click I never used. Same result with the after I updated the Lazarus to the 1.0.8 I'll try with minimal app so if that gives some clue... -tee- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Indy WinCE
Hello, Donate your changes back to the Project ;) -Tee- On 31.10.2012 11:42, Antonio Fortuny wrote: Hi ALL. I got rid of the compilation problems of Indy. I've made a little test for WinCE and, good news, it works ! However some minor changes have to be made on a few units to have a clean compilation for WinCE: IdRegisterCore.pas, IdIMAP4.pas, idStackWindows.pas, IdWinsock2.pas Server: Vista32 Client; WinCE Compiled on Vista32, Lazarus 1.1 37816 (29/06/2012) indylaz.lpk compiled but not yet installed in the IDE Server uses a TIdTCPServer and connetions are handled within separated threads, one per new connection, as usual with Indy. Client uses a TIdTCPClient, connection is handled synchronously. Both client and server use the standard IoHandler Stream reader and writer and any binary data runs thru the streams without problem. Of course, I have to take care of string translations between Win32 (WIN1252 code page) and WinCE (Unicode) or whatever goes trhu (specifically from databases). In case you need some more explantions feel free to ask me. Antonio -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Installler ideas...
Hello, I installed 1.0 on top of previous installation. (Removed all files and folders before installation, except appdata stuff). Then only problem was the debugger path. I'd installed in different directory (I had kind of manual installation before on this virtual machine). I was just thinking that Installer knows where the files are, so at least it should save them as defaults selectable from the Combo box. Even better would be that those Combo Boxes would be owner drawn in a way that it would show clearly which of them are valid (File found) and which is not. Just my 0.02€ -Tee- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Alternatives to WinCE (Windows Mobile)
On 31.8.2012 14:53, Michael Schnell wrote: On 08/31/2012 10:44 AM, Paul van Helden wrote: I should have been more specific: industrial hand-held devices (PDAs) used in surveying, data collection, mobile scanners. See this article for examples: http://ruggedpcreview.com/2_handhelds.html See: http://www.linuxfordevices.com/c/a/Linux-For-Devices-Articles/Linux-PDAs-PMPs-PNDs-and-other-Handhelds/ -Michael Yep, But all are old... -Tee- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Alternatives to WinCE (Windows Mobile)
On 31.8.2012 10:31, Felipe Monteiro de Carvalho wrote: On Fri, Aug 31, 2012 at 7:58 AM, Tommi Prami groups.tpr...@gmail.com wrote: Seems that there is not much support/users of WinCE-Lazarus so I was just pondering what are the options on here... Why do you think that? LCL-WinCE was always one of the top downloads of Lazarus with 10.000+ downloads per release. And in Lazarus 1.0 it is keeping up the same proportion. It has 10% of the total Windows downloads: http://sourceforge.net/projects/lazarus/files/Lazarus%20Windows%2032%20bits/Lazarus%201.0/ Development indeed is slow, but the interface is essentially finished, so there is not much to do. Almost everything works. 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 for LCL-WinCE, despite all that. OK, but still... as seems that Microsoft is not supporting that line of Windows Mobile for very long... And possibility to support WinRT with other thatn Microsoft compilers seems not to be possible anyways... (Slightly off topic but an point to think of...) We have had very much problems with out WinCE-based project. And therefore I would like to have better platform and better tools for it. It is not only the Lazarus and it's WinCE implementation. It is also about Windows Mobile OS and how they are fitted on Hardware and how Hardware is made (and designed). my ex colleague writes apps to the Windows Mobile with C# and .NOT with using Visual Studio. And He have had huge problems with the Devices, even using Microsoft solutions to development. So any ideas how I could use Lazarus to target Windows Mobile or similar tugged PDA platforms?? Is there any real alternatives. that would be more than less better choice??? As you state development is Slow and if the this line of M$-operating systems are going to die sooner or later, I am just looking for the some other platforms that would be supported in way or other. Or something like Qt, where is huge amount of people coding ir (not sure how Lazarus QT-support is made tough...) -Tee- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Alternatives to WinCE (Windows Mobile)
And hey... I don't mean that I won't appreciate the work done!!! All the fixes and work has been very valuable... Just that if WinCE would be very robust on Lazarus (Like really at productionuse level) it would need quite an push, and what I looked at it, it is really out of my league, no matter how much I would like to help on this... In general (not mentioned as insult ;) ) I think Lazarus should reduce the supported Widgetsets etc. If something is not top notch quality it should be dropped or marked as some kind of an official hobby projet or something like that. Just because Lazarus is an Huge system along with the FPC. So us that are not inside the project and hacking it in and out could see more clearly where to go with it. To choose right widgetset... And I am in hurry so text is might not be as Diplomatic as I would like it to be, so again it is not meant to be insult just and oppinnion (And not very well formed one). Just to write out so I don't forget. I can explain in detail later if needed ;) -Tee- On 31.8.2012 10:31, Felipe Monteiro de Carvalho wrote: On Fri, Aug 31, 2012 at 7:58 AM, Tommi Prami groups.tpr...@gmail.com wrote: Seems that there is not much support/users of WinCE-Lazarus so I was just pondering what are the options on here... Why do you think that? LCL-WinCE was always one of the top downloads of Lazarus with 10.000+ downloads per release. And in Lazarus 1.0 it is keeping up the same proportion. It has 10% of the total Windows downloads: http://sourceforge.net/projects/lazarus/files/Lazarus%20Windows%2032%20bits/Lazarus%201.0/ Development indeed is slow, but the interface is essentially finished, so there is not much to do. Almost everything works. 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 for LCL-WinCE, despite all that. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Alternatives to WinCE (Windows Mobile)
On 31.8.2012 11:06, Michael Schnell wrote: On 08/31/2012 09:53 AM, Paul van Helden wrote: 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 time, but new installations already outnumber Windows Mobile driven embedded devices or soon will. -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus I am also very interested this kind of Linux devices... Would love to know more, what I was able to find (At least Rugged) where very old... -Tee- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Alternatives to WinCE (Windows Mobile)
Hello, Seems that there is not much support/users of WinCE-Lazarus so I was just pondering what are the options on here... 1. Could QT with Lazarus be viable option to get more robust development tool and environment on Windows Mobile? 2. Is there rugged Linux devices (with significant user base) so it could be targeted with Lazarus. Device must be widely supported so it would stay around long enough... 3. Ditch the PDA and go for rugged Windows PC (This would be easiest for me, but getting this decision trough is very difficult, I think... ) Any other ideas on this??? -Tee- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] WinCE and version
Hello, I'm also interested in this, if someone gets this to work... Hope working codde is posted into the list :) -Tee- On 3.7.2012 17:50, Antonio Fortuny wrote: Hi All. Does anyone know whether it is possible to save (at compile time) and extract (at runtime) the program version in WinCE as I use it currently in Win32 and Win64 ? It appears that the same code doesn't work. There is the code snippet I use: function ReadVersionInfo(const sProgram: string; Out vv: PTVersion) :Boolean; var Info: PVSFixedFileInfo; InfoSize: Cardinal; nHwnd: DWORD; BufferSize: DWORD; Buffer: Pointer; begin ZeroMemory(Info, SizeOF(PVSFixedFileInfo)); vv := new(PTVersion); InfoSize := 0; nHwnd := 0; with vv^ do begin Major:= -1; Minor := 0; Release := 0; Build := 0; end; Result := False; //no version info at all in the file BufferSize := GetFileVersionInfoSize(pchar(sProgram), nHWnd); {Get buffer size} if BufferSize 0 then begin //if zero, there is no version info Buffer := nil; ReAllocMem(Buffer, BufferSize+1); try if GetFileVersionInfo(PChar(sProgram),nHWnd,BufferSize,Buffer) then begin // got version info if VerQueryValue(Buffer, PChar('\'), Pointer(Info), InfoSize) then begin //got root block version information with vv^ do begin Major := HiWord(Info^.dwFileVersionMS); //extract major version Minor := LoWord(Info^.dwFileVersionMS); //extract minor version Release := HiWord(Info^.dwFileVersionLS); //extract release version Build := LoWord(Info^.dwFileVersionLS); //extract build version end; Result := True; end end finally ReAllocMem(Buffer, 0); end end; end; Thanks, Antonio. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] is there a way to get Call stack on WinCE-device
On 21.6.2012 10:25, Sven Barth wrote: Am 21.06.2012 09:01, schrieb Tommi Prami: Hello, I would need to have Call Stack extracted programmatically some how. Is there way to do that?? Or anyone have such a piece of code and instructions available?? When you have catched the exception (e.g. in a OnException handler of the application) you can do a DumpExceptionBackTrace which takes a file as a parameter (see here: http://www.freepascal.org/docs-html/rtl/system/dumpexceptionbacktrace.html ) Please note that on WinCE the line information resolving is not working (see here http://bugs.freepascal.org/view.php?id=14330 ) and thus only the addresses will be resolved. You can resolve that by using a arm-wince gdb and starting it like this: gdb --exec=your-wince-executable --symbols=your-wince-dbg-file -x stacktrace.txt where stacktrace.txt is your stacktrace where the lines are changed from $1234ABCD to info source 0x1234ABCD (or it could be info address 0x1234ABCD...) GDB should then print the line numbers for the addresses. Almost got it working tested in Win32, I think there is something weird in my Compiler options (Or linking), got simple files with the addresses, still got the : Reading symbols from c:\MyProg.dbg...done. No current source file. No current source file. No current source file. No current source file. ... as result from the Gdb... Any ideas, I try somethin on my end... -Tee- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] is there a way to get Call stack on WinCE-device
Hello, I would need to have Call Stack extracted programmatically some how. Is there way to do that?? Or anyone have such a piece of code and instructions available?? I have some mysterious (unhandled) exceptions happenign in the app, and would be very handy to get the Call Stack when ever that happen, so would be much easier to narrow the code down where it actually happens... We have simple logger and it also logs the Unhadled exception (the aoolication event chish I don't remember just now :) OnExcetoion or so ). And there appears some weird ones from the unknow source. Mainly there are try except clocks and exceptions are lofgged with information of the method it happened in. But I would not like the idea to put try except block everywhere... All ideas are welcome... -Tommi Prami- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus 1.0 is branched
Hello, Just an idea for 1.0 (Hopefully sooner than later...) One single formatting settings that are used by all code formatting related features. Now there are lot of settings that are basically all related into the Code formatting (How to write and or format code) And there should be live preview also (This should be quite feasible for 1.0). There are some things I am not able to do currently like aligning like this : var I: Integer; lSomeVariable : Integer; Also I would like to this kind of aligns to alight them self's into the nearest tabstop. Sometimes when formatter aligns something and it is not aligned to nearest tabstop it is ugly and difficult to indent the code into the preformatted one with tab key... Hope this is understandable text, I am still more than less in sleep :) -TP- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] What is this compiling errors (with new 0.9.30.4)
Project.lpr(30,1) Error: Illegal COFF Magic while reading C:\MecwareCode\Heartwood\trunk\WinCE_pda_client\lib\i386-win32\interfacebase.o Project.lpr(30,1) Error: Illegal COFF Magic while reading C:\MecwareCode\Heartwood\trunk\WinCE_pda_client\lib\i386-win32\lclstrconsts.o Project.lpr(30,1) Error: Illegal COFF Magic while reading C:\MecwareCode\Heartwood\trunk\WinCE_pda_client\lib\i386-win32\lcltype.o Project.lpr(30,1) Error: Illegal COFF Magic while reading C:\MecwareCode\Heartwood\trunk\WinCE_pda_client\lib\i386-win32\lclproc.o Project.lpr(30,1) Error: Illegal COFF Magic while reading C:\MecwareCode\Heartwood\trunk\WinCE_pda_client\lib\i386-win32\lmessages.o Project.lpr(30,1) Error: Illegal COFF Magic while reading C:\MecwareCode\Heartwood\trunk\WinCE_pda_client\lib\i386-win32\graphtype.o Project.lpr(30,1) Error: Illegal COFF Magic while reading C:\MecwareCode\Heartwood\trunk\WinCE_pda_client\lib\i386-win32\graphmath.o Project.lpr(30,1) Error: Illegal COFF Magic while reading C:\MecwareCode\Heartwood\trunk\WinCE_pda_client\lib\i386-win32\fpcadds.o ... Project.lpr30,1) Error: Undefined symbol: DEBUGINFO_INTERFACEBASE Project.lpr(30,1) Error: Undefined symbol: DEBUGSTART_INTERFACEBASE Project.lpr(30,1) Error: Undefined symbol: DEBUGEND_INTERFACEBASE Project.lpr(30,1) Error: Undefined symbol: DEBUGINFO_LCLSTRCONSTS Project.lpr(30,1) Error: Undefined symbol: DEBUGSTART_LCLSTRCONSTS Project.lpr(30,1) Error: Undefined symbol: DEBUGEND_LCLSTRCONSTS Project.lpr(30,1) Error: Undefined symbol: DEBUGINFO_LCLTYPE ... I've never seen this kind of errors and project will compile with a bit older Lazarus/FPC combo... Any ideas? -Tee- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Error when compile my package for WINCE
On 6.11.2011 23:47, Zaher Dirkey wrote: Hi again This package in my project http://sourceforge.net/projects/minilib in directory /minilib/xml/source W:\home\pascal\lib\minilib\xml\units\arm-wince\mnXMLUtils.s: Assembler messages: W:\home\pascal\lib\minilib\xml\units\arm-wince\mnXMLUtils.s:2296: Error: unknown pseudo-op: `.secrel32' W:\home\pascal\lib\minilib\xml\units\arm-wince\mnXMLUtils.s:2304: Error: unknown pseudo-op: `.secrel32' W:\home\pascal\lib\minilib\xml\units\arm-wince\mnXMLUtils.s:3602: Error: junk at end of line, first unrecognized character is `' All other packages built fine. This packages built when i compile a project \minilib\lazarus\projects\miniSQLViewer\gui\SqliteViewer.lpr I set this project to build with WINCE and i already added depended packages like MiniCommons, MiniConnections. Thanks in advance Zaher Dirkey -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus This is something to do with Dwarf debuginfo... And btw... Stay away from the Heap Trace option also, it will cause super weird problems... -Tee- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus 0.9.30.2RC2 available
On 27.10.2011 8:47, Felipe Monteiro de Carvalho wrote: On Thu, Oct 27, 2011 at 7:32 AM, Tommi Pramigroups.tpr...@gmail.com wrote: OK, how to Fix this? And / or Test :) If you have multiple lazarus installed you need to specify a primaryconfigpath (google: lazarus wiki multiple lazarus) or else they will all mix configuration options and those cannot be shared. So basically in Windows you need to start Lazarus via a shortcut which will pass the primary config path. You can change your lazarus directory in the menu Tools-Options-Paths And while you are there, check all paths. I think it was Environment - Files - Lazarus directory. If so, then it should be OK... -TP- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus 0.9.30.2RC2 available
Hello, For reason or other, this worked better than RC1 for my WinCE stuff. But project which I can compile fine with 0.9.30 and with Quite new 0.9.31 will not compile. IDE finds the files but compiler don't. I tried to add stuff into the search path and got little bit forward on that project but hit the wall with some lcl .inc file. (I know search path is not an Lazarus thing but just tested that way) Any ideas what could cause this? -TP- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus 0.9.30.2RC2 available
On 27.10.2011 8:14, Vincent Snijders wrote: 2011/10/27 Tommi Pramigroups.tpr...@gmail.com: Hello, For reason or other, this worked better than RC1 for my WinCE stuff. But project which I can compile fine with 0.9.30 and with Quite new 0.9.31 will not compile. IDE finds the files but compiler don't. I tried to add stuff into the search path and got little bit forward on that project but hit the wall with some lcl .inc file. (I know search path is not an Lazarus thing but just tested that way) Any ideas what could cause this? Incorrect Lazarus directory? OK, how to Fix this? And / or Test :) .-Tee-. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Can't instal Packages into 0.9.30.2RC1
I'll tried to install lNet and sqlit3laz packages. C:\lazarus\components\codetools\codetools.pas(1,1) Fatal: Can't find unit LazarusPackageIntf used by CodeTools While rebuilding the IDE Any ideas??? Is this problem with the my system or the is there some know problem in RC1? Or is this something worth filing an bug-report of... -TP- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] PAge Control Problem in a WinCE
Bugreport at : http://bugs.freepascal.org/view.php?id=20442 -Tee- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] PAge Control Problem in a WinCE
On 9.10.2011 14:02, Vincent Snijders wrote: 2011/10/9 Tommi Pramigroups.tpr...@gmail.com: Bugreport at : http://bugs.freepascal.org/view.php?id=20442 If you use lazarus 0.9.31 from trunk, then read http://wiki.lazarus.freepascal.org/Lazarus_0.99.0_release_notes#TCustomPageControl.2FTPageControl.OnPageChanged_were_removed That page contains breaking changes, so read that before submitting a bug report. Vincent -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus OK, I'll put this in Bugreport also, but the Event is not used in any way... And it is visible in the Events list... And I checked the .lfm (the .dfm equivalent) and there was no trace of the Event also (I was thinking that maybe it is there and not in sync with code etc... -TP- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Testing Lazarus 0.9.30.2RC1 and had WinCE problem
BAsically same project is the Win32 version (only difference should be project file) But the WinCE project fails like this : Recompiling WSLCLClasses, checksum changed for LCLProc C:\lazarus\lcl\lclclasses.pp(32,12) Fatal: Can't find unit WSLCLClasses used by LCLClasses Seems weird. File is there in a : *C:\lazarus\lcl\widgetset\wslclclasses.pp * and the .ppu and .o files are in correct places also. What could cause this. This should be fresh install of the Lazarus 0.9.30.2RC1 and the WinCE stuff is also installed... (All installed with installer)... .-Tee-. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] WinCE project with sqlite3laz package will not compile
Bugreport in here : http://bugs.freepascal.org/view.php?id=20362 Any ideas, what is that .secrel32 thingy, and is there any workaround of this. Also Is this Lazarus or purely Compiler issue? -TP- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] I've tracked down to revision that causes the bug 19972 (Menu problem) (The Heads UP, link into the Forum)
Please see the forum at the : http://www.lazarus.freepascal.org/index.php/topic,14786.0.html asyou can see I am new with the Lazarus, so bee gentle, If I've been braking some rules or did not give enough information needed :) .-Tee-. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Help with basic pointer operations
Hello, I kind of always try to stay away from the pointers, but now I maybe need to use them... I think this is not correct yet (at least it does not to 100% what I like) : var LSimpleStr : string; LTmpWStr : array [0..250] of WideChar; ... LSimpleStr := 'Some text'; mwStrToWide(LSimpleStr, LTmpWStr , 250); ... procedure mwStrToWide(const AString: string; PWideString: PWideChar; const ABufferLen: Integer); begin FillChar(PWideString^, ABufferLen, 0); if AString '' then begin StringToWideChar(AString, PWideString, ABufferLen); end; end; With debugger it seems that the Buffer is not cleared correctly like I would like to (Much easier to debug when you see more easily the content of the Array). And the most worrying part is that the code seems to work other vice, but I have the feeling that it is not 100% correct. -TP- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Could anyone confirm the bug report (WinCE/Windows Mobile)
http://bugs.freepascal.org/view.php?id=19972 -TP- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Why I can't see my own messages in this list?
On 14.8.2011 23:29, Rich Saunders wrote: On 8/14/11 3:16 PM, Sven Barth wrote: Fascinating O.o Cause here it works without any problem... I use Thunderbird using IMAP and GMail is configured to apply labels that correspond to the mailing lists to all mails. All my own mails and all questions I ask are visible in the correct label folder (and in all messages as well) after I've sent them. I think if you have configured Gmail to apply a label to your outgoing messages that places it in the same grouping as all incoming messages from the mailing list then I think you have found a work-around to what Gmail is doing. I have a Thunderbird rule that copies incoming messages from each mailing list and place them in a local folder. My outgoing messages to the lists never make it to those local folders, so I never see them mixed in with the regular messages because they never come back in from the list. Could you make simple tutorial of this, how you can do it. Because not seing your own mail is s annoying! Or links so everyone don't have to go the hard way ;) -TP- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Why I can't see my own messages in this list?
On 14.8.2011 21:46, Rich Saunders wrote: Gmail actively suppresses the messages you send to a mailing list when they are echoed back to the sending Gmail account. Apparently the Gmail implementers thought it would be adequate for you to have the sent message in your Sent folder. AFAIK, this is not configurable or able to be changed (after repeated requests). Both the fact of it and the fact that you cannot configure it are extremely annoying to the point of being almost evil. ;) http://mail.google.com/support/bin/answer.py?answer=6588 That would be OK, it would just work, don't work for me. Have had this problem for years... With few mailing lists... I can't see any reason to that rule. Would be much easier to everyone (the few) that is actually not interested to see that they mails actually reached the mailing list, would make rule to delete own messages :) ... -TP- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Why I can't see my own messages in this list?
I think I've managed to make such filter on my own... Just created an filter From : your email Contains words : [lazarus] Apply the Label : Label you want them to moved { I've Added also following } Never send it into Spam Always Mark it as important So much thanks for your hint!!! -Tee- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Why I can't see my own messages in this list?
On 13.8.2011 0:38, José Mejuto wrote: Hello Lazarus-List, Friday, August 12, 2011, 2:21:49 PM, you wrote: SB I suspect the settings of his mailing list account, because there IS an SB option to enable/disable the sending of ones own mails. I had changed that option multiple times and never got my written emails back. Maybe is gmail deleting them as dupes ? Might be, but surely IO can't see them :( -Tee- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] RAS -API for Win32 (and WinCE)
On 11.8.2011 22:47, Sven Barth wrote: On 11.08.2011 14:13, Sven Barth wrote: 3. Regarding GPRS. I might have a solution for that, but currently I don't have access to the code; you'd need to wait till this evening, then I can check whether that could help you. Ok, I have found the code. Strangely though I only use it in the older version of my application, but the newer one connects as well... strange. === source fragments begin === uses ConnMgr; var ConInfo: TConnMgrConnectionInfo; ConStatus: DWord; begin FillChar(ConInfo, SizeOf(TConnMgrConnectionInfo), 0); ConInfo.cbSize := SizeOf(TConnMgrConnectionInfo); ConInfo.dwParams := CONNMGR_PARAM_GUIDDESTNET; ConInfo.dwPriority := CONNMGR_PRIORITY_USERINTERACTIVE; ConInfo.bExclusive := False; ConInfo.guidDestNet := IID_DestNetInternet; if ConnMgrEstablishConnection(@ConInfo, @fConHandle) S_OK then raise Exception.Create('Error creating connection; check your settings'); while True do begin Application.ProcessMessages; Sleep(50); ConnMgrConnectionStatus(fConHandle, @ConStatus); case ConStatus of CONNMGR_STATUS_CONNECTED: begin SetStatus('Connection established'); Break; end; CONNMGR_STATUS_WAITINGFORPHONE: begin SetStatus('Call blocks connection'); end; CONNMGR_STATUS_NOPATHTODESTINATION: begin SetStatus('No suitable connection found'); raise Exception.Create('Could not find suitable connection'); end; CONNMGR_STATUS_WAITINGFORPATH: begin SetStatus('Cannot establish connection. (Bad signal?)'); end; CONNMGR_STATUS_CONNECTIONFAILED: begin SetStatus('Connection failed'); raise Exception.Create('Couldn''t establish connection. Try again later'); end; CONNMGR_STATUS_CONNECTIONCANCELED: begin SetStatus('Connection canceled'); raise Exception.Create('The connection was canceled'); end; end; end; end; === source fragment end === SetStatus was used to set the content of a status label and the text's are rough translations from my German ones. Even if this shouldn't work as is it might give you the necessary pointers for MSDN. And this code will work on Windows CE/Mobile only (at least as far as I'm aware of). Regards, Sven -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus Thanks... I try to explore it later... -TP- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Weird AccessViolation (etc) while closing window in WinCE
Win32 version of this exaact same code works Only difference between device and the debugged version on the Emulator is that on Device it shows Access Violation error (usually) and then it just dies. On emulator I get tons of error messages, and then the program dies... ( I show this for between try.except and do not re raise, so IMHO it shoudl still get up again, unless there is something really bad happening behind the Scenes...) { Backwards is the Stack trace is also... } Access Violation at : procedure TMenuItem.DestroyHandle; ... end; TWSMenuItemClass(WidgetSetClass).DestroyHandle(Self); // - Here FHandle := 0; project Selo pda raised exception 'RunError(216)' Project Selo pda raised exception class 'External: SIGSEGV' #0 fpc_raiseexception at :0 #1 SYSUTILS_RUNERRORTOEXCEPT$LONGINT$POINTER$POINTER at :0 #2 SYSTEM_HANDLEERRORADDRFRAME$LONGINT$POINTER$POINTER at :0 #3 TMENUITEM__DESTROYHANDLE at C:\lazarus\lcl\include\menuitem.inc:698 #4 TMENUITEM__DESTROYHANDLE at C:\lazarus\lcl\include\menuitem.inc:694 #5 TMENU__DESTROYHANDLE at C:\lazarus\lcl\include\menu.inc:157 #6 TCUSTOMFORM__DESTROYWND at C:\lazarus\lcl\include\customform.inc:2488 #7 TWINCONTROL__DESTROYHANDLE((TWINCONTROL) 0x1abcec0) at C:\lazarus\lcl\include\wincontrol.inc:5145 #8 TCUSTOMFORM__SHOWMODAL((TCUSTOMFORM) 0x1abcec0) at C:\lazarus\lcl\include\customform.inc:2705 #9 TWINDOW_MM_SELECTUSER__EXCECUTE at wmm_selectuser.pas:247 #10 TWINDOW_MAINMENU__DOLOGIN((TWINDOW_MAINMENU) 0x1aa79a0) at wmainmenu.pas:220 #11 TWINDOW_MAINMENU__FORMSHOW((^TOBJECT) 0x1cf3b4) at wmainmenu.pas:376 #12 TCUSTOMFORM__DOSHOW at C:\lazarus\lcl\include\customform.inc:957 #13 TCUSTOMFORM__CMSHOWINGCHANGED({MSG = 45081, WPARAM = 0, LPARAM = 0, RESULT = 0, WPARAMLO = 0, WPARAMHI = 0, LPARAMLO = 0, LPARAMHI = 0, RESULTLO = 0, RESULTHI = 0}, (TCUSTOMFORM) 0x1aa79a0) at C:\lazarus\lcl\include\customform.inc:562 #14 SYSTEM_TOBJECT_$__DISPATCH$formal at :0 #15 TCONTROL__WNDPROC({MSG = 45081, WPARAM = 0, LPARAM = 0, RESULT = 0, WPARAMLO = 0, WPARAMHI = 0, LPARAMLO = 0, LPARAMHI = 0, RESULTLO = 0, RESULTHI = 0}, (TCONTROL) 0x1aa79a0) at C:\lazarus\lcl\include\control.inc:1683 #16 TWINCONTROL__WNDPROC({MSG = 45081, WPARAM = 0, LPARAM = 0, RESULT = 0, WPARAMLO = 0, WPARAMHI = 0, LPARAMLO = 0, LPARAMHI = 0, RESULTLO = 0, RESULTHI = 0}) at C:\lazarus\lcl\include\wincontrol.inc:5243 #17 TCUSTOMFORM__WNDPROC({MSG = 45081, WPARAM = 0, LPARAM = 0, RESULT = 0, WPARAMLO = 0, WPARAMHI = 0, LPARAMLO = 0, LPARAMHI = 0, RESULTLO = 0, RESULTHI = 0}) at C:\lazarus\lcl\include\customform.inc:1368 #18 TCONTROL__PERFORM(45081, 0, 0) at C:\lazarus\lcl\include\control.inc:1084 #19 CHANGESHOWING(true, (POINTER) 0x27a8fa58) at C:\lazarus\lcl\include\wincontrol.inc:4237 #20 TWINCONTROL__UPDATESHOWING((TWINCONTROL) 0x1aa79a0) at C:\lazarus\lcl\include\wincontrol.inc:4287 #21 TCUSTOMFORM__UPDATESHOWING at C:\lazarus\lcl\include\customform.inc:2569 #22 TWINCONTROL__DOALLAUTOSIZE((TWINCONTROL) 0x1aa79a0) at C:\lazarus\lcl\include\wincontrol.inc:3519 #23 TCONTROL__ENABLEAUTOSIZING at C:\lazarus\lcl\include\control.inc:4855 #24 TCONTROL__SETVISIBLE(true, (TCONTROL) 0x1aa79a0) at C:\lazarus\lcl\include\control.inc:3733 #25 TCUSTOMFORM__SETVISIBLE(true) at C:\lazarus\lcl\include\customform.inc:404 #26 TCUSTOMFORM__SHOW at C:\lazarus\lcl\include\customform.inc:2115 #27 TAPPLICATION__RUN at C:\lazarus\lcl\include\application.inc:1384 #28 main at seulopda.lpr:40 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Weird AccessViolation (etc) while closing window in WinCE
On 12.8.2011 13:17, Felipe Monteiro de Carvalho wrote: 1 Which FPC, Lazarus and Windows CE versions? FPC 2.4.4 Lazarus latest Trunk (From today) WinCE... hmmm, actually it is Windows Mobile 6.5 Pro (I think in both the Emulator and the Device) 2 Have you tryed with the latest lazarus? If yes, have you tryed with 0.9.30? And 0.9.28? Latest yes, older no, I have no idea how to make them Co Exist in same machine... 3 Does a minimal application reproduce the issue? I am going to try this next... 4 Bug reports should go to the bug tracker This is just Heads up, or query is this an valid problem to report as bug (Might be know issue for someone and fix is being made etc...) Like now I forgot important information and did not test with trivial program... -TP- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Why I can't see my own messages in this list?
Hello, Is there an way to configure that way? Or is it Group rule/policy/setting? Could it be the Gmail problem... Very difficult to find the Aswers some nice person has given into some problem because yopu can ffind the first question :) -TP- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Why I can't see my own messages in this list?
It could be the option of your subscription... Navigate here: http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus and enter your subscribed mail address at the bottom most input field behind which a button title Unsubscribe or edit options is located. Press the button and then enter your password. After login you should be at a page where at the bottom some options are located. For example the following: Receive your own posts to the list? Check that Yes is selected there and then save the changes. If that doesn't solve the problem, I don't know anything else... Regards, Sven I got error while trying to login :( Error *Lazarus roster authentication failed.* -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Why I can't see my own messages in this list?
GMail doesn't show your own message until somebody replies to it (at least this is true for the first message in a message thread). Then only does it appear as a conversion in your GMail Inbox. Regards, - Graeme - For me, it never appears... For reading I mainly use the Thuderbird, but I use GMail Account... -TP- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Why I can't see my own messages in this list?
On 12.8.2011 15:18, Sven Barth wrote: Am 12.08.2011 14:06, schrieb Tommi Prami: It could be the option of your subscription... Navigate here: http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus and enter your subscribed mail address at the bottom most input field behind which a button title Unsubscribe or edit options is located. Press the button and then enter your password. After login you should be at a page where at the bottom some options are located. For example the following: Receive your own posts to the list? Check that Yes is selected there and then save the changes. If that doesn't solve the problem, I don't know anything else... Regards, Sven I got error while trying to login :( Error *Lazarus roster authentication failed.* Correct E-Mail address? Correct password? Are modifier keys (CAPSLOCK) set correctly? What if you try from here? http://lists.lazarus.freepascal.org/mailman/options/lazarus Regards, Sven I've used the one I got when I registered some time ago... I can double Check... Oops wrong mail address... I had the setting on to receive my own messages :( -TP- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Weird AccessViolation (etc) while closing window in WinCE
On 12.8.2011 13:17, Felipe Monteiro de Carvalho wrote: 1 Which FPC, Lazarus and Windows CE versions? 2 Have you tryed with the latest lazarus? If yes, have you tryed with 0.9.30? And 0.9.28? 3 Does a minimal application reproduce the issue? 4 Bug reports should go to the bug tracker Bug report : http://bugs.freepascal.org/view.php?id=19972 -Tee- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] SQLite Oddity with simple Select clause
On 20.7.2011 4:34, Luiz Americo Pereira Camara wrote: On 19/7/2011 03:55, Tommi Prami wrote: Hello, I have Day or two old SVN (Trunk) Lazarus with FPC 2.4.4 I have simple select with simple where clause. Nothing fancy. If I run exact same SQL with SQLite Expert Personal I get the rows as expected. I looked my code, and did some debugging into the SQLite code, and this happened. 1. I call the .RefetchData; Then I Step into the Sqlite3DS unit TSqlite3Dataset.BuildLinkedList method. It successfully calls the sqlite3_prepare() etc... This code seems odd to me, but some parts of my App works perfectly so maybe this is just something that it does not seem to be : ... FRecordCount := 0; ColumnCount := sqlite3_column_count(vm); FRowCount := ColumnCount; ... Then comes the : FReturnCode := sqlite3_step(vm); while FReturnCode = SQLITE_ROW do begin loop, Which I think would fetch the Actual data. And first call (Outside the Loop returns ReturnCode 101 (SQLITE_DONEhttp://www.sqlite.org/c3ref/c_abort.html )... What in earth is going on... Any ideas What might be wrong in here? In mY Code or the SqLite Code. I dont know since you did not show your code. But i would bet is in your code. Refetch data is for statement already executed. Try calling Open. Also please ready the tutorials: http://sqlite4fpc.yolasite.com/documentation.php Luiz -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus OK, it was my code, and I made some places where I change the SQL it to use .Active := False; .SQL := 'Select * from anywhere'; .Active := True; And it started to work... Weird part is that it worked some times/parts of my program and others not But anyways... thanks!!! -TP- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] SQLite Oddity with simple Select clause
On 21.7.2011 2:50, Luiz Americo Pereira Camara wrote: On 20/7/2011 06:04, Tommi Prami wrote: OK, it was my code, and I made some places where I change the SQL it to use .Active := False; .SQL := 'Select * from anywhere'; .Active := True; And it started to work... Weird part is that it worked some times/parts of my program and others not This is because RefetchData requires the field list to be exactly the same: Select x from table Select x, y from table RefetchData Wont work OK, That explains a Lot... -TP- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] SQLite Oddity with simple Select clause
Hello, I have Day or two old SVN (Trunk) Lazarus with FPC 2.4.4 I have simple select with simple where clause. Nothing fancy. If I run exact same SQL with SQLite Expert Personal I get the rows as expected. I looked my code, and did some debugging into the SQLite code, and this happened. 1. I call the .RefetchData; Then I Step into the Sqlite3DS unit TSqlite3Dataset.BuildLinkedList method. It successfully calls the sqlite3_prepare() etc... This code seems odd to me, but some parts of my App works perfectly so maybe this is just something that it does not seem to be : ... FRecordCount := 0; ColumnCount := sqlite3_column_count(vm); FRowCount := ColumnCount; ... Then comes the : FReturnCode := sqlite3_step(vm); while FReturnCode = SQLITE_ROW do begin loop, Which I think would fetch the Actual data. And first call (Outside the Loop returns ReturnCode 101 (SQLITE_DONEhttp://www.sqlite.org/c3ref/c_abort.html )... What in earth is going on... Any ideas What might be wrong in here? In mY Code or the SqLite Code. I have similar selects in other parts of the Code and even in same File and Same Table and they seem to work... Is there anything I should try??? Any ideas are welcome... -TP- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Latest Chanhes brakes the WinCE Notebook/Tab controls
Hello, I just updated the latest SVN truck version (Revision : 31692) Compiling of the our winCE project will fail with message : C:\lazarus\lcl\interfaces\wince\wincewscomctrls.pp(69,20) Error: There is no method in an ancestor class to be overridden: class TWinCEWSCustomNotebook.GetPageRealIndex(const TCustomNotebook,LongInt):LongInt; -Tee- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Latest Chanhes brakes the WinCE Notebook/Tab controls
On 14.7.2011 15:14, Hans-Peter Diettrich wrote: Tommi Prami schrieb: I just updated the latest SVN truck version (Revision : 31692) Compiling of the our winCE project will fail with message : C:\lazarus\lcl\interfaces\wince\wincewscomctrls.pp(69,20) Error: There is no method in an ancestor class to be overridden: class TWinCEWSCustomNotebook.GetPageRealIndex(const TCustomNotebook,LongInt):LongInt; Right, this widgetset deserves an update. Please remove that method from wincewscomctrls.TWinCEWSCustomNotebook, and try again. Works... -TP- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] How to bring application to from (top)
On 8.7.2011 21:39, Sven Barth wrote: On 08.07.2011 19:23, Tommi Prami wrote: SetForegroundWindow(Screen.ActiveForm.Handle); I think that at least in Windows XP the system will block the App from coming into the Front. Othervice it would work. Have to test this on Windows Mobile also,... Well... as you said it's for Windows Mobile (or WinCE to be precisely) I've posted a solution for that. On desktop Windows I've never needed that functionality yet, cause I personally dislike it when an application jumps to front when I don't want it to. Thus I prefer the blinking solution there. Seems to work... Thanks... -TP- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] How to bring application to from (top)
Hello, I thought this would be very trivial, but I have tried very many different things and searched from the net, and tried several code snippets... Here is some kind of list what I have tried so far... 1. Application.MainForm.BringToFront; 2. Application.RestoreStayOnTop(True); 3. MessageDlg('Come to papa', mtError, [mbOK], 0); 4. BringWindowToTop(Application.MainForm.Handle); // IE 5.5 related hack SetForegroundWindow(Application.MainForm.Handle); 5. Windows.MessageBox( Self.Handle, 'Program already started', 'Program already started', MB_SYSTEMMODAL or MB_SETFOREGROUND or MB_TOPMOST or MB_ICONINFORMATION) ; So far any of them have worked OK,,, Main form can have modal children etc... But I just cant pop the application to the surface :( Is there any that would work... It should work on Windows Win32 and WiCE... -TP- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] How to bring application to from (top)
Could possibly do it using a dbus (or whatever) message. But the rule still is that that sort of thing is considered rude. Let me explain here a bit... It is mainly an WinCE app that is more than less Full screen. If the user goes on purpose or accidently to the system side... Then it might be that he/she does not know how to bring the already running application to the screen. But, what they surely know or are at least told how to do is to start the app. And now my app check that it is already running, informs the running one that wake up, and kills it self (to put nicely). Now it works perfectly only I can't get unfocused App to come to the Screen to the top most app. .. If there is some force way to do it. Any will do, would be good... .-Tee-. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] How to bring application to from (top)
SetForegroundWindow(Screen.ActiveForm.Handle); I think that at least in Windows XP the system will block the App from coming into the Front. Othervice it would work. Have to test this on Windows Mobile also,... -TP- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Is there an example how to use lNet HTTP-Server
Hello, I have tried to use the HTTP Components of the lNet (Because it works in WinCE), but after Indy the interface it little bit weird to me. There is Client example and I think I can get it to work, but there is no Example of HTTP server. And I am quite lost with it. Only think I need to is to get requested URL/Document (On Server side ) and return status code. -TP- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Still problems with Shift+Ctrl+Scpace
Hello, Few latest SVN truck revisions my IDE has been acting up. This is checked the this not affect everyone. But I need some help here to fix this. Maybe it is my system, maybe it is some setting, but I have no means to fix it, or have no idea where to look. Is there some debug log etc way I could start to check this out. Or any other ways try to find the cause of this. the actual problem seems to affect some IDE features (Which seems to be crucial for me, now when they are broken I see that... :D ) Sorry I don't remember the names of the features - Ctrl+Shift+Space - Ctrl + Space - Cant' assign events from the Object inspector - or Can't assign default Event handler by double clicking the component on the form (designer) Error is always the same or similar (Files change, sometimes it is in same unit, most of the time some other unit where the focus pops into, and error message is shown on Messages window) Error mesage : C:\lazarus\lcl\lclclasses.pp(32,10) Error: unit not found: Classes I am on the #lazarus-ide IRC with name mWaltari, might be better to contact trough that, but any way would do... I have tried to build Lazarus few times, and updated the code from the SVN also. Tried to use Tools - Rescan FPC source directory. I am so new to Lazarus so I don't know where to start to look at. Basically it seems that IDE can't find the some units, but compiling and debugging works... -TP- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Error while compiling latest SVN version
-Tee- PPU Loading C:\lazarus\lcl\units\i386-win32\intfgraphics.ppu PPU Source: intfgraphics.pas not found Recompiling IntfGraphics, checksum changed for LCLIntf ..\graphics.pp(47,49) Fatal: Can't find unit IntfGraphics used by Graphics -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Error while compiling latest SVN version
OK, short explanation: Did everything all over again : SVN : 31471 FPC : 2.4.4 I run the make of the Lazarus, and then start the IDE (That fart it works) then try to run Toos - Build Lazarus with profile ... to get all the Packages to build again... (After update... Now it weirdly fails at) main(.pas) function TMainIDE.DoLoadLFM(AnUnitInfo: TUnitInfo; LFMBuf: TCodeBuffer; OpenFlags: TOpenFlags; CloseFlags: TCloseFlags): TModalResult; const BufSize = 4096; // allocating mem in 4k chunks helps many mem managers ShowCommands: array[TWindowState] of Integer = (SW_SHOWNORMAL, SW_MINIMIZE, SW_SHOWMAXIMIZED); with message : ... C:\lazarus\lcl\grids.pas(5854,38) Warning: Symbol OnEditButtonClick is deprecated C:\lazarus\lcl\grids.pas(6088,34) Warning: Symbol OnEditButtonClick is deprecated C:\lazarus\lcl\grids.pas(6089,24) Warning: Symbol OnEditButtonClick is deprecated Compiling package LCLBase 1.0.1 completed C:\lazarus\lcl\interfaces\win32\win32int.pp(27,26) Warning: User defined: Fix implicit pointer conversions Compiling package LCL 1.0.1 completed C:\lazarus\components\lazcontrols\listfilteredit.pas(64,15) Warning: An inherited method is hidden by TListFilterEdit.Invalidate; C:\lazarus\components\lazcontrols\listfilteredit.pas(24,43) Hint: Parameter Done not used Compiling package LazControls 0.0 completed Compiling package IDEIntf 1.0 completed C:\lazarus\components\sqlite\sqlitecomponenteditor.pas(63,58) Hint: Parameter User not used Compiling package sqlite3laz 0.4 completed Compiling package lnetvisual 0.6.6 completed Compiling package SynEdit 1.0 completed C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(227,9) Warning: Local variable C does not seem to be initialized C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(57,30) Hint: Parameter SQL not used C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(82,3) Hint: Local const SSQLOK is not used C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(83,3) Hint: Local const SQLSyntaxOK is not used C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(84,3) Hint: Local const SSQLError is not used C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(85,3) Hint: Local const SSQLSyntaxError is not used C:\lazarus\components\sqldb\registersqldb.pas(92,38) Hint: Parameter ResourceName not used C:\lazarus\components\sqldb\registersqldb.pas(93,33) Hint: Parameter Filename not used C:\lazarus\components\sqldb\registersqldb.pas(93,43) Hint: Parameter SourceName not used C:\lazarus\components\sqldb\registersqldb.pas(94,27) Hint: Parameter ResourceName not used C:\lazarus\components\sqldb\registersqldb.pas(63,16) Hint: Unit SrcEditorIntf not used in registersqldb Compiling package SQLDBLaz 1.0.1 completed C:\lazarus\debugger\gdbmidebugger.pp(6547,107) Warning: Symbol GDBDisassemble is deprecated C:\lazarus\packager\packageeditor.pas(1636,3) Note: Local variable TVNodeStack not used C:\lazarus\ide\main.pp(6490,50) Fatal: Syntax error, , expected but ) found -Tee- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Error while compiling latest SVN version
Seems to work... -TP- On 30.6.2011 14:01, Bart wrote: If you change the line in main.pp to ShowCommands: array[TWindowState] of Integer = (SW_SHOWNORMAL, SW_MINIMIZE, SW_SHOWMAXIMIZED, SW_SHOWFULLSCREEN); Will it then build? Bart On 6/30/11, Bartbartjun...@gmail.com wrote: Filed a bugreport: http://bugs.freepascal.org/view.php?id=19659 Bart On 6/30/11, Bartbartjun...@gmail.com wrote: Due to r31470: http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/forms.pp?root=lazarusr1=31468r2=31470 TWindowState definition has changed. On 6/30/11, Torsten Bonde Christiansent...@epidata.dk wrote: Same here. Happens on both Win32 and Linux x86_64 - i have the same SVN revision. -Torsten. On 2011-06-30 11:46, Tommi Prami wrote: OK, short explanation: Did everything all over again : SVN : 31471 FPC : 2.4.4 I run the make of the Lazarus, and then start the IDE (That fart it works) then try to run Toos - Build Lazarus with profile ... to get all the Packages to build again... (After update... Now it weirdly fails at) main(.pas) function TMainIDE.DoLoadLFM(AnUnitInfo: TUnitInfo; LFMBuf: TCodeBuffer; OpenFlags: TOpenFlags; CloseFlags: TCloseFlags): TModalResult; const BufSize = 4096; // allocating mem in 4k chunks helps many mem managers ShowCommands: array[TWindowState] of Integer = (SW_SHOWNORMAL, SW_MINIMIZE, SW_SHOWMAXIMIZED); with message : ... C:\lazarus\lcl\grids.pas(5854,38) Warning: Symbol OnEditButtonClick is deprecated C:\lazarus\lcl\grids.pas(6088,34) Warning: Symbol OnEditButtonClick is deprecated C:\lazarus\lcl\grids.pas(6089,24) Warning: Symbol OnEditButtonClick is deprecated Compiling package LCLBase 1.0.1 completed C:\lazarus\lcl\interfaces\win32\win32int.pp(27,26) Warning: User defined: Fix implicit pointer conversions Compiling package LCL 1.0.1 completed C:\lazarus\components\lazcontrols\listfilteredit.pas(64,15) Warning: An inherited method is hidden by TListFilterEdit.Invalidate; C:\lazarus\components\lazcontrols\listfilteredit.pas(24,43) Hint: Parameter Done not used Compiling package LazControls 0.0 completed Compiling package IDEIntf 1.0 completed C:\lazarus\components\sqlite\sqlitecomponenteditor.pas(63,58) Hint: Parameter User not used Compiling package sqlite3laz 0.4 completed Compiling package lnetvisual 0.6.6 completed Compiling package SynEdit 1.0 completed C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(227,9) Warning: Local variable C does not seem to be initialized C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(57,30) Hint: Parameter SQL not used C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(82,3) Hint: Local const SSQLOK is not used C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(83,3) Hint: Local const SQLSyntaxOK is not used C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(84,3) Hint: Local const SSQLError is not used C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(85,3) Hint: Local const SSQLSyntaxError is not used C:\lazarus\components\sqldb\registersqldb.pas(92,38) Hint: Parameter ResourceName not used C:\lazarus\components\sqldb\registersqldb.pas(93,33) Hint: Parameter Filename not used C:\lazarus\components\sqldb\registersqldb.pas(93,43) Hint: Parameter SourceName not used C:\lazarus\components\sqldb\registersqldb.pas(94,27) Hint: Parameter ResourceName not used C:\lazarus\components\sqldb\registersqldb.pas(63,16) Hint: Unit SrcEditorIntf not used in registersqldb Compiling package SQLDBLaz 1.0.1 completed C:\lazarus\debugger\gdbmidebugger.pp(6547,107) Warning: Symbol GDBDisassemble is deprecated C:\lazarus\packager\packageeditor.pas(1636,3) Note: Local variable TVNodeStack not used C:\lazarus\ide\main.pp(6490,50) Fatal: Syntax error, , expected but ) found -Tee- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Our Program who art in Memory, Hello be Thy Name. Thy Operating System come, Thy Commands be done, at the Printer as it is on the Screen. Give us this day our daily Data, and forgive us our I/O Errors as we forgive those whose Logic Circuits are faulty. Lead us not into frustration, and deliver us from Power Surges, for Thine is the Algorithm, the Application, and the Solution, looping forever and ever. Return. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Rebuilding the Lazarus
On 28.6.2011 14:54, Vincent Snijders wrote: lazarus --skip-last-project And that did the trick, thanks! Now only if I could run the build the lazarus with profile ... command :) -TP- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Rebuilding the Lazarus
On 29.6.2011 12:03, Max Vlasov wrote: On Tue, Jun 28, 2011 at 10:25 AM, Tommi Pramigroups.tpr...@gmail.com wrote: If the last project contains components that Make did not compile for me, I need to open or make new clean project (and abort the loading of the previously active project). Then I have to run the Build lazarus with profile : ... Just wondering, does consecutive make make idepkg from command line equivalent to these actions? It seems it worked for me, but I suppose there are nuances. Max Might work. But Iseem to need to build Lazarus with Clean+Build to get WinCE working. So I might need to modify the makefile somehow, but I really don't know... -TP- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Ctrl+Space problem with latest trunc version
Just updated to see if the problem would be gone. [crtl+space] will cause error message like : C:\lazarus\lcl\lclclasses.pp(32,10) Error: unit not found: Classes (now to the even the different unit) and the focus goes at the the uses clause. Could this be related to some setting, or is this known issue, or some weirdness in my system. I took SVN update and rebuild my Lazarus about hour ago... -Tee- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Rebuilding the Lazarus
Hello, If I update my Lazarus from the SVN and then make it, I have slight problems, which now I correct by hand. Basically it is like this. If the last project contains components that Make did not compile for me, I need to open or make new clean project (and abort the loading of the previously active project). Then I have to run the Build lazarus with profile : ... Then I am good to go. I was pondering that could I do this from the Command-line. 1. Start Lazarus with clean default project (Not loading the previous one) 2. Run the Build lazarus with profile : ... command. If this would be possible the updating the SVN version would be little bit easier. And is there some command-line reference of Lazarus??? -TP- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Can't compile WinCE app
On 24.6.2011 10:10, Björn Schreiber wrote: Hi. Perhaps the same problem as mentioned in the forum: http://lazarus.freepascal.org/index.php/topic,13118.0.html hth, Björn Checked then and made way too long reply there, but basically I did following : 1. Build up Unoptimized IDE with Clean+Build option set. 2. Started my problem project and used the Run - Clean up build files... - Clean up and build. That did the trick, at least for now. Thanks everyone that have helped me with this... -Tee- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Can't compile WinCE app
So I did not use Snapshot compiler, but official and stabile versions. Maybe this is Lazarus problem somehow? Maybe, but the fact that there are snapshots built with fpc 2.4.4 suggests, that it may be some configuration problem. Yes, This could be something like that. Any ideas how to make this work. What settings to Check. -TP- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Can't compile WinCE app
On 22.6.2011 11:46, Felipe Monteiro de Carvalho wrote: On Wed, Jun 22, 2011 at 9:51 AM, Tommi Pramigroups.tpr...@gmail.com wrote: This could be something like that. Any ideas how to make this work. What settings to Check. In Lazarus go to the menu Tools-Options-Paths and check the path to the compiler It is there... C:\fpc\2.4.4\bin\i386-win32\fpc.exe .Tee. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Can't compile WinCE app
On 22.6.2011 14:13, Felipe Monteiro de Carvalho wrote: If you do it like this: 1 Remove any installed snapshots did before 2 Install Lazarus 0.9.30 + addon for wince This because the settings? 3 Rebuild your lazarus svn against the fpc 2.4.2 shipped with 0.9.30 Why 2.4.2 fpc? O mainly why would the 2.4.4 not work (Thwere are SQLite fixes etc I am interested in) -TP- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Can't compile WinCE app
Hello, I had latest Snapshot and I just updated the FPC to 2.4.4 and compiled tha latest SVN version of the Lazarus (today). I am not 100% sure that these are same errors, but I am prtetty sure that the error messages are the same (Sorry I did not save them)... C:\lazarus\packager\units\arm-wince\lazaruspackageintf.s: Assembler messages: C:\lazarus\packager\units\arm-wince\lazaruspackageintf.s:405: Error: unknown pseudo-op: `.secrel32' C:\lazarus\packager\units\arm-wince\lazaruspackageintf.s:413: Error: unknown pseudo-op: `.secrel32' C:\lazarus\packager\registration\lazaruspackageintf.pas(110) Error: Error while assembling exitcode 1 C:\lazarus\packager\registration\lazaruspackageintf.pas(110) Fatal: There were 2 errors compiling module, stopping Any ideas how to fix this?? -Tee- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Can't compile WinCE app
Hello, I had latest Snapshot and I just updated the FPC to 2.4.4 and compiled tha latest SVN version of the Lazarus (today). I am not 100% sure that these are same errors, but I am prtetty sure that the error messages are the same (Sorry I did not save them)... C:\lazarus\packager\units\arm-wince\lazaruspackageintf.s: Assembler messages: C:\lazarus\packager\units\arm-wince\lazaruspackageintf.s:405: Error: unknown pseudo-op: `.secrel32' C:\lazarus\packager\units\arm-wince\lazaruspackageintf.s:413: Error: unknown pseudo-op: `.secrel32' C:\lazarus\packager\registration\lazaruspackageintf.pas(110) Error: Error while assembling exitcode 1 C:\lazarus\packager\registration\lazaruspackageintf.pas(110) Fatal: There were 2 errors compiling module, stopping Any ideas how to fix this?? Have you tried Run / Clean up build files / Delete? Did not help... -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Can't compile WinCE app
On 21.6.2011 19:37, Vincent Snijders wrote: 2011/6/21 Tommi Pramigroups.tpr...@gmail.com: Hello, I had latest Snapshot and I just updated the FPC to 2.4.4 and compiled tha latest SVN version of the Lazarus (today). I am not 100% sure that these are same errors, but I am prtetty sure that the error messages are the same (Sorry I did not save them)... C:\lazarus\packager\units\arm-wince\lazaruspackageintf.s: Assembler messages: C:\lazarus\packager\units\arm-wince\lazaruspackageintf.s:405: Error: unknown pseudo-op: `.secrel32' C:\lazarus\packager\units\arm-wince\lazaruspackageintf.s:413: Error: unknown pseudo-op: `.secrel32' C:\lazarus\packager\registration\lazaruspackageintf.pas(110) Error: Error while assembling exitcode 1 C:\lazarus\packager\registration\lazaruspackageintf.pas(110) Fatal: There were 2 errors compiling module, stopping I don't know what whent wrong, but the lazarus arm-wince snapshot with fpc 2.4.4 went ok last night. For fpc 2.4.5 en 2.5.1 they failed like this: Vincent I got those errors with this project, with 2.4.2 official, and now the 2.4.4 FPC's. So I did not use Snapshot compiler, but official and stabile versions. Maybe this is Lazarus problem somehow? -TP- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] QR Code
http://code.google.com/p/zxing/ That is java One, maybe too complicated, can procuce and read barcodes... -TP- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] QR Code
On 13.5.2011 10:06, Bo Berglund wrote: On Fri, 18 Feb 2011 21:40:35 -0200, silvioprogsilviop...@gmail.com wrote: Hi guys, CGI Test: http://174.122.19.91/~silviopr/cgi-bin/qrcode/perl/qr_img.cgi?d=FreePascal-Lazaruse=H Source (CGI/PHP): http://174.122.19.91/~silviopr/cgi-bin/qrcode.zip Reader for several mobiles (use your mobile cam, I tested with Sony-Ericson W200a with sucess! ^^): http://174.122.19.91/~silviopr/cgi-bin/KaywaReader.jar I will try convert (the generator) from PHP to Object Pascal. When I finish I will implement in LazSolutionshttp://code.google.com/p/lazsolutions. Any success in conversion of the QR *generator*? I have been trawling the web for OP/Delphi/FPC gereation code unsuccessfully... Hello, I made simple Unit to use command line tool to generate Bar-codes including Qr-code, it is better than nothing. Original code is made with C/C++ I think. Would be good to have both directions tough, and native code, if possible. Here is the cOpenSource commandline tool I've used : http://sourceforge.net/projects/zint/ I can donate my unit if someone is needing it and even better helping to maintain it :) -TP- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus