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

This project is no longer compatible with recent Delphi editions. #6

Open
Spynux opened this issue Nov 11, 2022 · 4 comments
Open

This project is no longer compatible with recent Delphi editions. #6

Spynux opened this issue Nov 11, 2022 · 4 comments

Comments

@Spynux
Copy link

Spynux commented Nov 11, 2022

Greetings Nuno,

First, let me salute you for your commitment, which I have been following for some time now, at [www.portugal-a-programar.pt].

I'll introduce myself, my name is Antonio Cálix, and I'm a Delphi Senior Software Development Engineer.

Currently I do not work in the area of invoicing software, but the need arose at the request of an accountant friend, to develop a small module, which among other things, would be responsible for registering series of invoices in the AT.

I found your project highly educational, however for reasons of code scalability, my policy regarding external dependencies, leads me into refraining the use of third party libraries, unless when strictly necessary.

When I tried to reproduce parts of your code, I got stuck into a compilation error, that has to do with the unit:
Soap.SOAPHTTPTrans,

specifically with the calling convention of the method:
TBeforePostEvent,

previously declared as:
(const HTTPReqResp: THTTPReqResp; Data: Pointer),

and currently declared as:
(const HTTPReqResp: THTTPReqResp; Client: THTTPClient).

This limitation makes it impossible to compile any of these projects, in recent Delphi editions.

So, the question I would like to pose:
Being aware of this, what is your proposal to overcome it?

Kind regards

António Cálix

@nunopicado
Copy link
Owner

Hello António.
I will have to run some tests and try to compatibilize the code if possible. Time is a bit tight these days, but I'll get to it as soon as possible. Could you say in which version of Delphi have you tested it?

@Spynux
Copy link
Author

Spynux commented Nov 11, 2022

Hi Nuno

Thanks for your prompt reply!

I am working with the latest release, Delphi 11.0 Alexandria (Version 28) edition.

From the feedback I've been able to gather among peers, this issue was first introduced with the 10.3.0 Rio (Version 26) edition.

Kind regards

António Cálix

@nunopicado
Copy link
Owner

Thanks António
I'll look into it as soon as I possibly can and update the repository accordingly.

@Spynux
Copy link
Author

Spynux commented Nov 14, 2022

And I'd be deeply grateful.

Cheers.

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

No branches or pull requests

2 participants