[Lazarus] Scrolling about box
Hi all, In the ide when you choose help about, what component is the scrolling text ? Richard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Scrolling about box
On Thu, 6 Mar 2014 11:53:31 + Richard Mace richard.m...@gmail.com wrote: Hi all, In the ide when you choose help about, what component is the scrolling text See ide/aboutfrm.pas Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Scrolling about box
Thanks Mattias On 6 Mar 2014 12:00, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Thu, 6 Mar 2014 11:53:31 + Richard Mace richard.m...@gmail.com wrote: Hi all, In the ide when you choose help about, what component is the scrolling text See ide/aboutfrm.pas 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] Download Lazarus-1.3 snapshots for 64 Bit
Hello, svn co http://svn.freepascal.org/svn/lazarus/trunk /opt/lazarus-- where you want to download and use from there cd /opt/lazarus make clean all bigide -- and many parameter this is for debian/ubuntu. you have to installed subversion if I were you, if you not expert do NOT use snapshot. You can't find installer for snapshot (I hope YET) you have to install FPC(FreePascal Compiler) for using lazarus. My suggestion for using fpc snapshot, if you don't wana goes mad don NOT use fpc snapshot. It hasn't got installer too. Read my messages's subject Fatal: Compilation aborted 05-03-2014 18:46 tarihinde, Edson F. Lidorio yazdı: Hello, Where can I download Lazarus-1.3 snapshots for 64 bit? Thank you Edson -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] For Slackware users
Hi all, I wrote some scripts to convert FPC Lazarus binaries to Slackware packages. If you're interested you can find them to http://yann.merignac.free.fr/fpc-and-lazarus-for-slackware.html -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] When does ComponentPageControl gets filled?
You mean the compilation error? Just change 'Items' for 'Comps' Yes, I've done that. And to fix the painting problem in the designer, change the 'UpdateControlState' call to 'AdjustSize'. What painting problem? I didn't see any. Well I haven't really tested the designer though. My actual problem is that my component palette (which is docked to pnComponents) is empty. -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/When-does-ComponentPageControl-gets-filled-tp4036110p4036117.html Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] How to access C and C++ libraries?
Hi everybody! Years ago I used Delphi (on Windows) to access a C or C++ API (for talking directly with embedded device) and I can remember that there were a number of gotchas (e.g. the calling convention had to be changed form Pascal to something else (extern?) etc. ). Now I am wondering about writing a simple Lazarus GUI to the Telegram API (all C header files, AFAICT) on Linux (and maybe Windows, if not too difficult to port). Any gotchas to keep in mind for using C and C++ libraries from Lazarus/Free Pascal (on Linux and maybe Windows) or good guides? Thanks Chavoux -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] OnGuard
Hi all, I tried to add the OnGuard package to Lazarus 1.2 and am unable to compile because it is complaining of a missing unit ogreg. Has anyone got this working recently? Thanks in advance, and many thanks for all who were involved in making 1.2 happen. Richard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] How to access C and C++ libraries?
On 06.03.2014 20:31, Chavoux Luyt wrote: Hi everybody! Years ago I used Delphi (on Windows) to access a C or C++ API (for talking directly with embedded device) and I can remember that there were a number of gotchas (e.g. the calling convention had to be changed form Pascal to something else (extern?) etc. ). Now I am wondering about writing a simple Lazarus GUI to the Telegram API (all C header files, AFAICT) on Linux (and maybe Windows, if not too difficult to port). Any gotchas to keep in mind for using C and C++ libraries from Lazarus/Free Pascal (on Linux and maybe Windows) or good guides? Basically: use cdecl calling convention (on Windows it *might* be stdcall though), do not use Pascal types like classes, strings, etc. for accessing the C API, better use the types in the ctypes unit instead. Additional help is available here: http://wiki.freepascal.org/Creating_bindings_for_C_libraries Regards, Sven -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] How to access C and C++ libraries?
El 06/03/14 20:31, Chavoux Luyt ha escrit: Now I am wondering about writing a simple Lazarus GUI to the Telegram API (all C header files, AFAICT) on Linux (and maybe Windows, if not too difficult to port). Any gotchas to keep in mind for using C and C++ libraries from Lazarus/Free Pascal (on Linux and maybe Windows) or good guides? Take a look here ftp://ftp.freepascal.org/fpc/docs-pdf/CinFreePascal.pdf and here http://wiki.lazarus.freepascal.org/Creating_bindings_for_C_libraries Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es Tel. +34 935883004 Fax +34 935883007 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Compiling on OpenBSD
On 2014-03-03 23:00:50 +0100, Mattias Gaertner wrote: On Thu, 27 Feb 2014 08:09:42 -0300 Leonardo Rame l.r...@griensu.com wrote: #7 0x00b038ce in GETSTYLEWITHNAME ( WNAME=0x1ae7258 vertical scrollbar) at gtk2proc.inc:7815 That is StyleObject^.Widget := gtk_vscrollbar_new(nil); That means a normal gtk call fails. Probably there was some other bug happened prior to this and crumbled the heap or stack. Please compile with more checks. For example: make clean all OPT='-Criot -ghtl' Mattias Hi Mattias, I've compiled with OPT='-Criot -ghtl', here are the results if I run from gdb: Program received signal SIGBUS, Bus error. 0x00020b953389 in snprintf (str=0x7f7d8b38 , n=39, fmt=0x2021dc755 %.17g) at /usr/src/lib/libc/stdio/snprintf.c:43 43 /usr/src/lib/libc/stdio/snprintf.c: No such file or directory. in /usr/src/lib/libc/stdio/snprintf.c Current language: auto; currently c The program is running. Exit anyway? (y or n) % ➜ lazarus ./lazarus --g-fatal-warnings Here's the result of just running from the command prompt: TMainIDE.ParseCmdLineOptions: PrimaryConfigPath=/home/martin/.lazarus SecondaryConfigPath=/etc/lazarus TApplication.HandleException Access violation Stack trace: $00020CE4A389 line 43 of /usr/src/lib/libc/stdio/snprintf.c -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus