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
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
> -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
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
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
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
-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
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
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
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
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
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
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
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 :=
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
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
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
17 matches
Mail list logo