Delphi Source Code

This is a discussion on Delphi Source Code within the Windows Programming forums, part of the Platform Specific Boards category; I may have posted this in the wrong section since I'm using Windows. Downloaded Source code off of source forge ...

  1. #1
    Registered User
    Join Date
    Jun 2004

    Question Delphi Source Code

    I may have posted this in the wrong section since I'm using Windows.

    Downloaded Source code off of source forge net. Its in Delphi. Can it be converted to C or C++. Its to view PE files. The person is abandoning the project. Which I think is a shame. I can't afford a delphi compiler. If anybody knows if delphi code can be coverted to C++ or C. Please tell me how. I would like to try and piddle with this thing. If it can be done in C. Then I can use pelles compiler. If C++ then I'll have to use watson compiler. Thats if it can be done and with which editor. I can find C/C++ to delphi but not the other way.

  2. #2
    Registered User Rare177's Avatar
    Join Date
    May 2004
    im pretty sure it cant be

  3. #3
    I am the worst best coder Quantrizi's Avatar
    Join Date
    Mar 2002
    Yes, it can if you know what the code does. If you do, then just convert all of that to C/++ code...if you don't, then think of a way to do it.

  4. #4
    Join Date
    Jan 2002
    >>Its to view PE files<<

    Peering Inside the PE: A Tour of the Win32 Portable Executable File Format.
    Under the hood.
    Portable executable file format.

    You may have better luck asking at a delphi forum for assistance in translating the existing delphi source to c/c++. Failing that, the above links should hopefully get you started 'reinventing the wheel'.

    edit: You may also find the source for MinGW's PExports of some interest.
    Last edited by Ken Fitlike; 06-11-2004 at 03:07 PM.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  5. #5
    Code Monkey Davros's Avatar
    Join Date
    Jun 2002
    >Its in Delphi. Can it be converted to C or C++

    Delphi makes use of a set of class libraries called VCL (also CLX). The same libraries are supplied with Borland C++ Builder (which is Delphi for the C++ language). For the most part, you would only need to transpose the Pascal syntax to C++ syntax.

    Having said, that I'm not sure how long BCB and VCL/CLX is going to be around. The nearest alternative to VCL for C++ that I'm aware of is wxWidgets which is open source.
    OS: Windows XP
    Compilers: MinGW (Code::Blocks), BCB 5

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How do you call another source code file?
    By nifear4 in forum C Programming
    Replies: 2
    Last Post: 10-28-2008, 01:16 PM
  2. 'Type' Error on Build of Officially Released Source Code
    By Jedi_Mediator in forum C++ Programming
    Replies: 5
    Last Post: 07-07-2008, 06:28 PM
  3. DxEngine source code
    By Sang-drax in forum Game Programming
    Replies: 5
    Last Post: 06-26-2003, 06:50 PM
  4. Lines from Unix's source code have been copied into the heart of Linux????
    By zahid in forum A Brief History of
    Replies: 13
    Last Post: 05-19-2003, 04:50 PM
  5. Source Code Beautifier
    By Hammer in forum A Brief History of
    Replies: 2
    Last Post: 05-05-2002, 10:21 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21