Re: [Lazarus] Version information under Linux

2009-06-04 Thread shoKwave
Torsten Bonde Christiansen schrieb: Michael Van Canneyt wrote: Version 2.3.1 of the compiler supports all this on linux. If the compiler supports it, how can the information be extracted at runtime? Regards, Torsten Bonde Christiansen. ___ Lazarus

Re: [Lazarus] DOS charset to UTF-8

2009-10-19 Thread shoKwave
Mattias Gärtner schrieb: Zitat von Graeme Geldenhuys : On 19/10/2009, Graeme Geldenhuys wrote: Hi, How to I convert a file that contains text in the DOS charset to UTF-8. I need this to work under Linux and Windows. The DOS charset characters used, are for box drawing and arrows. They c

Re: [Lazarus] Jpeg error

2009-10-26 Thread shoKwave
SteveG schrieb: Was wondering if anybody could tell me why this image from Google maps fails to load in a standard TImage on a form ? Opens ok on my system (Kubuntu 9.04) with other apps Thanks - SteveG Seems to be the missing feature: http://bugs.freepascal.org/view.php?id=10472 - In

Re: [Lazarus] trayicon hide main form icon

2009-11-27 Thread shoKwave
Manuel Galeote schrieb: Using Lazarus on Windows. Use a trayicon and have put into the event formresize following form: frmprincipal.Hide; TrayIcon1.Show; Then in the event of trayicon OnDblClick this: frmprincipal.Show; TrayIcon1.Show; The icon trayicon looks and performs its function correctly

Re: [Lazarus] Retrieve VersionInfo at runtime

2010-01-22 Thread shoKwave
Luiz Americo Pereira Camara schrieb: Is there a way to retrieve the version info that is stored in the project file at runtime? Luiz -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo

Re: [Lazarus] Newcomers with Debian based systems

2010-03-16 Thread shoKwave
Hans-Peter Diettrich schrieb: If somebody can point out the most promising path to follow, I can report in part 2 what further trouble prevented me from installing a working version of Lazarus that way. It's ridiculous when some tar comes with a bunch of packages, which cannot be installed d

Re: [Lazarus] main form icon and other things

2010-04-01 Thread shoKwave
Am 01.04.2010 09:50, schrieb Alberto Narduzzi: 1. I specify (load, from the object inspector) an icon for the application's main form, but when I compile and run the application, its icon is always the red "X" icon; no matter what file I load (be it an .ico, or an .xpm). Nothing changes even if

Re: [Lazarus] TIniFile bug?

2010-05-18 Thread shoKwave
Am 18.05.2010 14:13, schrieb Kjow: I have a problem with TIniFile, it doesn't work. Until some revisions ago (2-3 days) no problem, but from yesterday it doesn't work anymore. I had problems with TInifile.ReadString. See http://bugs.freepascal.org/view.php?id=16502 -- _

Re: [Lazarus] TIniFile bug?

2010-05-18 Thread shoKwave
Am 18.05.2010 15:35, schrieb Kjow: 2010/5/18 shoKwave: I had problems with TInifile.ReadString. See http://bugs.freepascal.org/view.php?id=16502 TInifile.ReadBool also doesn't work. Maybe all the read-system doesn't works, on WriteInteger/WriteBool it works.

Re: [Lazarus] Installing FPC/Lazarus on Windows using SVN, no binaries

2010-06-02 Thread shoKwave
Am 02.06.2010 15:36, schrieb Felipe Monteiro de Carvalho: Actually I have forgotten how to build FPC from SVN and integrate it to Lazarus ... It is on my plans to relearn that, maybe in a couple of days ... Hello, I'm seeking for an "easy" way since some weeks, too. So maybe I can help. ATM the

Re: [Lazarus] Installing FPC/Lazarus on Windows using SVN, no binaries

2010-06-03 Thread shoKwave
Am 03.06.2010 11:35, schrieb Juha Manninen: 5.1 Copy all binaries which do not allready exist from old ..\fpc\bin\i386-win32\ to the new one On Linux I did basically the same thing except for this 5.1. What binaries? On Windows FPC comes with several tools like make, cp, rm... which d

Re: [Lazarus] Installing FPC/Lazarus on Windows using SVN, no binaries

2010-06-03 Thread shoKwave
Am 03.06.2010 13:45, schrieb Juha Manninen: Ah, yes. With Linux everything is so much easier :-) I don't think so. On Linux first you have to check all depending packages (gdk-pixbuf-devel, gtk2-devel, libQt4-devel...) are installed and on some distros packages are named different. Then d

Re: [Lazarus] Getting and building specific versions

2010-06-03 Thread shoKwave
Am 03.06.2010 15:28, schrieb Mark Morgan Lloyd: For the record, can anybody give examples of how to find the version numbers and then get the appropriate one? My experience of svn is about limited to the co command, how do I look at the available tags? Just open http://svn.freepascal.org/svn/l

Re: [Lazarus] Installing FPC/Lazarus on Windows using SVN, no binaries

2010-06-03 Thread shoKwave
Am 03.06.2010 17:45, schrieb Marcos Douglas: Simply keep them in a separate directory that also has a PATH entry. I have the following under Windows. c:\fpc\binutils\ c:\fpc\\ One more tip... this should be more explicit in the installation on Windows. It seems that each person makes his

Re: [Lazarus] Installing FPC/Lazarus on Windows using SVN, no binaries

2010-06-03 Thread shoKwave
Am 03.06.2010 17:15, schrieb Juha Manninen: shoKwave wrote: I don't think so. On Linux first you have to check all depending packages (gdk-pixbuf-devel, gtk2-devel, libQt4-devel...) are installed and on some distros packages are named different. Then do all things discriped( withou

Re: [Lazarus] Clean Up and Build / Fatal Error: Can't Create object file: units/i386-linux/hello.o

2010-06-04 Thread shoKwave
Am 04.06.2010 02:21, schrieb Peter E Williams: File: hello.pp [Read-Only] (/usr/lib/lazarus/0.9.28.2/examples) Hello, if you have installed Lazarus by packagemanager you have no permission to write by default. It's because the package manager uses superuser-rights to install it. You'll ha

Re: [Lazarus] Clean Up and Build / Fatal Error: Can't Create object file: units/i386-linux/hello.o

2010-06-07 Thread shoKwave
Am 07.06.2010 12:15, schrieb Peter E Williams: I am obviously not running Lazarus as a superuser in the correct manner. What is the command to run lazarus in superuser mode??? I want 2 menu items - one for regular use and one for superuser. Please tell me the command to use. Hi, "sudo" is a

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-22 Thread shoKwave
On 22.07.2010 16:01, Marcos Douglas wrote: I added a tuturial to compile and install FPC/Lazarus, from sources of SVN, on Windows. Link: http://wiki.freepascal.org/Installing_Lazarus#Compiling.2Finstalling_FPC_and_Lazarus_from_Sources_of_SVN Hi, this is a good thing but I think it won't wor

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-22 Thread shoKwave
On 22.07.2010 18:53, Marcos Douglas wrote: I described in step #1: Dir: c:\freepascal\binutils\i386-win32\ URL: http://svn.freepascal.org/svn/fpcbuild/branches/fixes_2_4/install/binw32 Just open this URL in your preferred browser and see there's no ppc386.exe. You'll have to copy it from so

Re: [Lazarus] Lazarus installation on Mac plus other thoughts

2010-07-27 Thread shoKwave
On 27.07.2010 18:23, Juha Manninen wrote: So it really requires a DVD? No download option? DVD is easiest I think. You can try to download from apple homepage (http://developer.apple.com/technologies/xcode.html), but you'll have to register first. Also you need the right version. IIRC 3.1 for

[Lazarus] Problem using TAsyncProcess.OnReadData

2010-07-28 Thread shoKwave
Hi all, I'm trying to use TAsyncProcess and got into trouble on other widgetsets than GTK2. The code below works fine on Ubuntu 10.04 x64 (GTK2) and openSUSE 11.3 i386 (GTK2), but not on openSUSE 11.3 i386 (QT) or Windows7 i386. I played around with the options and other properties, but no

Re: [Lazarus] Lazarus Manager

2010-10-05 Thread shoKwave
Am 04.10.2010 18:08, schrieb Kjow: Hi all, This eMail is a "Spin-Off" of mailing "Build scripts for Freepascal and Lazarus compilation from source" Here ( http://wiki.lazarus.freepascal.org/Lazarus_Manager ) I started a project to manage Lazarus/FPC installation from svn sources. In the next w

Re: [Lazarus] Lazarus Manager

2010-10-15 Thread shoKwave
Hi, I just looked over your scripts and have some remarks/questions. Linux-script: >>echo "Please, enter your account user:" >>read NAME There is a variable called $USER. Why not use this? >>sudo apt-get install -y cvs What is this package for? I don't have this installed on my ubuntu and y

Re: [Lazarus] Lazarus Manager

2010-10-15 Thread shoKwave
Am 15.10.2010 15:48, schrieb shoKwave: ... and binutils can be downloaded from http://svn.freepascal.org/svn/fpcbuild/binaries/i386-win32/. Little correction, path is http://svn.freepascal.org/svn/fpcbuild/trunk/install/binw32/ -- ___ Lazarus

Re: [Lazarus] Lazarus IDE and fpc.cfg location

2010-10-22 Thread shoKwave
Am 22.10.2010 22:53, schrieb patspiper: 3. The directory specified in the environment variable PPC_CONFIG_PATH, and if it is not set, it will look in the etc directory above the compiler directory. (For instance, if the compiler is in /usr/local/bin, it will look in /usr/local/etc) I was

[Lazarus] Can't build IDE with Lazbuild

2010-11-03 Thread shoKwave
Hi all, "lazbuild -b --build-ide=" throws this exception since r28046. An unhandled exception occurred at $0074DF28 : Exception : SetExtraOptions should not be called. $0074DF28 line 543 of buildprofilemanager.pas $005AAD69 line 407 of lazbuild.lpr $005AE03C

Re: [Lazarus] Can't build IDE with Lazbuild

2010-11-04 Thread shoKwave
Am 04.11.2010 00:45, schrieb Juha Manninen: Yes, sorry. Fixed now in trunk. Juha -- Thanks for quick fixing. Good work. Ingo -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/laza

Re: [Lazarus] Can't build IDE with Lazbuild

2010-11-04 Thread shoKwave
Am 04.11.2010 16:23, schrieb Mattias Gaertner: On Thu, 4 Nov 2010 12:13:08 -0300 Marcos Douglas wrote: 2010/11/4 Michael Van Canneyt: On Thu, 4 Nov 2010, Marcos Douglas wrote: What is the difference to use lazbuild instead of IDE>Build? Normally it is the same, except that lazbuild is a com

Re: [Lazarus] Can't build IDE with Lazbuild

2010-11-04 Thread shoKwave
Am 04.11.2010 16:11, schrieb Marcos Douglas: On Thu, Nov 4, 2010 at 9:12 AM, Andreas Schneider wrote: On Thu, 4 Nov 2010 08:41:06 -0300, Marcos Douglas wrote: What is the difference to use lazbuild instead of IDE>Build? Marcos Douglas You don't have to run the IDE, that's the main advantage.

Re: [Lazarus] Can't find unit contnrs used by Masks

2010-12-09 Thread shoKwave
Am 09.12.2010 11:46, schrieb Michael Schnell: > which fpc /usr/local/bin/fpc > /usr/local/bin/fpc Free Pascal Compiler version 2.5.1 [2010/12/03] for i386 Copyright (c) 1993-2010 by Florian Klaempfl /usr/lib/fpc/2.5.1/ppc386 [options] [options] This doesn't match! /usr/bin/fpc should be called

Re: [Lazarus] No FPC sources on lazarus start....

2011-01-04 Thread shoKwave
Am 04.01.2011 20:24, schrieb Bo Berglund: Where should I put the sources? Place and name it how you like it. You'll have to tell Lazarus(Environment/Options/Files) there they are in any case. regards Ingo -- ___ Lazarus mailing list Lazarus@lists.la

Re: [Lazarus] Help building Lazarus in Linux64

2011-01-06 Thread shoKwave
Am 06.01.2011 23:15, schrieb José Mejuto: interpreting option "-Fu/home/joshy/pascal/fpc/lib/fpc/2.5.1/units/x86_64-linux/rtl" [0.008] Path "/home/joshy/pascal/fpc/lib/fpc/2.5.1/units/x86_64-linux/rtl/" not found Hi. It seems you tried building a 64bit-fpc with >>make all<< using a 32bit-fpc

[Lazarus] Error building IDE using LazBuild

2011-01-11 Thread shoKwave
Hi list, I just tried to update my trunk-installation and got this: ./lazbuild -B --build-ide= An unhandled exception occurred at $006C907B : Exception : TFPCUnitToSrcCache.GetConfigCache missing TestFilename $006C907B line 8676 of definetemplates.pas $006C92AA line 8

Re: [Lazarus] Error building IDE using LazBuild

2011-01-11 Thread shoKwave
Thanks for your reply, but Am 11.01.2011 17:53, schrieb Andreas Schneider: I'm not sure if "make clean all" always rebuilds lazbuild itself. Just to be on the safe side, you can run "make lazbuild". Yes it does. I did what you suggested (an additionally "make lazbuild"), but still doesn't work

Re: [Lazarus] Error building IDE using LazBuild

2011-01-11 Thread shoKwave
Am 11.01.2011 23:54, schrieb Mattias Gaertner: Fixed. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus Thanks. BTW, is it ok to post this issues here or would it

Re: [Lazarus] ERROR compiling Lazarus for first time on Windows 7 Ultimate OS. Fatal: Can't find unit system used by AllLCLUnits

2011-01-26 Thread shoKwave
Am 26.01.2011 18:53, schrieb Peter Eric Williams: * Win98: Edit autoexec.bat and add the line: PATH=%PATH%;C:\pp\bin\bin\win32 * WinXP/2k: My Computer (Right Click) -> Properties -> Advanced (Page) -> Environment Variables -> System Variables -> Edit "PATH", Add "C:\pp\

Re: [Lazarus] TortoiseSVN help.... error in Installing Lazarus wiki --- there is no download the source option

2011-02-08 Thread shoKwave
Am 08.02.2011 19:15, schrieb Peter E Williams: TortoiseSVN_options.png // it shows all of the options and there is not a "download" nor "download the source" option nothing like it what the F@CK are you talking about. But it shows an item called "SVN Update"(2 items above "TortoiseSVN")

[Lazarus] A (simple) picture of Lazarus

2011-02-09 Thread shoKwave
Hi list, from time to time there is a user (like me about one year ago) confused of how to install Lazarus and where to place all the files. There are some tutorials out there which tell the user to create a special structure of directories and copy files from here to there. But the truth is

[Lazarus] Trouble building IDE using lazbuild

2011-04-12 Thread shoKwave
Hi list, since some time (IIRC since making the lcl a usual package) I get an error when building the IDE using lazbuild. Errormessage: ... >Compiling lazhelpintf.pas >Compiling lazlinkedlist.pas >Compiling lclmemmanager.pas >Compiling lclmessageglue.pas >Fatal: Can't find unit Messages used b

Re: [Lazarus] TMemo flicker

2013-04-29 Thread shoKwave
Hi, you can try TForm1.FormCreate(Sender:TObject); begin Memo1.DoubleBuffered:=True; end; Am 29.04.2013 18:34, schrieb Jürgen Hestermann: After having moved from TStringList over TStringGrid (which both cannot be shifted right to make long text visible) I now use TMemo. But again I have an

Re: [Lazarus] TMemo flicker

2013-04-30 Thread shoKwave
Am 30.04.2013 07:25, schrieb Jürgen Hestermann: Maybe someone can just try my example program. OK, now I've tested a bit and BeginUpdate/EndUpdate works for me (Win7 x64, FPC and Laz Trunk): procedure TForm1.Button1Click(Sender: TObject); var i:Integer; begin Memo1.Clear; for i := 1 to 40

Re: [Lazarus] TMemo flicker

2013-04-30 Thread shoKwave
Am 30.04.2013 10:06, schrieb Michael Van Canneyt: It should be memo1.Lines.BeginUpdate; for i := 1 to 1000 do Memo1.Lines.Add(' LAST LINE ---'+IntToStr(i)+'---'); memo1.Lines.EndUpdate; Application.Processmessages; What y

Re: [Lazarus] Trying to get the svn v ersions of Lazarus and FPC running on Windows

2011-05-13 Thread shoKwave
Am 13.05.2011 14:41, schrieb Michael Schnell: (Very astonished that c:\fpc_2 is 143 MB of size and contains hundreds of files), That's pretty normal. On Linux you have these files too. See "/usr/lib/fpc" and "/usr/share/doc/fpc-2.5.1". I do an svn cleanup to be sure I have clean sources and th

Re: [Lazarus] Trying to get the svn v ersions of Lazarus and FPC running on Windows

2011-05-13 Thread shoKwave
Am 13.05.2011 17:35, schrieb Michael Schnell: Now my problem is that Lazarus crashes when I want to set general options (ctrl-shift-o). I suppose this is due to the language being set to German during the Installation. But I can't change it. And I can't set the debugger path :( . I would try

Re: [Lazarus] Trying to get the svn v ersions of Lazarus and FPC running on Windows

2011-05-13 Thread shoKwave
Am 13.05.2011 18:09, schrieb Michael Schnell: I deleted the appropriate lazarus directory and when starting Lazarus I got the configuration menu to set some directories. But this resulted in the same issue. Seems to be a bug. I updated lazarus on my old XP machine and now I also get this A

Re: [Lazarus] MessageDlg default button

2012-01-26 Thread shoKwave
Am 26.01.2012 11:16, schrieb Koenraad Lelong: What I have : if MessageDlg('Attention', 'Data does exist, overwrite ?', mtWarning,[mbNo, mbYes],0) = mrYes then ... I would like the mbNo to be the default button. Hi, you can use: MessageDlg('Attention', 'Data does exist, overwrite ?', mtWarn

Re: [Lazarus] Filtering on date with TDbf

2012-02-01 Thread shoKwave
Am 30.01.2012 12:25, schrieb Koenraad Lelong: Hi, Lazarus 0.9.30 I want to filter a TDbf. The field is a date. When I try in Filter in Lazarus : DATUM >= '1/1/2011' or DATUM >= "1/1/2011" or DATUM >= '1.1.2011' In my application : tblTik.Filter:='DATUM>='''+DateToStr(XferStart)+; I get

Re: [Lazarus] Release of Lazarus 1.4

2015-04-23 Thread shoKwave
Am 23.04.2015 um 10:05 schrieb Michael Schnell: On 04/22/2015 04:59 PM, Mattias Gaertner wrote: On Wed, 22 Apr 2015 16:40:02 +0200 Michael Schnell wrote: But how to "install" most easily on Linux (I always use the svn) . cd your/fpc/svn make install INSTALL_PREFIX=/usr I know this and to

Re: [Lazarus] Capturing the output from a command using TPorcess

2015-07-21 Thread shoKwave
Hi, instead of using "psexec" you could try "getmac /S ". Hope this helps. Ingo Am 20.07.2015 um 21:41 schrieb Richard Mace: Hi All, I hope this question is going to make sense. I am trying to obtain the MAC Address of a remote PC, using psexec \\pcname and running the command "ipconfig /all