[Lazarus] Compilation aAn unhandled exception

2013-06-03 Thread Ernest V Miller
Hi list! I am working on lazarus desktop gui application. Every 2 or 3 hours of active development after regular writing code and fixing compilation errors I suddenly get main.pas(1,1) Fatal: Compilation aAn unhandled exception occurred at $00010006B1DC : instead of normal success or

Re: [Lazarus] INVALID_* consts

2013-06-03 Thread waldo kitty
On 6/3/2013 18:54, Hans-Peter Diettrich wrote: waldo kitty schrieb: const INVALID_FILE_SIZE = DWORD($); is the above correct? it would seem to be from what i can make out from MSDN and the various C code files i've found it defined in... Using unsigned constants with int64 filesizes w

Re: [Lazarus] INVALID_* consts

2013-06-03 Thread Hans-Peter Diettrich
waldo kitty schrieb: On 6/3/2013 13:52, Mattias Gaertner wrote: On Mon, 3 Jun 2013 19:12:44 +0200 Marco van de Voort wrote: On Mon, Jun 03, 2013 at 05:00:46AM -0400, waldo kitty wrote: why does this constant not exist in FPC or Lazarus? have i been looking in the wrong place or for the wr

[Lazarus] "crti.o" "crtbegin.o" "crtend.o" "crtn.o"

2013-06-03 Thread Junior
Hi all When compiling fpc 2.7.1 realized these warnings: --- fpmake.pp(218,1) Warning: "crti.o" not found, this will probably cause a linking failure fpmake.pp(218,1) Warning: "crtbegin.o" not found, this will probably cause a linking failure fpmake.

Re: [Lazarus] INVALID_* consts

2013-06-03 Thread waldo kitty
On 6/3/2013 15:23, Mattias Gaertner wrote: On Mon, 03 Jun 2013 14:25:38 -0400 waldo kitty wrote: [...] http://wiki.lazarus.freepascal.org/Lazarus_1.2.0_release_notes#TComponentPropertyEditor_behavior_was_changed has left a word out... shouldn't it say Effect: users of your component can *no*

Re: [Lazarus] INVALID_* consts

2013-06-03 Thread Mattias Gaertner
On Mon, 03 Jun 2013 22:27:45 +0300 Alberto Narduzzi wrote: > > > > all i can do is point to the links i just posted to mattias where it is > > defined and routines are shown with how to use it... > > Uh... I just went through the first 2 or 3 links and the amount of crap > I found is unbelievab

Re: [Lazarus] INVALID_* consts

2013-06-03 Thread Alberto Narduzzi
all i can do is point to the links i just posted to mattias where it is defined and routines are shown with how to use it... Uh... I just went through the first 2 or 3 links and the amount of crap I found is unbelievably enormous. Why the hell should I consider 4 platforms on 2 architectures

Re: [Lazarus] INVALID_* consts

2013-06-03 Thread Mattias Gaertner
On Mon, 03 Jun 2013 14:25:38 -0400 waldo kitty wrote: >[...] > http://wiki.lazarus.freepascal.org/Lazarus_1.2.0_release_notes#TComponentPropertyEditor_behavior_was_changed > > has left a word out... shouldn't it say > > Effect: users of your component can *no* longer select components outside o

Re: [Lazarus] ** [compiler_cycle] Error 2

2013-06-03 Thread Mattias Gaertner
On Mon, 03 Jun 2013 15:41:04 -0300 Junior wrote: > is complicated inform step-by-step list here. What do you mean with "inform"? > I always compile installing version 2.6. > Occasionally mistakes happen when compiling the 2.7.1 BTW, it is bad practice to compile as "root". > Em 03-06-2013

Re: [Lazarus] INVALID_* consts

2013-06-03 Thread waldo kitty
On 6/3/2013 14:27, Alberto Narduzzi wrote: what can we do about INVALID_FILE_SIZE? const INVALID_FILE_SIZE = DWORD($); is the above correct? it would seem to be from what i can make out from MSDN and the various C code files i've found it defined in... i kind of have to laugh because o

Re: [Lazarus] INVALID_* consts

2013-06-03 Thread waldo kitty
On 6/3/2013 14:19, Mattias Gaertner wrote: On Mon, 03 Jun 2013 14:09:39 -0400 waldo kitty wrote: [...] thanks, i think :) what can we do about INVALID_FILE_SIZE? What function returns that? i think it is a convenience constant... i searched uncle google for "INVALID_FILE_SIZE" and found

Re: [Lazarus] ** [compiler_cycle] Error 2

2013-06-03 Thread Junior
is complicated inform step-by-step list here. I always compile installing version 2.6. Occasionally mistakes happen when compiling the 2.7.1 Em 03-06-2013 15:21, Mattias Gaertner escreveu: On Mon, 03 Jun 2013 15:10:22 -0300 Junior wrote: root@junior-R7MAN:/tmp/fpc# make build OS_TARGET=lin

Re: [Lazarus] INVALID_* consts

2013-06-03 Thread waldo kitty
On 6/3/2013 13:52, Mattias Gaertner wrote: On Mon, 3 Jun 2013 19:12:44 +0200 Marco van de Voort wrote: On Mon, Jun 03, 2013 at 05:00:46AM -0400, waldo kitty wrote: why does this constant not exist in FPC or Lazarus? have i been looking in the wrong place or for the wrong thing? C:\repo\f

Re: [Lazarus] INVALID_* consts

2013-06-03 Thread Alberto Narduzzi
what can we do about INVALID_FILE_SIZE? const INVALID_FILE_SIZE = DWORD($); is the above correct? it would seem to be from what i can make out from MSDN and the various C code files i've found it defined in... i kind of have to laugh because on place i read spoke of examples checking th

Re: [Lazarus] ** [compiler_cycle] Error 2

2013-06-03 Thread Mattias Gaertner
On Mon, 03 Jun 2013 15:10:22 -0300 Junior wrote: > root@junior-R7MAN:/tmp/fpc# make build OS_TARGET=linux CPU_TARGET=i386 > make: -iVSPTPSOTO: Comando não encontrado > make compiler_cycle RELEASE=1 > make[1]: -iVSPTPSOTO: Comando não encontrado There is no compiler in your PATH. How did you inst

Re: [Lazarus] INVALID_* consts

2013-06-03 Thread Mattias Gaertner
On Mon, 03 Jun 2013 14:09:39 -0400 waldo kitty wrote: >[...] > thanks, i think :) > > what can we do about INVALID_FILE_SIZE? What function returns that? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.f

[Lazarus] ** [compiler_cycle] Error 2

2013-06-03 Thread Junior
root@junior-R7MAN:/tmp/fpc# make build OS_TARGET=linux CPU_TARGET=i386 make: -iVSPTPSOTO: Comando não encontrado make compiler_cycle RELEASE=1 make[1]: -iVSPTPSOTO: Comando não encontrado make[1]: Entrando no diretório `/tmp/fpc' make -C compiler cycle make[2]: -iVSPTPSOTO: Comando não encontrado

Re: [Lazarus] INVALID_* consts

2013-06-03 Thread waldo kitty
On 6/3/2013 13:52, Mattias Gaertner wrote: On Mon, 3 Jun 2013 19:12:44 +0200 Marco van de Voort wrote: On Mon, Jun 03, 2013 at 05:00:46AM -0400, waldo kitty wrote: why does this constant not exist in FPC or Lazarus? have i been looking in the wrong place or for the wrong thing? C:\repo\f

Re: [Lazarus] porting delphi project code

2013-06-03 Thread Mattias Gaertner
On Mon, 3 Jun 2013 19:10:34 +0200 Marco van de Voort wrote: > On Sun, Jun 02, 2013 at 02:04:57PM +0200, Mattias Gaertner wrote: > > > with most non-trivial projects. > > > > Maybe optionally add a -dDelphi7? > > The delphi7 is no real delphi compiler define. They are mapped from ver > to that.

Re: [Lazarus] INVALID_* consts

2013-06-03 Thread Mattias Gaertner
On Mon, 3 Jun 2013 19:12:44 +0200 Marco van de Voort wrote: > On Mon, Jun 03, 2013 at 05:00:46AM -0400, waldo kitty wrote: > > why does this constant not exist in FPC or Lazarus? > > > have i been looking in the > > wrong place or for the wrong thing? > > C:\repo\fpc\rtl\win\wininc>grep INVAL

Re: [Lazarus] INVALID_* consts

2013-06-03 Thread waldo kitty
On 6/3/2013 13:12, Marco van de Voort wrote: On Mon, Jun 03, 2013 at 05:00:46AM -0400, waldo kitty wrote: why does this constant not exist in FPC or Lazarus? have i been looking in the wrong place or for the wrong thing? C:\repo\fpc\rtl\win\wininc>grep INVALID_HANDLE_VALUE * defines.inc:

Re: [Lazarus] porting delphi project code

2013-06-03 Thread Marco van de Voort
On Sun, Jun 02, 2013 at 02:04:57PM +0200, Mattias Gaertner wrote: > > with most non-trivial projects. > > Maybe optionally add a -dDelphi7? The delphi7 is no real delphi compiler define. They are mapped from ver to that. -- ___ Lazarus mailing list Laz

Re: [Lazarus] INVALID_* consts

2013-06-03 Thread Marco van de Voort
On Mon, Jun 03, 2013 at 05:00:46AM -0400, waldo kitty wrote: > why does this constant not exist in FPC or Lazarus? > have i been looking in the > wrong place or for the wrong thing? C:\repo\fpc\rtl\win\wininc>grep INVALID_HANDLE_VALUE * defines.inc: INVALID_HANDLE_VALUE = HANDLE(-1); -- _

Re: [Lazarus] porting delphi project code

2013-06-03 Thread Juha Manninen
On Sun, Jun 2, 2013 at 3:04 PM, Mattias Gaertner wrote: > Maybe optionally add a -dDelphi7? Good idea. Well, how to add it in code? The data structure is now quite complex with MatrixOptions and everything. Juha -- ___ Lazarus mailing list Lazarus@lis

[Lazarus] INVALID_* consts

2013-06-03 Thread waldo kitty
there are two items of discussion in this post... i've some converted code that expects INVALID_FILE_SIZE but this constant is not found... i did some digging and find INVALID_HANDLE_VALUE in LCLType but no other INVALID_* constants... so i go visit uncle google and i find something interesti

[Lazarus] [OT] Re: GDB and threads

2013-06-03 Thread Lukasz Sokol
On 02/06/2013 10:17, Sven Barth wrote: > On 02.06.2013 11:07, Michael Van Canneyt wrote: >> >> >> On Sun, 2 Jun 2013, Graeme Geldenhuys wrote: >> >>> On 2013-06-02 09:46, Sven Barth wrote: >>> When we are finished ;) >>> >>> >>> Where is it taking place? >> >> Bingen, Germany. (actually, a sma