[Firebird-devel] Odp: Firebird 3 API demo usage with Pascal

2015-03-06 Thread liviusliv...@poczta.onet.pl
Hi, Yes i know that, and becauae of that i finally fix this with aliasing in fbapi unit Pchar = PAnsiChar I do this only to got some results from api I finall implementation i do this better and replace PChar in fbapi as some internal type like PFBChar and this type for delphi i change as PAnsi

Re: [Firebird-devel] Time to update our headers.

2015-03-06 Thread Helen Borrie
At 02:36 p.m. 7/03/2015, Claudio Valderrama C. wrote: >> -Original Message- >> From: Paul Beach [mailto:pbe...@ibphoenix.com] >> Sent: Jueves, 05 de Marzo de 2015 12:07 >> >> The IPL license hosted on IBPhoenix was the license >> originally used, i.e. we hosted the original license that

Re: [Firebird-devel] Time to update our headers.

2015-03-06 Thread Claudio Valderrama C.
> -Original Message- > From: Paul Beach [mailto:pbe...@ibphoenix.com] > Sent: Jueves, 05 de Marzo de 2015 12:07 > > The IPL license hosted on IBPhoenix was the license > originally used, i.e. we hosted the original license that the > InterBase code was > released with (as Ann and I devi

Re: [Firebird-devel] Firebird 3 API demo usage with Pascal

2015-03-06 Thread Geoff Worboys
liviusliv...@poczta.onet.pl wrote: > Hi Adriano, > thanks i found this > i change also > PChar = type System.Pointer; and you write, in a later post: > i try to run your example - i change code to Delphi With recent (2009+) versions of Delphi "string" is a UTF-16 string, so PChar is a pointer t

Re: [Firebird-devel] Firebird 3 API demo usage with Pascal

2015-03-06 Thread liviuslivius
Hi Adriano, i found the fix :) {$IFNDEF FPC} QWORD = type UInt64; PChar = System.PAnsiChar; {$ENDIF} and declare "s" as AnsiString not String in: -- rs: ResultSet; statusVector: NativeIntPtr; s: AnsiString; < here change from st

[Firebird-devel] [FB-Tracker] Created: (CORE-4705) 3.0 SC: crash when running fbt_run with ES EDS

2015-03-06 Thread Pavel Zotov (JIRA)
3.0 SC: crash when running fbt_run with ES EDS -- Key: CORE-4705 URL: http://tracker.firebirdsql.org/browse/CORE-4705 Project: Firebird Core Issue Type: Bug Reporter: Pavel Zotov

Re: [Firebird-devel] Firebird 3 API demo usage with Pascal

2015-03-06 Thread liviuslivius
-Oryginalna wiadomość- From: Adriano dos Santos Fernandes Sent: Friday, March 06, 2015 8:01 PM To: For discussion among Firebird Developers Subject: Re: [Firebird-devel] Firebird 3 API demo usage with Pascal On 06/03/2015 15:45, liviusliv...@poczta.onet.pl wrote: > Hi Adriano, > > thanks

Re: [Firebird-devel] Firebird 3 API demo usage with Pascal

2015-03-06 Thread Adriano dos Santos Fernandes
On 06/03/2015 15:45, liviusliv...@poczta.onet.pl wrote: > Hi Adriano, > > thanks i found this > > i change also > PChar = type System.Pointer; Why?? > and now i got problematic message :))) > "Your user name and password are not defined. Ask your database > administrator to set up a Firebird log

Re: [Firebird-devel] Firebird 3 API demo usage with Pascal

2015-03-06 Thread liviuslivius
Hi Adriano, thanks i found this i change also PChar = type System.Pointer; and now i got problematic message :))) "Your user name and password are not defined. Ask your database administrator to set up a Firebird login." how to provide user and pass? regards, Karol Bieniaszewski -Orygin

Re: [Firebird-devel] Firebird 3 API demo usage with Pascal

2015-03-06 Thread Adriano dos Santos Fernandes
On 06/03/2015 07:05, liviuslivius wrote: > Hi Adriano, > > please add > > {$IFNDEF FPC} > QWord = type UInt64; > {$ENDIF} > > in FbApi.pas > > Done. Thanks. About your I/O error, seems as a Delphi problem when WriteLn is used with GUI application. Are you building the project as GUI instea

Re: [Firebird-devel] Firebird 3 API demo usage with Pascal

2015-03-06 Thread Adriano dos Santos Fernandes
On 06/03/2015 09:46, liviuslivius wrote: > but any try to > attachment := dispatcher.createDatabase > or > attachment := dispatcher.attachDatabase > > return me > I/O error 105. > > "Returns" how? Is this printed in the FbException handling, after calling fb_interpret? Adriano

Re: [Firebird-devel] Firebird 3 API demo usage with Pascal

2015-03-06 Thread Alex Peshkoff
On 03/06/15 15:46, liviuslivius wrote: > Hi, > > i use todays snapshot 3.0.0.31698 > > regards, > Karol Bieniaszewski > > W dniu 2015-03-06 12:41:07 użytkownik Adriano dos Santos Fernandes > napisał: >> On 06/03/2015 08:35, liviuslivius wrote: >>> Hi Adriano, >>> >>> i try to run your example - i

Re: [Firebird-devel] Commits visible in our main page.

2015-03-06 Thread Alex Peshkoff
On 03/05/15 23:21, Carlos H. Cantu wrote: > I agree that it would help to make people aware that something is > happening behind the scenes, but I think the content must be short, > for example, showing only the last 5 commits (with its dates, and > titles trimmed when need). Clicking in a link cou

Re: [Firebird-devel] Firebird 3 API demo usage with Pascal

2015-03-06 Thread liviuslivius
Hi, i use todays snapshot 3.0.0.31698 regards, Karol Bieniaszewski W dniu 2015-03-06 12:41:07 użytkownik Adriano dos Santos Fernandes napisał: > On 06/03/2015 08:35, liviuslivius wrote: > > Hi Adriano, > > > > i try to run your example - i change code to Delphi > > > > > > after > > master :=

Re: [Firebird-devel] Firebird 3 API demo usage with Pascal

2015-03-06 Thread Adriano dos Santos Fernandes
On 06/03/2015 08:35, liviuslivius wrote: > Hi Adriano, > > i try to run your example - i change code to Delphi > > > after > master := fb_get_master_interface(); > i got version=12 and VTable version=2 > status show me > vTable version 3 > Version=10 > > so far so good > but any try to > attachme

Re: [Firebird-devel] Firebird 3 API demo usage with Pascal

2015-03-06 Thread liviuslivius
Hi Adriano, i try to run your example - i change code to Delphi after master := fb_get_master_interface(); i got version=12 and VTable version=2 status show me vTable version 3 Version=10 so far so good but any try to attachment := dispatcher.createDatabase or attachment := dispatcher.attachD

Re: [Firebird-devel] Firebird 3 API demo usage with Pascal

2015-03-06 Thread liviuslivius
Hi Adriano, please add {$IFNDEF FPC} QWord = type UInt64; {$ENDIF} in FbApi.pas regards, Karol Bieniaszewski W dniu 2015-03-05 15:53:08 użytkownik Adriano dos Santos Fernandes napisał: > Hi! > > I just build an example of Firebird 3 API usage with FreePascal. > > https://github.com