Re: [fpc-pascal]Suppressing the console window in Win32

2004-03-03 Thread Steve Williams
> > Thanks. I've never had to use that in Delphi since it defaults to GUI if > > there is no $APPTYPE directive. Would it make sense for FPC to default to > > GUI if compiled in Delphi compatibility mode? I'm new to FPC so I don't > > know if that has been discussed before. > > That is a Win32 (

Re: [fpc-pascal]Suppressing the console window in Win32

2004-03-03 Thread Peter Vreman
> Thanks. I've never had to use that in Delphi since it defaults to GUI if > there is no $APPTYPE directive. Would it make sense for FPC to default to > GUI if compiled in Delphi compatibility mode? I'm new to FPC so I don't > know if that has been discussed before. That is a Win32 (maybe also

Re: [fpc-pascal]Suppressing the console window in Win32

2004-03-03 Thread Steve Williams
Thanks. I've never had to use that in Delphi since it defaults to GUI if there is no $APPTYPE directive. Would it make sense for FPC to default to GUI if compiled in Delphi compatibility mode? I'm new to FPC so I don't know if that has been discussed before. Incidentally, can there be a warning

Re: [fpc-pascal]Default parameters support?

2004-03-03 Thread Peter Vreman
> Does FPC support default parameters in procedures/functions? I have FPC > 1.0.10 and I cannot get it to compile Delphi code that has default > parameters. I'm using the -Sd option, but I cannot find any mention of > default parameters in the documentation. > > I cannot try FPC 1.9.2 since it is

Re: [fpc-pascal]Suppressing the console window in Win32

2004-03-03 Thread Peter Vreman
> I'm building a graphical application using GameVision > (http://www.jarroddavis.com/). The application compiled in FPC opens a > console window whenever the application is executed. The application > compiled in Delphi does not open a console window. How do I not have the > console window auto

[fpc-pascal]Suppressing the console window in Win32

2004-03-03 Thread Steve Williams
I'm building a graphical application using GameVision (http://www.jarroddavis.com/). The application compiled in FPC opens a console window whenever the application is executed. The application compiled in Delphi does not open a console window. How do I not have the console window automatically

Re: [fpc-pascal]Default parameters support?

2004-03-03 Thread Marco van de Voort
> Does FPC support default parameters in procedures/functions? I have FPC > 1.0.10 and I cannot get it to compile Delphi code that has default > parameters. I'm using the -Sd option, but I cannot find any mention of > default parameters in the documentation. Default parameters, Interfaces, Dynam

Re: [fpc-pascal]Default parameters support?

2004-03-03 Thread Steve Williams
> >I cannot try FPC 1.9.2 since it is only offered through FTP and our work > >firewall blocks all FTP access. > > you could always try compiling the CVS ... :) The CVS port is blocked as well. :) If it doesn't work over port 80, it's a no-go. The network admins have locked down the firewall pr

Re: [fpc-pascal]Default parameters support?

2004-03-03 Thread kractor
Steve Williams wrote: Does FPC support default parameters in procedures/functions? I have FPC 1.0.10 and I cannot get it to compile Delphi code that has default parameters. I'm using the -Sd option, but I cannot find any mention of default parameters in the documentation. I cannot try FPC 1.9.2

[fpc-pascal]Default parameters support?

2004-03-03 Thread Steve Williams
Does FPC support default parameters in procedures/functions? I have FPC 1.0.10 and I cannot get it to compile Delphi code that has default parameters. I'm using the -Sd option, but I cannot find any mention of default parameters in the documentation. I cannot try FPC 1.9.2 since it is only offer

Re: [fpc-pascal]fpcmake and capital letter filenames

2004-03-03 Thread Marco van de Voort
> Am Mi, den 03.03.2004 schrieb Peter Vreman um 12:46: > > > > > > Sorry for that, but it leads to the question: Does fpc do this by design > > > or can I switch it off? > > > > Try 1.9.x > > I'll do that later on, for now I need a stable set of tools 1.9.x is more stable than 1.0.x in many ways

Re: [fpc-pascal]fpcmake and capital letter filenames

2004-03-03 Thread Marc Santhoff
Am Mi, den 03.03.2004 schrieb Peter Vreman um 12:46: > > You're right. The problem is in fact the compiler. All names are changed > > to lower case by fpc (1.0.10/FreeBSD). > > > > Sorry for that, but it leads to the question: Does fpc do this by design > > or can I switch it off? > > Try 1.9.x

Re: [fpc-pascal]RE: SQLite Header File

2004-03-03 Thread Taj Morton
Hi Marco, > > > > All bindings that bind to a C library need to include {$linklib c}. When > > it is not there it is a bug in the binding. The {$linklib c} is required > > to let fpc know that it needs to use special startup code. > > It is better to include unit initc though, then including {$link

Re: [fpc-pascal]RE: SQLite Header File

2004-03-03 Thread Marco van de Voort
> > - in the program file stops the error. > > > > I assume this lets the lib use the C routines, and > > the FreePascal side can still use its own. > > All bindings that bind to a C library need to include {$linklib c}. When > it is not there it is a bug in the binding. The {$linklib c} is requi

Re: [fpc-pascal]RE: SQLite Header File

2004-03-03 Thread Peter Vreman
>> > Inconsistency detected by ld.so: dl-minimal.c: 134: >> > realloc: Assertion `ptr == alloc_last_block' failed!) > >> The error you get is because you probably forgot to put 'cmem' >> as the first unit in your program's uses clause. > > > I'm not sure about SQLite, but i have seen this problem >

Re: [fpc-pascal]no ppu installation with fpcmake

2004-03-03 Thread Peter Vreman
>> > My goal is to install only the program and some data and readme but no >> > compiler related files. >> >> Under [target] only specify the programs. Under [clean] add the units. > > If I try that way the units are not found. > > Maybe this depends on the directory structure? > > In the main dir

Re: [fpc-pascal]no ppu installation with fpcmake

2004-03-03 Thread Peter Vreman
>> > My goal is to install only the program and some data and readme but no >> > compiler related files. >> >> Under [target] only specify the programs. Under [clean] add the units. > > If I try that way the units are not found. > > Maybe this depends on the directory structure? > > In the main dir

[fpc-pascal]RE: SQLite Header File

2004-03-03 Thread Jeff Pohlmeyer
> > Inconsistency detected by ld.so: dl-minimal.c: 134: > > realloc: Assertion `ptr == alloc_last_block' failed!) > The error you get is because you probably forgot to put 'cmem' > as the first unit in your program's uses clause. I'm not sure about SQLite, but i have seen this problem using so

Re: [fpc-pascal]no ppu installation with fpcmake

2004-03-03 Thread Marc Santhoff
Am Mi, den 03.03.2004 schrieb Peter Vreman um 08:07: > > Hi! > > > > I'm new to this list and have a lot of questions waiting, so be patient > > please. ;) > > > > The first one: > > > > I wrote a Makefile.fpc that is working fine. The only thing i can't > > achieve is to leave out the *.ppu files

Re: [fpc-pascal]fpcmake and capital letter filenames

2004-03-03 Thread Peter Vreman
> Am Mi, den 03.03.2004 schrieb Peter Vreman um 08:03: >> > Hi again! >> > >> > Apparently fpcmake has no idea of handling file names with capitals in >> > them. I use those names for having better readability and sorting >> > issues. >> > >> > When the target clean is used, none of the files with

Re: [fpc-pascal]fpcmake and capital letter filenames

2004-03-03 Thread Marc Santhoff
Am Mi, den 03.03.2004 schrieb Peter Vreman um 08:03: > > Hi again! > > > > Apparently fpcmake has no idea of handling file names with capitals in > > them. I use those names for having better readability and sorting > > issues. > > > > When the target clean is used, none of the files with capitals

Re: [fpc-pascal]Can't seem to cycle a new compiler

2004-03-03 Thread Michael Van Canneyt
On Wed, 3 Mar 2004 [EMAIL PROTECTED] wrote: > From:"Michael Van Canneyt" <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: [fpc-pascal]Can't seem to cycle a new > Date sent: Wed, 3 Mar 2004 09:10:36 +0100 > > > > > .. I'll drop back to the 1.0.10. > > > > > > Inst

Re: [fpc-pascal]Can't seem to cycle a new compiler

2004-03-03 Thread xhajt03
From:"Michael Van Canneyt" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: [fpc-pascal]Can't seem to cycle a new Date sent: Wed, 3 Mar 2004 09:10:36 +0100 > > > .. I'll drop back to the 1.0.10. > > > > Installed 1.0.10 and it built everything just hunky > > dory. > >

Re: [fpc-pascal]SQLite Header File

2004-03-03 Thread Michael Van Canneyt
On Wed, 3 Mar 2004, Taj Morton wrote: > Hi! > I'm looking for a new header file for SQLite...the old one included with FPC > 1.0.3 doesn't seem to work (program dies with: > Creating class > Inconsistency detected by ld.so: dl-minimal.c: 134: realloc: Assertion `ptr == > alloc_last_block' faile

Re: [fpc-pascal]Can't seem to cycle a new compiler

2004-03-03 Thread Michael Van Canneyt
On Tue, 2 Mar 2004, Michael A. Hess wrote: > Michael A. Hess wrote: > > > > .. I'll drop back to the 1.0.10. > > Installed 1.0.10 and it built everything just hunky dory. > > Now I have a question about the size of the exe. > > After it is built the size is 1.3 meg. > > I tried to run stripw on