Re: [fpc-pascal] Cannot write datetime field on sqlite3 database on ARM

2021-03-10 Thread Toru Takubo via fpc-pascal
On 2021/03/10 16:07, Florian Klämpfl via fpc-pascal wrote: Am 10.03.2021 um 04:59 schrieb Toru Takubo via fpc-pascal : Can you please post the output of -va of the arm compiler and provide some information about the arm system you are using? The output message with -va option can be

Re: [fpc-pascal] Cannot write datetime field on sqlite3 database on ARM

2021-03-10 Thread Toru Takubo via fpc-pascal
On 2021/03/10 15:29, LacaK via fpc-pascal wrote: Dňa 9.3.2021 o 15:34 Toru Takubo via fpc-pascal napísal(a): On 2021/03/09 18:11, LacaK via fpc-pascal wrote: I did run test program on RaspberryPI: Linux+ARM and results are as expected. (FPC 3.2.0) -Laco. My compiler setting is below. Does

Re: [fpc-pascal] Cannot write datetime field on sqlite3 database on ARM

2021-03-09 Thread Toru Takubo via fpc-pascal
On 2021/03/10 5:40, Florian Klämpfl via fpc-pascal wrote: Am 09.03.21 um 01:47 schrieb Toru Takubo via fpc-pascal: On 2021/03/08 16:54, Michael Van Canneyt via fpc-pascal wrote: On Mon, 8 Mar 2021, Toru Takubo via fpc-pascal wrote: Hi, I am developing my app on Windows and building apps

Re: [fpc-pascal] Cannot write datetime field on sqlite3 database on ARM

2021-03-09 Thread Toru Takubo via fpc-pascal
- -vm5057,5028,5024,3042 -Fiobj\arm-linux -Fu. -FEobj\arm-linux -oobj\arm-linux\project1 --- If possible, would you publish your executive of the test program to try it? Toru Dňa 9.3.2021 o 1:47 Toru Takubo via fpc-pascal napísal(a): On 2021/03/08 16:54, Michael Van Canneyt

Re: [fpc-pascal] Cannot write datetime field on sqlite3 database on ARM

2021-03-09 Thread Toru Takubo via fpc-pascal
On 2021/03/09 17:07, Michael Van Canneyt via fpc-pascal wrote: On Tue, 9 Mar 2021, Toru Takubo via fpc-pascal wrote: I don't know what to advise to further investigate the issue, One thing to try would be to test whether normal float arithmetic or date arithmetic works. If not, the

Re: [fpc-pascal] Cannot write datetime field on sqlite3 database on ARM

2021-03-08 Thread Toru Takubo via fpc-pascal
On 2021/03/08 16:54, Michael Van Canneyt via fpc-pascal wrote: On Mon, 8 Mar 2021, Toru Takubo via fpc-pascal wrote: Hi, I am developing my app on Windows and building apps for other platforms by using cross compiler. Now I have a problem only occurred on Linux ARM. The problem is that it

[fpc-pascal] Cannot write datetime field on sqlite3 database on ARM

2021-03-07 Thread Toru Takubo via fpc-pascal
Hi, I am developing my app on Windows and building apps for other platforms by using cross compiler. Now I have a problem only occurred on Linux ARM. The problem is that it cannot write datetime field on sqlite3 database. It can read/write other fields like int, varchar or blob, but always write

Re: [fpc-pascal] Can not set voice property of SpVoice

2016-08-23 Thread Toru Takubo
On 2016/08/23 16:38, Michael Van Canneyt wrote: On Tue, 23 Aug 2016, Toru Takubo wrote: On 2016/08/23 16:22, Michael Van Canneyt wrote: On Tue, 23 Aug 2016, Toru Takubo wrote: Hello, I am testing a text to speech program working on Windows SAPI, and I encountered a problem that I

Re: [fpc-pascal] Can not set voice property of SpVoice

2016-08-23 Thread Toru Takubo
On 2016/08/23 16:22, Michael Van Canneyt wrote: On Tue, 23 Aug 2016, Toru Takubo wrote: Hello, I am testing a text to speech program working on Windows SAPI, and I encountered a problem that I can not set the Voice property because "member not found". Below is the code which de

[fpc-pascal] Can not set voice property of SpVoice

2016-08-22 Thread Toru Takubo
Hello, I am testing a text to speech program working on Windows SAPI, and I encountered a problem that I can not set the Voice property because "member not found". Below is the code which describe the problem. It is originally from the freepascal wiki (http://wiki.freepascal.org/SAPI) and slight

Re: [fpc-pascal] "Continue" not work properly in except clause on win64

2015-08-28 Thread Toru Takubo
On 2015/08/28 18:56, Sven Barth wrote: Am 28.08.2015 11:08 schrieb "Toru Takubo" mailto:tak...@e-parcel.co.jp>>: > > Hi all, > > I'm trying FPC 3.0.0-rc1 and find "Continue" does not work properly > in except clause but just jump to finall

[fpc-pascal] "Continue" not work properly in except clause on win64

2015-08-28 Thread Toru Takubo
Hi all, I'm trying FPC 3.0.0-rc1 and find "Continue" does not work properly in except clause but just jump to finally clause on win64. Here is a sample code: program sample; {$mode objfpc} uses SysUtils; var i: Integer; begin try for i:=0 to 2 do begin

Re: [fpc-pascal] How can retrive value from OUT parameter?

2013-04-22 Thread Toru Takubo
(2013/04/22 17:06), LacaK wrote: Toru Takubo wrote / napísal(a): Hi Dmitry, Thank you very much for your advice. I am sure your code should work, but unfortunately I can not modify the existing stored procedures. I will explain what I have been trying so far. Suppose you are using the

Re: [fpc-pascal] How can retrive value from OUT parameter?

2013-04-21 Thread Toru Takubo
(2013/04/22 10:46), Marcos Douglas wrote: On Sun, Apr 21, 2013 at 10:05 PM, Toru Takubo wrote: (2013/04/20 23:06), Marcos Douglas wrote: On Sat, Apr 20, 2013 at 2:47 AM, Toru Takubo wrote: (2013/04/19 21:22), Marcos Douglas wrote: (snip) With analogical thinking, I expected that

Re: [fpc-pascal] How can retrive value from OUT parameter?

2013-04-21 Thread Toru Takubo
(2013/04/20 23:06), Marcos Douglas wrote: On Sat, Apr 20, 2013 at 2:47 AM, Toru Takubo wrote: (2013/04/19 21:22), Marcos Douglas wrote: (snip) With analogical thinking, I expected that the following might work for TSQLQuery in FPC: var r,i: Integer; DBQ: TSQLQuery; begin

Re: [fpc-pascal] How can retrive value from OUT parameter?

2013-04-19 Thread Toru Takubo
(2013/04/19 21:22), Marcos Douglas wrote: On Fri, Apr 19, 2013 at 4:26 AM, Toru Takubo wrote: Hi Dmitry, Thank you very much for your advice. I am sure your code should work, but unfortunately I can not modify the existing stored procedures. I will explain what I have been trying so far

Re: [fpc-pascal] Re: How can retrive value from OUT parameter?

2013-04-19 Thread Toru Takubo
(2013/04/19 18:53), Reinier Olislagers wrote: On 19-4-2013 9:26, Toru Takubo wrote: With analogical thinking, I expected that the following might work for TSQLQuery in FPC: var r,i: Integer; DBQ: TSQLQuery; begin ... DBQ.SQL.Text:='IncValue :@Param'; DBQ.Params.C

Re: [fpc-pascal] How can retrive value from OUT parameter?

2013-04-19 Thread Toru Takubo
put select @var1 as var1 then var q: TSQLQuery; i:integer; ... q.Active:=true; if not q.eof then i:=q.FieldsByName('var1').asInteger; Hope that helps. thanks, Dmitry On Wed, Apr 17, 2013 at 11:45 PM, Toru Takubo mailto:tak...@e-parcel.co.jp>> wrote: Hi All, I have an a

[fpc-pascal] How can retrive value from OUT parameter?

2013-04-17 Thread Toru Takubo
Hi All, I have an application build with Delphi7+ADO connecting to MSSQL database, and planning to migrate to FPC+SQLdb. It has many stored procedures which have OUT parameters to retrieve value from database. I am trying to migrate by using TMSSQLConnection+TSQLQuery, but still I can not settle

Re: [fpc-pascal] Win64 SEH patch fixes some Firebird embedded bugs

2012-06-21 Thread Toru Takubo
I saw warnings that getting the blob size this way might be notoriously slow. What a good news! As a reporter I shall test it myself, but I would like to thank you in advance. Toru Takubo ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org