Re: [Lazarus] Error 500

2011-04-07 Thread Graeme Geldenhuys
On 07/04/2011 00:06, silvioprog wrote: I'm using debugserver (http://goo.gl/jHrSH), is a very good tool. WARNING: Be careful with debugserver under Windows - you can't always trust the results. If you have a process that runs fast, and generates a lot of debug messages (many per second),

Re: [Lazarus] Lazarus r30219 cannot be compiled on Mac OS X

2011-04-07 Thread Fred Flinestone
Lazarus r30234 compiles fine. Thanks. BTW: Using FPC r.16982 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Error 500

2011-04-07 Thread Michael Van Canneyt
On Thu, 7 Apr 2011, Graeme Geldenhuys wrote: On 07/04/2011 00:06, silvioprog wrote: I'm using debugserver (http://goo.gl/jHrSH), is a very good tool. WARNING: Be careful with debugserver under Windows - you can't always trust the results. If you have a process that runs fast, and

[Lazarus] Metafile support

2011-04-07 Thread Alexander Klenin
A TAChart user requested export to WMF/EMF: http://forum.lazarus.freepascal.org/index.php/topic,12693.0.html It turns out that Lazarus CCR has Metafile package, but it is incomplete and apparently abandoned. My options are: 1) Import the source into TAChart (it is only 350 lines of code), and

Re: [Lazarus] Metafile support

2011-04-07 Thread Felipe Monteiro de Carvalho
I think that the best would adding WMF and EMF writer modules to fpctrunk/packages/fpvectorial A TMetafile class in Lazarus can also be added which uses fpvectorial as a backend, but for your purposes it looks to me that you could simply use fpvectorial directly. The code that you found could be

Re: [Lazarus] Metafile support

2011-04-07 Thread Felipe Monteiro de Carvalho
On Thu, Apr 7, 2011 at 1:27 PM, Alexander Klenin kle...@gmail.com wrote: That was my first thought too, but after looking at fpvectorial interface I found that it is not currently suitable neither for TAChart nor for WMF. This line in SVG writer illustrates some missing features:  

Re: [Lazarus] Metafile support

2011-04-07 Thread Felipe Monteiro de Carvalho
On Thu, Apr 7, 2011 at 1:46 PM, Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote: as opposed to using so Windows APIs The code I found does indeed use WinAPI, so it is Windows-specific. However, the upside is that it is relatively simple and possibly more efficient then

[Lazarus] Power Off/Restart a PC

2011-04-07 Thread Fábio Henrique de Souza
Hi all, How to power off and restart a computer with Lazarus? (cross-platform or Windows and Linux) Thanks, Fábio -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Metafile support

2011-04-07 Thread Alexander Klenin
On Thu, Apr 7, 2011 at 23:55, Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote: Could you repost your e-mails to the mailling list? It seams that they came only to me, while they might be useful for the general audience. Oops, gmail defaults have caught me again.

[Lazarus] Building packages etc. with bigide

2011-04-07 Thread Mark Morgan Lloyd
Is there an easy way to build a package such as lazsvn from the command line at the same time as make bigide? The reason I ask is that I'm normally building for both GTK and GTK2 (and sometimes for Qt) using a script, and would like to avoid having to subsequently rebuild from inside the IDE

Re: [Lazarus] Building packages etc. with bigide

2011-04-07 Thread Mattias Gaertner
    Mark Morgan Lloyd markmll.laza...@telemetry.co.uk hat am 7. April 2011 um 17:02 geschrieben: Is there an easy way to build a package such as lazsvn from the command line at the same time as  make bigide? The reason I ask is that I'm normally building for both GTK and GTK2 (and sometimes

Re: [Lazarus] Power Off/Restart a PC

2011-04-07 Thread Felipe Monteiro de Carvalho
In Linux you can try something like uses BaseUnix, Unix; Shell('restart'); -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Power Off/Restart a PC

2011-04-07 Thread Felipe Monteiro de Carvalho
Ah, sorry =p Shell('reboot'); -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Problems with the v0.9.30 AMD 64 DEBs on Sourceforge

2011-04-07 Thread Flávio Etrusco
On Tue, Apr 5, 2011 at 9:54 AM, brian br...@meadows.pair.com wrote: Hi Mattias, On 04/05/2011 06:48 AM, Mattias Gaertner wrote: brian br...@meadows.pair.com hat am 5. April 2011 um 11:11 geschrieben:   Hi all,     I downloaded and installed the AMD 64 DEBs from Sourceforge, cleaned   off

Re: [Lazarus] Power Off/Restart a PC

2011-04-07 Thread Nikolay Nikolov
On 04/07/2011 04:08 PM, Fábio Henrique de Souza wrote: Hi all, How to power off and restart a computer with Lazarus? (cross-platform or Windows and Linux) For Windows, use the ExitWindowsEx function: http://msdn.microsoft.com/en-us/library/aa376868%28v=vs.85%29.aspx --

[Lazarus] Lazarus errors -- DVD procedure identifiers.

2011-04-07 Thread Peter Williams
Hi All, I have a legacy Delphi 7 project which works fine in D7, but it gives these errors in Lazarus 0.9.31. Options changed, recompiling clean with -BHint: Start of reading config file /etc/fpc.cfgHint: End of reading config file /etc/fpc.cfgFree Pascal Compiler version 2.4.2-0 [2010/11/11]

Re: [Lazarus] Lazarus errors -- DVD procedure identifiers.

2011-04-07 Thread Daniel Franzini
It seems that these functions and constants you are using are from Windows unit. Did you tried to include it in your uses clause? 2011/4/7 Peter Williams pewilliams2...@live.com Hi All, I have a legacy Delphi 7 project which works fine in D7, but it gives these errors in Lazarus 0.9.31.

Re: [Lazarus] Lazarus errors -- DVD procedure identifiers.

2011-04-07 Thread Peter Williams
Hi Daniel, Date: Thu, 7 Apr 2011 17:20:51 -0300 From: daniel.franz...@gmail.com To: lazarus@lists.lazarus.freepascal.org Subject: Re: [Lazarus] Lazarus errors -- DVD procedure identifiers. It seems that these functions and constants you are using are from Windows unit. Did you tried to include

Re: [Lazarus] Lazarus errors -- DVD procedure identifiers.

2011-04-07 Thread Daniel Franzini
2011/4/7 Peter Williams pewilliams2...@live.com Hi Daniel, -- Date: Thu, 7 Apr 2011 17:20:51 -0300 From: daniel.franz...@gmail.com To: lazarus@lists.lazarus.freepascal.org Subject: Re: [Lazarus] Lazarus errors -- DVD procedure identifiers. It seems that