Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Useless Firebird.pas file. [CORE6022] #6272

Open
firebird-automations opened this issue Mar 6, 2019 · 1 comment
Open

Useless Firebird.pas file. [CORE6022] #6272

firebird-automations opened this issue Mar 6, 2019 · 1 comment

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Malinovsky Vladimir (vlad-mal)

The file Firebird.pas, supplied in distributions (presumably generated by the CLOOP utility), is not suitable for use in Delphi 2007 applications.

1. In the description of the interfaces (FirebirdInterface.idl file), Pascal's reserved words "record" are used, example:

boolean insertRecord\(const string name,
				  	 ReplicatedRecord record\);

The corresponding pascal code is generated:

IReplicatedTransaction\_insertRecordPtr = function\(this: IReplicatedTransaction; name: PAnsiChar; record: IReplicatedRecord\): Boolean; cdecl;

This code is not compiled.

2. The types used are int16 and integer32, which are not "built-in" for Delphi. This code is also not compiled.

3. Also used are the ISC_TIMESTAMP_TZ and ISC_TIME_T types, which are not declared anywhere.

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

security: Developers [ 10012 ] =>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant