Jump to content
kvk1989

C to Pascal

Recommended Posts

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

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

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 by Kryvich
  • Like 1

Share this post


Link to post
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
5 hours ago, kvk1989 said:

I need whole project

That doesn't answer all my questions.

Share this post


Link to post
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.

  • Like 1
  • Thanks 1

Share this post


Link to post
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

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 by Fr0sT.Brutal
  • Like 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×