Re: [fpc-pascal] Forum merger

2009-12-17 Thread Graeme Geldenhuys
Vincent Snijders wrote: > > I didn't think Mattias commented on this thread. Do you mean Matthias, ah, spelling mistake from my side. Yes, I was agreeing with what Matthias Klumpp said. > who suggested to use Git on the FPC svn server? Then we can't call it a FPC SVN server any more. :-) I rea

Re: [fpc-pascal] Forum merger

2009-12-17 Thread Vincent Snijders
Graeme Geldenhuys schreef: I agree with Mattias. I didn't think Mattias commented on this thread. Do you mean Matthias, who suggested to use Git on the FPC svn server? Vincent ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://list

Re: [fpc-pascal] Forum merger

2009-12-17 Thread Graeme Geldenhuys
Bee Jay wrote: > > If it would use fpWeb then I refuse to be the project owner because I > almost know nothing about fpWeb. Well if you don't use it, you will never learn it. There seems to be 4 or so developers interested in this. ANYBODY, just create a damn repository and start coding - no p

Re: [fpc-pascal] Forum merger

2009-12-17 Thread Graeme Geldenhuys
Vincent Snijders wrote: > > A. Because there no Git Server on the FPC SVN server. Git doesn't need a server/daemon app to work on a server - anyway, git includes everything needed. Anyway, SourceForge and GitHub etc all support Git repositories with no problems - so we don't need to disturb the F

Re: [fpc-pascal] Problem compiling DLL for 64Bit Windows - complete example attached

2009-12-17 Thread Marc Weustink
Lukas Gradl wrote: Hi! I'm having serious troubles compiling a DLL for 64bit Windows. I'm using FPC svn 1 (Ver 2.5.1) on all machines. I tried on WinXP 32bit (works), Vista 64bit (doesn't work), Win7 32Bit (works) and Win7 64bit (doesn't work). > rMonitor=packed record ... end; r

[fpc-pascal] Problem compiling DLL for 64Bit Windows - complete example attached

2009-12-17 Thread Lukas Gradl
Hi! I'm having serious troubles compiling a DLL for 64bit Windows. I'm using FPC svn 1 (Ver 2.5.1) on all machines. I tried on WinXP 32bit (works), Vista 64bit (doesn't work), Win7 32Bit (works) and Win7 64bit (doesn't work). The DLL works as a print-monitor, providing a virtual printer p

Re: [fpc-pascal] sql server embedded: sqlite the only solution?

2009-12-17 Thread Graeme Geldenhuys
2009/12/17 Michael Van Canneyt : > > I don't see the benefit in that. Compiler defines are evil, no need to > promote them. The compiler defines for linking persistence layers are limited to one unit out of about three hundred units - no compiler defines are in your actual project code, only in th

Re: [fpc-pascal] Forum merger

2009-12-17 Thread Vincent Snijders
Matthias Klumpp schreef: server, this is not really a problem. Why don't use Git this time? A. Because there no Git Server on the FPC SVN server. It's making code review and code merging from other sources a lot easier. I don't understand what you mean here. Vincent __

Re: [fpc-pascal] Forum merger

2009-12-17 Thread Bee Jay
The advantage of fpweb is that it doesn't matter whether you want to use an apache module, plain cgi or fastcgi, or in a standalone server. It works with all 4 types. Is there any demo or documentation about them, especially the FCGI? I only saw CGI demos and very lack of documentation arou

Re: [fpc-pascal] Forum merger

2009-12-17 Thread Matthias Klumpp
On Thu, 17 Dec 2009 16:23:08 +0100 (CET), Michael Van Canneyt wrote: > On Thu, 17 Dec 2009, Bee Jay wrote: > >>> Well, fpWeb is winner, yes? >>> Bee can create a sourceforge project? >> >> If it would use fpWeb then I refuse to be the project owner because I >> almost >> know nothing about fpWeb.

Re: [fpc-pascal] Forum merger

2009-12-17 Thread Matthias Klumpp
On Thu, 17 Dec 2009 16:23:08 +0100 (CET), Michael Van Canneyt wrote: > On Thu, 17 Dec 2009, Bee Jay wrote: > >>> Well, fpWeb is winner, yes? >>> Bee can create a sourceforge project? >> >> If it would use fpWeb then I refuse to be the project owner because I >> almost >> know nothing about fpWeb.

Re: [fpc-pascal] Forum merger

2009-12-17 Thread Michael Van Canneyt
On Thu, 17 Dec 2009, Bee Jay wrote: Well, fpWeb is winner, yes? Bee can create a sourceforge project? If it would use fpWeb then I refuse to be the project owner because I almost know nothing about fpWeb. I even intend to study fpWeb from this project. The project owner should be someone w

Re: [fpc-pascal] Forum merger

2009-12-17 Thread Bee Jay
Well, fpWeb is winner, yes? Bee can create a sourceforge project? If it would use fpWeb then I refuse to be the project owner because I almost know nothing about fpWeb. I even intend to study fpWeb from this project. The project owner should be someone who knows how to build (at least) the

Re: [fpc-pascal] Forum merger

2009-12-17 Thread Michael Van Canneyt
On Thu, 17 Dec 2009, Graeme Geldenhuys wrote: Michael Van Canneyt wrote: The advantage of fpweb is that it doesn't matter whether you want to use an apache module, plain cgi or fastcgi, or in a standalone server. It works with all 4 types. That's good news! Can you explain more about what

Re: [fpc-pascal] sql server embedded: sqlite the only solution?

2009-12-17 Thread Michael Van Canneyt
On Thu, 17 Dec 2009, Graeme Geldenhuys wrote: Michael Van Canneyt wrote: And what should it do according to you ? IMHO tiOPF kicks in too late; the layer is loaded only once, at program startup. Exactly why I'm asking your? :-) Can the initialization code in SqlDB (firebird embedded) not b

Re: [fpc-pascal] Forum merger

2009-12-17 Thread Osvaldo Filho
Well, fpWeb is winner, yes? Bee can create a sourceforge project? 2009/12/17 Graeme Geldenhuys : > Michael Van Canneyt wrote: >> >> The advantage of fpweb is that it doesn't matter whether you want to use >> an apache module, plain cgi or fastcgi, or in a standalone server. >> It works with all 4

Re: [fpc-pascal] sql server embedded: sqlite the only solution?

2009-12-17 Thread Graeme Geldenhuys
Michael Van Canneyt wrote: > > And what should it do according to you ? > IMHO tiOPF kicks in too late; the layer is loaded only once, at program > startup. Exactly why I'm asking your? :-) Can the initialization code in SqlDB (firebird embedded) not be delayed or overridden slightly later - aft

Re: [fpc-pascal] Queue integer values

2009-12-17 Thread Reimar Grabowski
> You can extend TQueue to have a method to insert the integer as pointers. Thanks for the answer, but I already found a way of using TQueue directly to solve my problem. R. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-po

Re: [fpc-pascal] Forum merger

2009-12-17 Thread Graeme Geldenhuys
Michael Van Canneyt wrote: > > The advantage of fpweb is that it doesn't matter whether you want to use > an apache module, plain cgi or fastcgi, or in a standalone server. > It works with all 4 types. That's good news! Can you explain more about what you mean by "standalone server"? One of our

Re: [fpc-pascal] sql server embedded: sqlite the only solution?

2009-12-17 Thread Michael Van Canneyt
On Thu, 17 Dec 2009, Graeme Geldenhuys wrote: Michael Van Canneyt wrote: All it takes (if you use sqldb) is 1 statement in a unit initialization or program startup code: uses ibase60dyn; // must be there Begin UseEmbeddedFirebird:=True; Thanks Michael. Any thoughts on a tiOPF patch

Re: [fpc-pascal] sql server embedded: sqlite the only solution?

2009-12-17 Thread Graeme Geldenhuys
Michael Van Canneyt wrote: > > All it takes (if you use sqldb) is 1 statement in a unit initialization or > program startup code: > > uses ibase60dyn; // must be there > > Begin >UseEmbeddedFirebird:=True; > Thanks Michael. Any thoughts on a tiOPF patch for the SqlDB persistence layer? ;

Re: [fpc-pascal] sql server embedded: sqlite the only solution?

2009-12-17 Thread Michael Van Canneyt
On Wed, 16 Dec 2009, Roberto Padovani wrote: What about data encryption? Is anyone of those providing it ? Firebird definitely not. Personally, I don't think that this is the task of a database engine... Michael. Thanks! R# 2009/12/16 ik : You also have Firebird Embeeded and MySQL E

Re: [fpc-pascal] Forum merger

2009-12-17 Thread Bee Jay
So I would recommend going with something closer to home (part of FPC) - like fpWeb. This gives much better certainty that it will be continuously maintained - even if that only means no new feature but at least compilable with latest FPC. Yes, that's also the main reason of mine to build

Re: [fpc-pascal] Forum merger

2009-12-17 Thread Michael Van Canneyt
On Wed, 16 Dec 2009, Andreas Berger wrote: If I made one, then I'll make it using Powtils (fully CGI) or ExtPascal (fully Ajax) because that's what I know and have been experience with. I myself prefer to use fpWeb since it's provided by FPC's FCL. No third party dependency is good for new

Re: [fpc-pascal] sql server embedded: sqlite the only solution?

2009-12-17 Thread Michael Van Canneyt
On Thu, 17 Dec 2009, ik wrote: You need to bind the embedded API for it, and the rest is the same. You act like it's a server. I haven't done it myself, only read about it in the Firebird's source documentation :) All it takes (if you use sqldb) is 1 statement in a unit initialization or

Re: [fpc-pascal] Queue integer values

2009-12-17 Thread leledumbo
> I need a queue that can store integer values. Is there any way to use TQueue for this task You can extend TQueue to have a method to insert the integer as pointers. Ex: type TMyQueue = class(TQueue) public procedure AddInt(const Integer: i); end; ... // implementation procedure TMy

Re: [fpc-pascal] sql server embedded: sqlite the only solution?

2009-12-17 Thread ik
You need to bind the embedded API for it, and the rest is the same. You act like it's a server. I haven't done it myself, only read about it in the Firebird's source documentation :) Ido http://ik.homelinux.org/ On Thu, Dec 17, 2009 at 8:35 AM, Graeme Geldenhuys wrote: > Michael Van Canneyt wr