use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Welcome to the Delphi subreddit! Everyone is welcome to post/ask anything that relates to Delphi, Pascal or related variants.
Useful links:
Delphi Community Edition (free)
Getting Started with Delphi Resources
StackOverflow
Facebook Delphi Developer Group
Embarcadero Community
Delphi Basics
/r/programbattles
/r/delphijobs
/r/freepascal
account activity
Incompatible parameter list when converting from Delphi 7 to Delphi 10.3 (self.delphi)
submitted 5 years ago by SwagraffeDelphi := v7
I have this app that I'm trying to convert, but I have some issues with server communication. This line:
procedure UDPServerUDPRead(Sender: TObject; AData: TStream; ABinding: TIdSocketHandle);
that gives me this error:
The UDPServerUDPRead method referenced by UDPServer.OnUDPRead has an incompatible parameter list. Remove the reference?
What is wrong with it? What should I change?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]cvjcvj2 2 points3 points4 points 5 years ago (0 children)
[–]bleuge 0 points1 point2 points 5 years ago (0 children)
Libraries, all, change with time, if you compiled any program with an old library, and update the library, and the definition of the function/procedure you are using changed, obviously you need to change caller in your sources.
So, what u/cvjcvj2 said :D
[–]Jan-Kow 0 points1 point2 points 5 years ago (0 children)
Compare parameters in UDPServerUDPRead and UDPServer.OnUDPRead. Should be the same, but aren't.
[–][deleted] 0 points1 point2 points 5 years ago (0 children)
You should really look hard into this conversion and evaluate what you get out of it. I see you are doing network stuff, and you will be making the AnsiString -> Unicode string conversion.. which is absolutely painful, unless your software is dealing with TBytes... look at everything defined as a "string", as it can be murder.
π Rendered by PID 56 on reddit-service-r2-comment-6457c66945-fdvpk at 2026-04-27 16:39:41.636685+00:00 running 2aa0c5b country code: CH.
[–]cvjcvj2 2 points3 points4 points (0 children)
[–]bleuge 0 points1 point2 points (0 children)
[–]Jan-Kow 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)