Re: [Lazarus] Firebird DB replication options

2015-06-20 Thread FreeMan
On 19.06.2015 19:14, Graeme Geldenhuys wrote: Hi, [Apologies in advance - I know this is not a Firebird list, but here are many Firebird DB users that could possibly comment.] Has anybody here used any Firebird database replication software? I've been reading up on it a bit, and there seems to

Re: [Lazarus] Streaming TStringList with associated objects

2015-06-20 Thread Michael Van Canneyt
On Fri, 19 Jun 2015, Mattias Gaertner wrote: On Fri, 19 Jun 2015 18:29:58 +0700 Kiên Nguyễn Tiến Trung wrote: I have a TStringList containing some strings. Each strings is associated with an object typed TPersistent. I realize that, when streaming TStringList, all of associated objects are

Re: [Lazarus] Newbie, porting class to FPC but get procedure assignment error

2015-06-20 Thread patspiper
On 19/06/15 22:44, Bo Berglund wrote: The error message when compiling the source: DongleTest.lpr(22,1) Error: Undefined symbol: SPROMEPS_RNBOSPROFORMATPACKET$RB_SPRO_APIPACKET_PTR$WORD$$WORD In SproMeps.pas: implementation FUNCTION RNBOsproFormatPacket( ApiPacket : RB_SPRO_APIPACKET_PTR; theP

Re: [Lazarus] Newbie, porting class to FPC but get procedure assignment error

2015-06-20 Thread Bo Berglund
On Fri, 19 Jun 2015 23:01:36 +0200, Marc Weustink wrote: >Just guessing, I've no experience with this. > >1) Use the converter tool to dump the exported function names from the >original .obj >2) look for an exported name which looks like RNBOsproFormatPacket >3) use the name conversion option o

Re: [Lazarus] cross platform pre-compile processing

2015-06-20 Thread Mattias Gaertner
On Sat, 20 Jun 2015 09:46:15 +0800 Xiangrong Fang wrote: > Hi, > > I need to run a program before compile my program, so I set it in lazarus's > project settings. It works fine, but, how can I make it a platform > dependent config, i.e. > > run "prepare" if the project is compiled under linux,

Re: [Lazarus] Newbie, porting class to FPC but get procedure assignment error

2015-06-20 Thread patspiper
On 20/06/15 11:38, Bo Berglund wrote: On Fri, 19 Jun 2015 23:01:36 +0200, Marc Weustink wrote: Just guessing, I've no experience with this. 1) Use the converter tool to dump the exported function names from the original .obj 2) look for an exported name which looks like RNBOsproFormatPacket

[Lazarus] pack website to an executable

2015-06-20 Thread marius matei
Hello lazarus list, I 'd like to create a program that can run a website packed on that executable. The website will have only html +css+images . The website will contain the documentation for a school project. Can you please give me a hint ? Thanks in advance. -- Marius --

Re: [Lazarus] Newbie, porting class to FPC but get procedure assignment error

2015-06-20 Thread patspiper
On 20/06/15 11:38, Bo Berglund wrote: On Fri, 19 Jun 2015 23:01:36 +0200, Marc Weustink wrote: Just guessing, I've no experience with this. 1) Use the converter tool to dump the exported function names from the original .obj 2) look for an exported name which looks like RNBOsproFormatPacket

Re: [Lazarus] Newbie, porting class to FPC but get procedure assignment error

2015-06-20 Thread Bo Berglund
On Sat, 20 Jun 2015 12:51:35 +0300, patspiper wrote: >On 20/06/15 11:38, Bo Berglund wrote: >> On Fri, 19 Jun 2015 23:01:36 +0200, Marc Weustink >> wrote: >> >> Thanks very much! This seems to be the way to go! >> By creating a coff file from the obj file while aliasing the functions >> to the l

Re: [Lazarus] Newbie, porting class to FPC but get procedure assignment error

2015-06-20 Thread Bo Berglund
On Sat, 20 Jun 2015 11:27:27 +0300, patspiper wrote: >What's the output of objconv -dfhs SPROMEPS.coff? > >In particular, check the mangled name of RNBOsproFormatPacket and list >it here. See my reply to patspiper where I listed the main command and the arguments file -- Bo Berglund Develope

Re: [Lazarus] Newbie, porting class to FPC but get procedure assignment error

2015-06-20 Thread patspiper
On 20/06/15 14:20, Bo Berglund wrote: On Sat, 20 Jun 2015 12:51:35 +0300, patspiper wrote: On 20/06/15 11:38, Bo Berglund wrote: On Fri, 19 Jun 2015 23:01:36 +0200, Marc Weustink wrote: Thanks very much! This seems to be the way to go! By creating a coff file from the obj file while aliasin

Re: [Lazarus] Newbie, porting class to FPC but get procedure assignment error

2015-06-20 Thread Bo Berglund
On Sat, 20 Jun 2015 13:49:00 +0300, patspiper wrote: >> Seems like I am almost there except this list of errors > >These are used in SPROMEPS.OBJ. > I figured as much, problem is why that works in Delphi but not in FPC/Lazarus? The special functions would of course need the definitions etc, b

Re: [Lazarus] pack website to an executable

2015-06-20 Thread Péter Gábor
Hi! I prefer THtmlPort (from lazarus-ccr) to show html/css/images from resources stored in the application. It is not fully up to date with html/css but if you won't do very special things it can be a good choice. HtmlPort has a lot of common and html specific event handlers. For example: OnImag

Re: [Lazarus] Make table with TDataset structure

2015-06-20 Thread aradeonas
Its been hours I'm struggling with this case that I want to make create sql from a sqlite table. I have db and table name and I want to make a create sql. work on Lazarus Data Desktop didnt help me so I have to ask. Regards, Ara -- http://www.fastmail.com - Access all of your messages and folde

Re: [Lazarus] Make table with TDataset structure

2015-06-20 Thread Michael Van Canneyt
On Sat, 20 Jun 2015, aradeonas wrote: Its been hours I'm struggling with this case that I want to make create sql from a sqlite table. I have db and table name and I want to make a create sql. work on Lazarus Data Desktop didnt help me so I have to ask. What exactly did not work ? I opened

Re: [Lazarus] Make table with TDataset structure

2015-06-20 Thread aradeonas
No,I explained it badly. I mean working on Lazarus Data Desktop source didnt help to do what I want otherwise its a very good app,if I didnt go wrong you write the code more than 7 years ago and its clean,codes like this show me how to write code professionally. I want to do what this app done in a

Re: [Lazarus] Firebird DB replication options

2015-06-20 Thread Graeme Geldenhuys
On 2015-06-20 08:49, FreeMan wrote: > I did my replication service application 7 years ago, its still work. I Thanks for letting me know. It sounds promising. Regards, - Graeme - -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org htt

Re: [Lazarus] Newbie, porting class to FPC but get procedure assignment error

2015-06-20 Thread Bo Berglund
On Sat, 20 Jun 2015 13:33:09 +0200, Bo Berglund wrote: >On Sat, 20 Jun 2015 13:49:00 +0300, patspiper >wrote: > >>> Seems like I am almost there except this list of errors >> >>These are used in SPROMEPS.OBJ. >> >I figured as much, problem is why that works in Delphi but not in >FPC/Lazarus?

Re: [Lazarus] Newbie, porting class to FPC but get procedure assignment error

2015-06-20 Thread patspiper
On 20/06/15 18:41, Bo Berglund wrote: On Sat, 20 Jun 2015 13:33:09 +0200, Bo Berglund wrote: On Sat, 20 Jun 2015 13:49:00 +0300, patspiper wrote: Seems like I am almost there except this list of errors These are used in SPROMEPS.OBJ. I figured as much, problem is why that works in De

Re: [Lazarus] pack website to an executable

2015-06-20 Thread Graeme Geldenhuys
On 2015-06-20 11:31, marius matei wrote: > I 'd like to create a program that can run a website packed on that > executable. I don't fully understand "pack website". Do you mean having an executable that also runs an embedded web server? Or do you simply mean an application that can view & display

Re: [Lazarus] Make table with TDataset structure

2015-06-20 Thread Marc Santhoff
On Sa, 2015-06-20 at 06:36 -0700, aradeonas wrote: > No,I explained it badly. I mean working on Lazarus Data Desktop source > didnt help to do what I want otherwise its a very good app,if I didnt go > wrong you write the code more than 7 years ago and its clean,codes like > this show me how to writ