kvk1989 2 Posted April 29, 2023 Hello all ! Can someone help me to port code c to Pascal? Don't worry i will pay for it Thanks have a great day 🙂 Share this post Link to post
programmerdelphi2k 237 Posted April 29, 2023 show your code... then, I'll know. Share this post Link to post
kvk1989 2 Posted April 29, 2023 26 minutes ago, programmerdelphi2k said: show your code... then, I'll know. https://github.com/andersson/qdl Share this post Link to post
FPiette 383 Posted April 29, 2023 Look at this: https://github.com/WouterVanNifterick/C-To-Delphi Which pascal dialect do you need? What part did you already have done? There are dependencies you' have to port as well. At first glance what you ask looks like a huge task. What would be your benefit? Can't you just compile the C code? Share this post Link to post
Kryvich 165 Posted April 29, 2023 (edited) I tried Bing AI to convert from C to Delphi and it worked quite well. However, I converted individual functions, not the entire library. Edited April 29, 2023 by Kryvich 1 Share this post Link to post
kvk1989 2 Posted April 29, 2023 1 hour ago, FPiette said: Look at this: https://github.com/WouterVanNifterick/C-To-Delphi Which pascal dialect do you need? What part did you already have done? There are dependencies you' have to port as well. At first glance what you ask looks like a huge task. What would be your benefit? Can't you just compile the C code? I need whole project Share this post Link to post
FPiette 383 Posted April 29, 2023 5 hours ago, kvk1989 said: I need whole project That doesn't answer all my questions. Share this post Link to post
David Heffernan 2345 Posted April 29, 2023 Why not compile the code as is, and link it from your program? 1 Share this post Link to post
Remy Lebeau 1394 Posted April 29, 2023 20 hours ago, kvk1989 said: Can someone help me to port code c to Pascal? In small pieces, sure. Not whole projects. That is not what this site is for. 20 hours ago, kvk1989 said: Don't worry i will pay for it Then I suggest you ask on one of the many freelancing sites available, such as freelancer.com or similar. 1 1 Share this post Link to post
kvk1989 2 Posted April 29, 2023 2 hours ago, Remy Lebeau said: In small pieces, sure. Not whole projects. That is not what this site is for. Then I suggest you ask on one of the many freelancing sites available, such as freelancer.com or similar. Ok thanks 👍 Share this post Link to post
Joseph MItzen 251 Posted April 30, 2023 My buddy Bing loves Delphi. When we have discussed it it defends its virtues quite strongly. Share this post Link to post
Fr0sT.Brutal 900 Posted May 2, 2023 (edited) As a person who once converted a lib from C to Delphi, I'd suggest to consider other options like building DLL and linking to it (the easiest) or building OBJ and linking them (more complex but possible) or even using CBuilder to compile both C and Delphi sources. Converting is boring and applying changes every time is 10x more boring. Edited May 2, 2023 by Fr0sT.Brutal 1 Share this post Link to post