Re: [fpc-pascal] Can Delphi load a small function of a shared lib written in Free Pascal 2.6.2?

2014-01-16 Thread silvioprog
2014/1/16 Michael Van Canneyt > > On Thu, 16 Jan 2014, Michael Van Canneyt wrote: >> >> On Thu, 16 Jan 2014, silvioprog wrote: >> >>> Hello, >>> On Windows, I'm trying to serialize an object to JSON in Delphi 7, using >>> FPC functions linked in a shared lib. >>> >>> I'm sendind a small demo in a

Re: [fpc-pascal] Can Delphi load a small function of a shared lib written in Free Pascal 2.6.2?

2014-01-16 Thread silvioprog
2014/1/16 Michael Van Canneyt > > On Thu, 16 Jan 2014, silvioprog wrote: > >> Hello, >> On Windows, I'm trying to serialize an object to JSON in Delphi 7, using >> FPC functions linked in a shared lib. >> >> I'm sendind a small demo in attached. To test it is very easy: >> >> 1. compile the libfp

Re: [fpc-pascal] Can Delphi load a small function of a shared lib written in Free Pascal 2.6.2?

2014-01-16 Thread Michael Van Canneyt
On Thu, 16 Jan 2014, Michael Van Canneyt wrote: On Thu, 16 Jan 2014, silvioprog wrote: Hello, On Windows, I'm trying to serialize an object to JSON in Delphi 7, using FPC functions linked in a shared lib. I'm sendind a small demo in attached. To test it is very easy: 1. compile the lib

Re: [fpc-pascal] Can Delphi load a small function of a shared lib written in Free Pascal 2.6.2?

2014-01-16 Thread Michael Van Canneyt
On Thu, 16 Jan 2014, silvioprog wrote: Hello, On Windows, I'm trying to serialize an object to JSON in Delphi 7, using FPC functions linked in a shared lib. I'm sendind a small demo in attached. To test it is very easy: 1. compile the libfpserializer.lpr file; 2. copy the generated lib to t

[fpc-pascal] minor glitch in phrasing of rarely seen compiler warning

2014-01-16 Thread Howard Page-Clark
I recently wrote code that produced this Warning ... Warning: compiler switches aren't supported in \ styled comments Should this not read as follows? Warning: compiler switches aren't supported in / styled comments ___ fpc-pascal maillist - fpc-pa

Re: [fpc-pascal] Generic String Functions

2014-01-16 Thread Sven Barth
Am 16.01.2014 15:31 schrieb "Michael Schnell" : > > On 01/16/2014 12:04 PM, Sven Barth wrote: >> >> If you want to use them in e.g. a class you need to pick a specialization and thus a code page at compile time. > > > A project might contain different part that handle differently encoded strings.

Re: [fpc-pascal] Generic String Functions

2014-01-16 Thread Michael Schnell
On 01/16/2014 12:04 PM, Sven Barth wrote: If you want to use them in e.g. a class you need to pick a specialization and thus a code page at compile time. A project might contain different part that handle differently encoded strings. Thus a central functionality to store and retrieve strings

Re: [fpc-pascal] Does TBufDataSet support Blob or memo field?

2014-01-16 Thread LacaK
I checked my code again and I found I did post after I check the blob/memo field values. I think it is probably a bug, rather than a feature as all fields should be the same: values get updated even without calling post. Yes, I agree. As I wrote I will look at it ... if I find smart solutio

Re: [fpc-pascal] Generic String Functions

2014-01-16 Thread Sven Barth
Am 15.01.2014 17:19 schrieb "Michael Schnell" : > > DXE Strings again :-) , > > What is the relation between Generic Functions and (static) DXE String encoding schemes ? > > Can you (e.g.) do a (silly) Generic Function that takes two strings of any (but identical) encoding type, concatenates them a

Re: [fpc-pascal] ARM Linux cross development

2014-01-16 Thread Reinier Olislagers
On 15/01/2014 11:42, Michael Schnell wrote: > On 01/14/2014 09:37 PM, Michael Ring wrote: - We only could get fpc, > gdb, and gdbserver compiled after installing the complete "Code > Source" C cross development suite (including Eclipse). We did not > find any smaller and more handy package that did

Re: [fpc-pascal] Does TBufDataSet support Blob or memo field?

2014-01-16 Thread Dennis Poon
Dennis Poon wrote: All the other usual types (e.g. integer, string, datetime) work except ftMemo and ftblob. Yes, I have used POST Dennis LacaK wrote: AFAIR this is so. (we can call it bug ;-)) Data are not there until you Post record. After Post you will see data there, right? -Laco.

Re: [fpc-pascal] ARM Linux cross development

2014-01-16 Thread Martin Schreiber
On Wednesday 15 January 2014 22:38:47 Koenraad Lelong wrote: > op 15-01-14 13:31, Michael Schnell schreef: > > Did you try to create the PC->ARM cross gdb and ARM cross-compile the > > ARM gdbserver ? It might be that this in fact was why he needed the huge > > libraries. > > I did create a cross-