Re: [fpc-pascal]FPC Debugging (with SQLite)

2003-07-07 Thread James Mills
On Mon, Jul 07, 2003 at 03:37:20PM +0100, Matt Emson wrote: > Actually, got it to compile and run under Delphi with only about 2 or 3 > changes. > > Change all ref's to 'strings' to 'sysutils', and there is an assignment to > 'OnData' that must read: > > OnData := SQLOnData; > > rather than > >

Re: [fpc-pascal]FPC Debugging (with SQLite)

2003-07-07 Thread James Mills
On Mon, Jul 07, 2003 at 03:26:41PM +0100, Matt Emson wrote: > > > How so ? > > James, he did *not* port this app to BeOS, some one else did. He wrote a > Pascal interface to the version that that developer had ported to BeOS > (you're following me right ;-). He therefore had no option but to use

[fpc-pascal]Developing GUI apps with FPC 1.0.4/Linux?

2003-07-07 Thread Rainer Hantsch
Hello! >From time to time I get the wish to develop graphical applications with FreePascal, but until now I could not find a useful tool. Well, there are some attempts to wrap GTK. I had a look into the samples, but this is definitely not what I am looking for -- too complicated! Is there no real

Re: [fpc-pascal]FPC Debugging (with SQLite)

2003-07-07 Thread Matt Emson
Actually, got it to compile and run under Delphi with only about 2 or 3 changes. Change all ref's to 'strings' to 'sysutils', and there is an assignment to 'OnData' that must read: OnData := SQLOnData; rather than OnData := @SQLOnData; Other than that it compiles and runs. One question, why i

Re: [fpc-pascal]FPC Debugging (with SQLite)

2003-07-07 Thread Matt Emson
> How so ? James, he did *not* port this app to BeOS, some one else did. He wrote a Pascal interface to the version that that developer had ported to BeOS (you're following me right ;-). He therefore had no option but to use the version ported under BeOS, unless he ported a newer version himself,

Re: [fpc-pascal]FPC Debugging (with SQLite)

2003-07-07 Thread James Mills
On Mon, Jul 07, 2003 at 12:29:10PM +0100, Matt Emson wrote: > > I know he wrote it. I regularly speak to him on MSN. There was a problem > > with using it, for some reason he didn't need to use the cMem unit back > > when he wrote the unit. But he had used a very old version of sqlite at > > the ti

Re: [fpc-pascal]FPC Debugging (with SQLite)

2003-07-07 Thread Matt Emson
> I know he wrote it. I regularly speak to him on MSN. There was a problem > with using it, for some reason he didn't need to use the cMem unit back > when he wrote the unit. But he had used a very old version of sqlite at > the time. I guess the SQLite library has changed dramatically since > 2.7.

Re: [fpc-pascal]FPC Debugging (with SQLite)

2003-07-07 Thread James Mills
On Mon, Jul 07, 2003 at 11:54:38AM +0100, Matt Emson wrote: > Eric will have written that unit for BeOS, so I would ask if anyone tested > it for other platforms Had a look on BeShare and he's not online, but > that is certainly a question that needs to be addressed first. I know he wrote it.

Re: [fpc-pascal]FPC Debugging (with SQLite)

2003-07-07 Thread Matt Emson
Eric will have written that unit for BeOS, so I would ask if anyone tested it for other platforms Had a look on BeShare and he's not online, but that is certainly a question that needs to be addressed first. Matt > Hi, > > I have a problem with the SQLite library (www.sqlite.org). > I believe

Re: [fpc-pascal]FPC Debugging (with SQLite)

2003-07-07 Thread Pierre Muller
At 12:35 07/07/2003, James Mills wrote: >On Mon, Jul 07, 2003 at 08:19:38PM +1000, James Mills wrote: >> Hi, >> >> I have a problem with the SQLite library (www.sqlite.org). >> I believe Michael helped me with the conversion of the headers and the >> unit that Eric Jourde wrote. >> >> This all wo

Re: [fpc-pascal]FPC Debugging (with SQLite)

2003-07-07 Thread James Mills
On Mon, Jul 07, 2003 at 08:19:38PM +1000, James Mills wrote: > Hi, > > I have a problem with the SQLite library (www.sqlite.org). > I believe Michael helped me with the conversion of the headers and the > unit that Eric Jourde wrote. > > This all works fine, however when compiling a program with

[fpc-pascal]FPC Debugging (with SQLite)

2003-07-07 Thread James Mills
Hi, I have a problem with the SQLite library (www.sqlite.org). I believe Michael helped me with the conversion of the headers and the unit that Eric Jourde wrote. This all works fine, however when compiling a program with the debug options (-g, -gg etc), it won't produce any tracebacks of error.

Re: [fpc-pascal]TCollection question

2003-07-07 Thread Matt Emson
James, Think of my code as a design pattern for a list, or possibly a template. You could replace the class name you are storing everywhere in the code and would then have a completely different List class. A bit like a C++ template, except you have to define all the code each time. > A question