Re: [fpc-pascal] SqlDB TSQLQuery sqoAutoApplyUpdates does not work with ExecSQL

2022-12-15 Thread Andreas Frieß via fpc-pascal
Am 15.12.2022 um 11:15 schrieb Michael Van Canneyt via fpc-pascal: On Thu, 15 Dec 2022, Andreas Frieß via fpc-pascal wrote: On MSSQL i use a stroed procedure to count a value in a table and use the following statement in Lazarus 1.     procedureTForm1.BuExecuteClick(Sender:TObject); 2

[fpc-pascal] SqlDB TSQLQuery sqoAutoApplyUpdates does not work with ExecSQL

2022-12-15 Thread Andreas Frieß via fpc-pascal
(Database)) and (assigned(Cursor)) then SQLConnection.UnPrepareStatement(Cursor);   end; end; to get the correct behavior. Actual only Post and Delete fire the ApplyUpdates correct if sqoAutoApplyUpdates is activated. Should i file a Bug or is the actual behavior by design ?! (and cannot be changed)

Re: [fpc-pascal] fpreport: can not use two ObjectLists as datasource in one report

2021-03-19 Thread Andreas Frieß via fpc-pascal
Am 19.03.2021 um 13:34 schrieb Michael Van Canneyt via fpc-pascal: On Fri, 19 Mar 2021, Andreas Frieß via fpc-pascal wrote: If it is not a bug, so a featurerequest must be possible, because other reports can handle this without a problem. You can definitely submit a feature request

Re: [fpc-pascal] fpreport: can not use two ObjectLists as datasource in one report

2021-03-19 Thread Andreas Frieß via fpc-pascal
Am 19.03.2021 um 11:07 schrieb Michael Van Canneyt via fpc-pascal: On Fri, 19 Mar 2021, Michael Van Canneyt via fpc-pascal wrote: On Fri, 19 Mar 2021, Andreas Frieß via fpc-pascal wrote: Make a Report Preview -> only the contend of the first dataset is shown. I will file a

Re: [fpc-pascal] fpreport: can not use two ObjectLists as datasource in one report

2021-03-19 Thread Andreas Frieß via fpc-pascal
Am 18.03.2021 um 16:06 schrieb Andreas Frieß via fpc-pascal: Am 18.03.2021 um 14:24 schrieb Michael Van Canneyt via fpc-pascal: In that case, you must put lReportOLData2 on a separate design page. So: * Add a design page (page 1) to the report. * Do what you need with lReportOLData1

Re: [fpc-pascal] fpreport: can not use two ObjectLists as datasource in one report

2021-03-19 Thread Andreas Frieß via fpc-pascal
If i load the design created by the demo in the FPReportDesigner i see the expected layout. DBBand01 should show the the data of the first Objectlist,  DBBand02 the data from the second Objectlist. Actual changed demo included. Am 18.03.2021 um 14:13 schrieb Andreas Frieß via fpc-pascal

Re: [fpc-pascal] fpreport: can not use two ObjectLists as datasource in one report

2021-03-18 Thread Andreas Frieß via fpc-pascal
Am 18.03.2021 um 14:24 schrieb Michael Van Canneyt via fpc-pascal: On Thu, 18 Mar 2021, Andreas Frieß via fpc-pascal wrote: The expected layout is in the demo. 'Expected layout' for me is a PDF, screenshot image of some finished document, showing what you want to see printed. I have

Re: [fpc-pascal] fpreport: can not use two ObjectLists as datasource in one report

2021-03-18 Thread Andreas Frieß via fpc-pascal
, if the one page is finished, it should continued on the next page. This works for lReportOLData1 ok, but lReportOLData2 is never used/seen/reported. Andreas Am 18.03.2021 um 13:05 schrieb Michael Van Canneyt via fpc-pascal: . I can't advise you on what bands you must place memo and how

[fpc-pascal] fpreport: can not use two ObjectLists as datasource in one report

2021-03-18 Thread Andreas Frieß via fpc-pascal
I have a sample attached to show the problem. I want in the report (created a runtime) to use more than one report datasource. I create a databand and connect this with a TFPReportObjectListData object. Each TFPReportObjectListData object works. But i want to have the data of the first, then the

[fpc-pascal] go32 tcp

2020-08-27 Thread Andreas via fpc-pascal
for a TCP connection? 3) How does the unit "talk" with the 16-bit DOS packet driver? Regards, Andreas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] go32 tcp

2020-08-27 Thread Andreas via fpc-pascal
for a TCP connection? 3) How does the unit "talk" with the 16-bit DOS packet driver? Regards, Andreas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] BSON formatter

2020-05-07 Thread Andreas Schneider
if you strip away the java based management console stuff ... and that thing is a feature monster for data management.) -- Andreas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] BSON formatter

2020-05-07 Thread Andreas Schneider
pretty easy to implement but I thought I would ask first. I would go with ProtoBuf for something like this. If you really want to be flexibel in the datastructure, look at msgpack/messagepack. Both (protobuf and msgpack) are pretty good in benchmarks. -- Andreas

Re: [fpc-pascal] "Hello world" syscalls

2020-01-09 Thread Andreas Schneider
Am 2020-01-09 00:30, schrieb Graeme Geldenhuys: So the resulting Java.class is 16 MByte in size!!! How? No it's not. I quote: The size of all files which must be present at runtime (interpreters, stdlib, libraries, loader, etc) are included. So 16mb is pretty generous. I wouldn't

Re: [fpc-pascal] fcl-report demos not working on windows10/64 with win64 compiled - Font Arial not found

2019-12-29 Thread Andreas Frieß
ished that, we can check why the fallback is not found, and perhaps the error message. Michael. On Fri, 27 Dec 2019, Andreas Frieß wrote: Hello Michael, if the font is not found, why is there not the correct indication of the missing font ? The errormessage is in this case completly wrong. If a fa

[fpc-pascal] fcl-report demos - expressions - have problem with [RecNo]

2019-12-27 Thread Andreas Frieß
There is more not working in the report demos. The expressionparser have problems with a simple [RecNo] D:\data\lazdev\trunk64\fpcsrc\packages\fcl-report\demos>fcldemo -d expressions Exception at 000100096E0D: EExprParser: Expected ( bracket at position 12, but got -. Heap

[fpc-pascal] Fwd: Re: fcl-report demos not working on windows10/64 with win64 compiled - Font Arial not found

2019-12-27 Thread Andreas Frieß
is not on a Windows10/64 machine, if this is true i should see the message -> fpreport: Could not find the font in the font cache. Or -> EReportFontNotFound: >> Font not found: "Liberation Sans". Andreas Am 27.12.2019 um 16:00 schrieb Michael Van Canneyt: As I said: The

Re: [fpc-pascal] fcl-report demos not working on windows10/64 with win64 compiled - Font Arial not found

2019-12-27 Thread Andreas Frieß
0 unfreed memory blocks : 0 True heap size : 262144 (320 used in System startup) True free heap : 261824 Michael Van Canneyt wrote: > > > On Fri, 27 Dec 2019, Andreas Frieß wrote: > > > I have now built the fcl-fpreport demos on win64 on a Windows10/64 > >

[fpc-pascal] fcl-report demos not working on windows10/64 with win64 compiled - Font Arial not found

2019-12-27 Thread Andreas Frieß
font arial. It is not logical for me. gTTFontCache is built correct for the report, why is the renderer not found the font ? Is the renderer use another fontcache ?! Andreas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https

Re: [fpc-pascal] fcl-fpreport not built complete, missing fpreport.dom

2019-12-26 Thread Andreas Frieß
code see https://forum.lazarus.freepascal.org/index.php/topic,47627.msg344017.htm l#msg344017 and https://forum.lazarus.freepascal.org/index.php/topic,47889.msg344069.html#msg344069 Andreas Michael Van Canneyt wrote: > > > On Thu, 26 Dec 2019, Andreas Frieß wrote: > > > I ha

[fpc-pascal] fcl-fpreport not built complete, missing fpreport.dom

2019-12-26 Thread Andreas Frieß
   Compiling .\fcl-report\src\fpreportpdfexport.pp    Compiling .\fcl-report\src\fpreporthtmlexport.pp    Compiling .\fcl-report\src\fpreportfpimageexport.pp    Compiling .\fcl-report\src\fpreportqrcode.pp Should i file a bug for FPC ? Andreas

[fpc-pascal] linking Openwatcom object files (DOS)

2019-08-20 Thread Andreas Berger
still in use by the company I work for from C++ to Freepascal. Regards, Andreas Berger ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Link with GCC object files

2018-08-22 Thread Andreas Berger
Thank you Sven, this will be a big help Regards, Andreas On 22/08/2018 12:12, Sven Barth via fpc-pascal wrote: Andreas <mailto:andreasberger@gmail.com>> schrieb am Mi., 22. Aug. 2018, 12:59: Hi, I have a question. Is it possible to link FPC for Linux (PC and ARM)

[fpc-pascal] Link with GCC object files

2018-08-22 Thread Andreas
Hi, I have a question. Is it possible to link FPC for Linux (PC and ARM) with GCC or other C++ object files? Regards, Andreas Berger ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc

[fpc-pascal] Backport of Bugfix 0031517 possible

2018-03-22 Thread Andreas Frieß
.html about this. My question is, is it possible to make a backport of this fix? Should i reopen the Bugreport oder create a new one ? The soloution is now one year in trunk and i have seen no problems with it. Andreas ___ fpc-pascal maillist - fpc

Re: [fpc-pascal] fpreport rangeerrors with TFPReportColor

2018-02-24 Thread Andreas Frieß
function QWordToReportColor(AQWord: QWord):TFPReportColor; begin   Result := TFPReportColor(AQWord and $); end; The second, i foung a not created Font, if you are not using Parent-Fonts. Also fixed. Thx to all who have some things more clear to me AND why. Andreas

Re: [fpc-pascal] fpreport rangeerrors with TFPReportColor

2018-02-21 Thread Andreas Frieß
are Lazarus compatible. It works for both systems. I can make a patch if needed. But the teams have to IMHO to decide the best way :-) Andreas Am 21.02.2018 um 23:53 schrieb Michael Van Canneyt: On Wed, 21 Feb 2018, Mattias Gaertner wrote: On Wed, 21 Feb 2018 19:54:55 + Graeme Geldenhuy

Re: [fpc-pascal] fpreport rangeerrors with TFPReportColor

2018-02-21 Thread Andreas Frieß
Andreas Frieß wrote: > when i compile in Lazarus the Reportdesigner with activated > RangeCheck it gives a lot of runtimeerror with rangeerrors. > For explanation what i mean in my previous post, UInt32 is not an integer or JSON compatible size (and actual rangecheck unsafe).

[fpc-pascal] fpreport rangeerrors with TFPReportColor

2018-02-21 Thread Andreas Frieß
I am wrong ? Andreas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] MSEide+MSEgui 4.6 for FPC 3.0.4

2017-11-28 Thread Andreas
On 25/11/2017 14:43, Martin Schreiber wrote: On Saturday 25 November 2017 15:04:05 Andreas Berger wrote: On the Android side I actually only need a graphical app with access to the Bluetooth and possibly be a TCP client. And why Free Pascal to develop the android application? What would

Re: [fpc-pascal] MSEide+MSEgui 4.6 for FPC 3.0.4

2017-11-28 Thread Andreas Berger
On 25/11/2017 14:43, Martin Schreiber wrote: On Saturday 25 November 2017 15:04:05 Andreas Berger wrote: On the Android side I actually only need a graphical app with access to the Bluetooth and possibly be a TCP client. And why Free Pascal to develop the android application? What would

Re: [fpc-pascal] MSEide+MSEgui 4.6 for FPC 3.0.4

2017-11-25 Thread Andreas Berger
On the Android side I actually only need a graphical app with access to the Bluetooth and possibly be a TCP client. On 25/11/2017 10:28, Martin Schreiber wrote: On Saturday 25 November 2017 11:52:39 Andreas Berger wrote: I went back to Delphi because our company is converting all programs

Re: [fpc-pascal] MSEide+MSEgui 4.6 for FPC 3.0.4

2017-11-25 Thread Andreas Berger
the company to go back to FPC since all our current projects work with it. I Never used MGE but have been keeping an eye on it and know what you do is very stable. On 25/11/2017 04:25, Martin Schreiber wrote: On Friday 24 November 2017 18:38:39 Andreas wrote: Hi Martin, do you have any plans

Re: [fpc-pascal] MSEide+MSEgui 4.6 for FPC 3.0.4

2017-11-24 Thread Andreas
Hi Martin, do you have any plans to cross compile to android? On 24/11/2017 06:08, Martin Schreiber wrote: Hi, MSEide+MSEgui version 4.6 has been released: https://sourceforge.net/projects/mseide-msegui/files/mseide-msegui/4.6/ There are also new versions of MSEgit, MSErun, MSEspice and

Re: [fpc-pascal] Food for thought - language string improvement

2017-07-06 Thread Andreas
Graeme, I am a big fan of your messages. You have many good ideas and I sometimes read a theme that I am not interested in just to see your response. In this case however I think you are wrong. Pascal has fantastic inherent type and error checking in its structure. It would be wrong to have

Re: [fpc-pascal] Serial to TCP gateway in FPC?

2017-06-18 Thread Andreas
I know this is off topic, but does Synapse work on Android? I am planning on using FpcUpDeluxe to write an android app that has a TCP client, but am still looking for the TCP component. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] googleapiconv raises ERESTAPI error

2016-11-08 Thread Andreas Frieß
I think the same problem will appear in Lazarus with the gooleapis components (and examples), because they based on the fpc. ... Exception-Class >>ERESTAPI<< TTasklist: unsopported array element type Andreas Am 06.11.2016 um 16:00 schrieb Michael Van Canneyt: On Sun

[fpc-pascal] googleapiconv raises ERESTAPI error

2016-11-06 Thread Andreas Frieß
> TTypeDefä`F ÉF googlediscoverytopas TRestMethodParam > ê█E ÿ ê█E á TRestMethodParams É". Any hint 4 me ? Andreas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] code example where AnsiString used in FCL (SqlDB) causes data loss

2016-05-11 Thread Andreas Dorn
All in all Graeme is right. FPC looks pretty much broken to me, too. For my projects I pulled the emergency-break on anything FPC.   The most serious flaws for me of FPC 3.0 are: - assuming that it's possible to assign an encoding to every string - using an (unsafe) guess about the encoding

Re: [fpc-pascal] Linux: resolving hostnames in local network

2016-04-23 Thread Andreas Klausmann
Thanks, cnetdb.gethostbyname() works fine (at least on my raspberry). :) Creating a wrapper function is recently my work-around for an actual ping component (since linux doesn't seem to have a corresponding component like ping.dll and I want to ping as non-root) Am 23.04.2016 um 12:42 schrieb

[fpc-pascal] Linux: resolving hostnames in local network

2016-04-23 Thread Andreas Klausmann
und by avahi) gethostbyname() works fine under Windows even for LAN resolution (resolved in background by Netbios name service). Currently I'm working on Ubuntu 15.10 on a raspberry, fpc 3.0. Best regards! Andreas ___ fpc-pascal maillist - fpc-pas

Re: [fpc-pascal] heaptrc and high RAM usage

2016-03-30 Thread Andreas Schneider
://valgrind.org/docs/manual/ms-manual.html Best regards, Andreas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] New feature: IfThen() intrinsic

2016-02-02 Thread Andreas Berger
On Tue 02/02/2016 10:52, Serguei TARASSOV wrote: On 02/02/2016 13:41, fpc-pascal-requ...@lists.freepascal.org wrote: Date: Tue, 02 Feb 2016 10:32:28 -0200 From: Andreas Berger<andr...@thebergerclan.org> On Tue 02/02/2016 09:27, Jonas Maebe wrote: > >The parameter evaluation

Re: [fpc-pascal] Parameter evaluation order

2016-02-02 Thread Andreas Berger
On Tue 02/02/2016 10:41, Jonas Maebe wrote: Andreas Berger wrote on Tue, 02 Feb 2016: On Tue 02/02/2016 09:27, Jonas Maebe wrote: The parameter evaluation order issue is irrelevant in this context: Delphi guarantees left-to-right (or used to anyway, this may have changed), FPC doesn't

Re: [fpc-pascal] CrossFPC

2016-01-24 Thread Andreas
, the documentation on main page says XE4. I was subscribed to the Mailinglist but have not received a single mail for the last years so propably the mailinglist is dead. Michael Am 24.01.16 um 16:03 schrieb Andreas: CrossFPC recently released a new update and I decided to test it. Howerver it fails to install

[fpc-pascal] CrossFPC

2016-01-24 Thread Andreas
CrossFPC recently released a new update and I decided to test it. Howerver it fails to install on either of my two machine. I tried subscribing the their email list (twice) but with no success. I never received the confirmation email. I know this is not the CrossFPC list, and most on this

[fpc-pascal] unit for PHostEnt definition

2015-12-16 Thread Andreas Klausmann
"man gethostbyname". Thanks! Andreas Working on fpc 2.6.4 (from ubuntu repository) on ubuntu (raspberry 2). ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] using eventfd

2015-10-22 Thread Andreas Klausmann
has been set. Best regards Andreas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] FileIO in FPC 3.0

2015-09-25 Thread Andreas Dorn
On Fri, 25 Sep 2015, Michael Van Canneyt wrote: > It uses UTF16 on windows, not a codepage aware string. > So if you use widestring for all your filename strings, there will be no > problem. No conversions will happen.   If I understand that correctly, it stores the filename in a string that has

[fpc-pascal] FileIO in FPC 3.0

2015-09-25 Thread Andreas Dorn
Hi there,   In the discussion about resourcestrings I read that the RTL now uses codepage-aware strings for FileIO. So I wonder what kind of codepages do you use for FileIO? The Windows-documentation calls Filenames "opaque sequence of WCHARs".

Re: [fpc-pascal] libxml on MacOS X

2015-02-22 Thread Andreas Schneider
Oh god, that must have been tunnel vision. Yeah, that was the obvious next step. Thanks :-) I compiled all the supplied examples and ran them, and they seem to print plausible results. The only hurdle is, that ld doesn't pick up libxml2.dylib on its own - for whatever reason. I had to

[fpc-pascal] libxml on MacOS X

2015-02-21 Thread Andreas Schneider
Hello, is there a specific reason why libxml is not built for MacOS X / darwin? My first instinct was to just try it and but then I found out the hard way, that I have no idea how to correctly use fpmake ... So in case there is simply no one who tried libxml on OSX, I would be willing to do.

Re: [fpc-pascal] SetLength procedure

2014-07-27 Thread Andreas Berger
I very seldom comment on this, or any, forum unless I have a good answer and no one else seem to have one. This case is different. I have noticed quit often here that instead of answering the question people try to reason why in the world the author of the question would even want to do this.

Re: [fpc-pascal] SourceForge April 2014 Project of the Month: Free Pascal

2014-04-15 Thread Andreas Schneider
this pushes FreePascal further. It's such a great compiler and platform to work with. Thanks to all developers and contributors for offering us such a fantastic toolset (especially Lazarus is outstanding in regards to RAD GUI development). Thanks!! - -- Best Regards, Andreas -BEGIN PGP SIGNATURE

Re: [fpc-pascal] Cloning objects?

2014-03-20 Thread Andreas Schneider
to the clone. However the table name, field name, sql statement etc. will be copied. Or think about file access: your object has a TFileStream as member. Will you clone that? What if the access was read/write and maybe even exclusive? IMHO there is no one-size-fits-all here. Best regards, Andreas

Re: [fpc-pascal] Re: Objects in dynamic arrays

2013-11-27 Thread Andreas Schneider
it. Also Destroy would probably be appropriate. Just saying :-) The actual type defs used are missing. -- Best Regards, Andreas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Bootstrap binaries

2013-03-04 Thread Andreas Schneider
when the full compiler is available. Which it is for i386-linux and i386-win32 (see directory above). -- Best Regards, Andreas pgp4Vt49BdRvj.pgp Description: PGP signature ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] CrossFPC is finally released

2012-12-31 Thread Andreas Berger
Simon, If I use CrossFPC with D7 or XE3 + FPC for windows, will the Delphi IDE use it's built-in debugger? The main reason I don't use Lazarus is because of the lousy debugging in Windows. Regards, Andreas ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] Re: Cross platform signal handler?

2012-07-16 Thread Andreas Schneider
/UCEDServer.pas#L78-105 and here http://hg.aksdb.de/CentrED/files/3bf040abc0311f68ad6c90486625fac2ce914c80/Server/UCEDServer.pas#L351-359 -- Best Regards, Andreas pgpVV4VtoVtbY.pgp Description: PGP signature ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] Re: Help!!

2012-01-17 Thread Andreas Schneider
a writable property? (I ask this here instead of opening a ticket because I suspect there's a good reason why this isn't available yet, which you will tell me now. :-)) -- Best Regards, Andreas ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] Re: Help!!

2012-01-17 Thread Andreas Schneider
. -- Best Regards, Andreas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Why is Random(255) some 529x slower compared to Delphi 7?

2011-12-07 Thread Andreas Berger
FPC uses MT at least for 10 years and nobody complained about performance yet. So I suspect the cases might be very rare when random performance matters and having good random numbers is always a good thing ... I prefer not to change it but it's fine for me for delphi compatibility's sake ;) Or

Re: [fpc-pascal] Division by Zero

2011-08-23 Thread Andreas Schneider
-- Best Regards, Andreas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] compiling turbo power lockbox on ubuntu 64

2011-07-26 Thread Andreas Schneider
why you should avoid assembler whenever possible - and for LockBox it certainly was possible, but TurboPower liked to optimize their code by using loads of assembler. -- Best Regards, Andreas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: RE : [fpc-pascal] compiling turbo power lockbox on ubuntu 64

2011-07-26 Thread Andreas Schneider
things the compiler MIGHT do better. -- Best Regards, Andreas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] FPC for ARM-7

2011-07-23 Thread Andreas Berger
I am hoping to use FPC for ARM-7, compiling and debugging on a Windows machine. At the moment I am using Keil C + ULink2. Is it possible to use FPC from Windows and debug via the ULink2? Regards, Andreas ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] Inherit interface from 2 interfaces

2011-04-12 Thread Andreas Dorn
certain situations for myself.. forcing me to put runtime interface-casts into my code that a compiler with multiple interface inheritance could have checked at compiletime. -- Andreas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

[fpc-pascal] Inherit interface from 2 interfaces

2011-04-12 Thread Andreas Dorn
On Tue Apr 12, michael.vancanneyt worte: On Tue, 12 Apr 2011, Andreas Dorn wrote: On Fri, 8 Apr 2011, michael.vancanneyt worte: The whole idea of interfaces is to avoid multiple inheritance. Hm. I don't believe that. One of the major points of interfaces is indeed to avoid the problems

Re: [fpc-pascal] Memory leak or object destruction?

2011-02-03 Thread Andreas Schneider
On Wed, 2 Feb 2011 21:09:42 -0800, Andrew Hall wrote: Interfaces support reference counting. Only COM interfaces, but they are currently the default anyway. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] Re: How to use GetElementById?

2011-01-30 Thread Andreas Schneider
Regards, Andreas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Converting .doc and/or .html to .pdf

2011-01-28 Thread Andreas Schneider
://www.artofsolving.com/opensource/jodconverter ... because you can run it as webservice. Or you can simply invoke it from commandline. -- Best Regards, Andreas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo

Re: [fpc-pascal] How to convert a large integer to base64

2011-01-15 Thread Andreas Schneider
On Saturday, January 15, 2011 18:52 Frank Church wrote: Is there a FCL library that can be used to convert a large integer into base64 format? Define large integer ... in case you mean a normal integer/int64: IntToHex(...); -- Best Regards, Andreas

Re: [fpc-pascal] How to convert a large integer to base64

2011-01-15 Thread Andreas Schneider
which can convert from decimal into any given number system. (... and the opposite Numb2Dec) -- Best Regards, Andreas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Converting .doc and/or .html to .pdf

2011-01-15 Thread Andreas Schneider
even be able to control it from a Pascal application, but for a simple conversion it's probably a lot easier to just invoke it via commandline. -- Best Regards, Andreas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] The new Delphi compatible unicode string

2011-01-04 Thread Andreas Schneider
] by Steve Yegge, FPC will get a pretty good look ;-) (Although he doesn't mention FPC, the points he makes with C++ match FPC just as well). Best Regards, Andreas. [1] http://steve-yegge.blogspot.com/2006/03/execution-in-kingdom-of-nouns.html ___ fpc

Re: [fpc-pascal] Re: Reading MDB (MS-Access) data under Linux

2010-11-01 Thread Andreas Schneider
application on Linux, using unixodbc, freetds and sqldb :) Best Regards, Andreas Schneider. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Can variables be declared within a block?

2010-10-18 Thread Andreas Berger
for (int i = 0;...) Can't see anything wrong. I use declaration of variables inside blocks quite often in Java and C++ but have never missed it in pascal. Please enlighten me. What is so bad about creating temporary variables inside blocks instead of the beginning of a function in a language

Re: [fpc-pascal] Can variables be declared within a block?

2010-10-18 Thread Andreas Berger
But it should make you wonder why this is no longer allowed in the latest C++ standards. What do you mean? The current C++ standard (ISO 1998+TR1) permits short scope declarations. Indeed, C++ permits declarations to appear anywhere, not just after a { to open a function or compound

Re: [fpc-pascal] TFileStream and stdin - how to make this work?

2010-10-03 Thread Andreas Schneider
. If nothing else helps I guess you could use a thread to read the data from stdin, then it shouldn't matter if it blocks. Best regards, Andreas. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc

[fpc-pascal] ARM-Cortex port

2010-08-23 Thread Andreas Berger
processor. Will FPC run on this processor? Does anyone have experience? If FPC runs I may be able to convert my last C++ app to pascal. Thanks, Andreas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman

Re: [fpc-pascal] ARM-Cortex port

2010-08-23 Thread Andreas Berger
Thanks Jonas and Jeppe for your answers. I will probably wait then to switch (or try to convince the company to use an ARM-9) On 23/8/2010 11:21 AM, Jeppe Johansen wrote: Den 23-08-2010 16:09, Andreas Berger skrev: I know that FPC works under ARM+Linux. Is this also true for the Cortex

Re: [fpc-pascal] Hashmap for integers

2010-08-22 Thread Andreas Schneider
; // If the data type is pointer end; A related question: What is the state of the generic containers now? FPC 2.4.x should be fine with generics, although 2.5 is still more advanced in that sector. Best regards, Andreas. ___ fpc-pascal maillist

Re: [fpc-pascal] OFF TOPIC - how I can migrate of Delphi to FPC

2010-08-15 Thread Andreas Schneider
On Sun, 15 Aug 2010 09:59:10 -0300, Marcos Douglas m...@delfire.net wrote: Zeoslib uses ADO too. So, it could be used with MS SQLServer. I think Zeoslib is more faster than ODBC. That depends on the platforms you want to target. AFAIK ADO is Windows-only, so you bind yourself to Microsoft

Re: [fpc-pascal] LNet

2010-06-11 Thread Andreas Schneider
anyway. Best Regards, Andreas. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Crosscompile FPC from Win32 to Linux

2010-06-04 Thread Andreas Berger
I have a stable cgi program running in windows (no libraries - simple writeln). However, our web host is in linux. Is there a simple way for me to cross-compile the app? or is it easier to learn how to use linux and do it there? I saw a page how to crosscompile lazarus, but it seamed very

Re: [fpc-pascal] creating a standalone executable (eg: application installation file)

2010-01-12 Thread Andreas Schneider
harder to manage ... first compile to know the exe size, then change the constant storing that size, and recompile again ...) Best regards, Andreas. Am Dienstag 12 Januar 2010 13:37:26 schrieb Graeme Geldenhuys: Hi, I have seen a few Linux application that have standalone executables

Re: [fpc-pascal] Re: creating a standalone executable (eg: application installation file)

2010-01-12 Thread Andreas Schneider
I think if digital signing is required, using Windows Resources would be the better way. Now that I think about it, with FPC 2.4 that should even be possible on Linux (and other platforms). Many roads lead to rome :D Am Dienstag 12 Januar 2010 14:17:21 schrieb Milan Marusinec: Andreas

Re: [fpc-pascal] Forum merger

2009-12-16 Thread Andreas Berger
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 comers, and it's also better FPC/Lazarus

Re: [fpc-pascal] Forum merger

2009-12-15 Thread Andreas Berger
Yes, this is it. I don't have any experience in building web-applications with Pascal, but if someone registers a new project at Gitorious or somewhere else I would like to help as far as I can. As would I. I will soon need to write a CGI program, and this would be a great way.

[fpc-pascal] Class Operators

2009-12-11 Thread Andreas Schneider
of luck here? Thanks, Andreas. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Free Pascal created libraries used by other languages

2009-12-09 Thread Andreas Schneider
the object oriented structure of QT. You have similar problems with most languages. Writing bindings to foreign language libraries is always problematic. C (i.e. a flat API) is usually the common denominator. Best Regards, Andreas. ___ fpc-pascal

Re: [fpc-pascal] Persistent blocks in Lazarus

2009-07-17 Thread Andreas Berger
On Thu, Jul 16, 2009 at 01:36:15PM +0200, Andreas Berger wrote: Out of curiosity (because I never used this feature in any editor), what would you use it for? Persistent blocks and the full Wordstar keyboard shortcuts is why I use the Delphi IDE until today. If you miss

Re: [fpc-pascal] Persistent blocks in Lazarus

2009-07-17 Thread Andreas Berger
- The Keyboard layout/scheme for wordstar ? How different is that from current default, or classic-scheme default? I modified the classic-schema a few years ago to be mostly wordstar correct. What I didn't do at the time was add persistent blocks.

Re: [fpc-pascal] Persistent blocks in Lazarus

2009-07-16 Thread Andreas Berger
Out of curiosity (because I never used this feature in any editor), what would you use it for? Persistent blocks and the full Wordstar keyboard shortcuts is why I use the Delphi IDE until today. ___ fpc-pascal maillist -

[fpc-pascal] Question about operator overloading and classes

2009-05-17 Thread Andreas Resch
only important if the a unique decision by type is not possible. Especially because a to-string assignment works in every case. Only ordinal types like integer,byte, boolean,char are blocked. I suggest to rethink it. Andreas -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32

[fpc-pascal] proxy for sql

2009-03-19 Thread Andreas Berger
) Is it possible to place my app between the 3rd party app and the SQL server? How would I do this. 2) Is it possible to configure the SQL server to query my app to see if a user can log on? 3) Any other ideas? Regards, Andreas ___ fpc-pascal maillist - fpc

Re: [fpc-pascal] proxy for sql

2009-03-19 Thread Andreas Berger
way might be for me to capture the user and password handshake, test if the user\password is correct for my app and then substitute it with the real user\password or cut the connection. But for this I would have to interpret the logon sequence and I have no idea how that works. Regards, Andreas

Re: [fpc-pascal] Creating FPC enabled websites

2009-03-02 Thread Andreas Berger
I'm interested to know why no one mentioned powtils yet (other than the original poster). I also am looking into writing a fairly complex CGI program and powtils seems very promising. And comments? Marco van de Voort wrote: In our previous episode, Francisco Reyes said: Marco van de Voort

[fpc-pascal] html and chm help (lcl, fcl) translation in other languages ?

2009-01-05 Thread Andreas Frieß
to find things. Andreas Frieß schrieb: when i search for the lazarus help system with html and the comming chm, i didn't find information about the creating this, for other languages. It is not clear for me, how to handle this. The study of the structure of the svn and the search inside

Re: [fpc-pascal] Connecting SQL components to a propriety SQL server

2008-05-29 Thread Andreas Berger
via Internet/TCP or Modem/PPP. Andreas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

  1   2   >