Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Help - From *.dcu to *.pas or *.res

Alexander1Alexander1 Member Posts: 2
Hi all,
I need to know the source code from an *.dcu file, but i can not open it with any editor or other SW. Is there any chance to get the source code from the compiled *.dcu file. Are some decompiling tools on the web or in Delphi alone? Can be decompiled the *.dcu file back to an *.pas or *.res file?
Can help me someone?

Here is the link for the file download:
www.hitmanforever.host.sk/files/UPuzzleInterface.dcu

Im using Delphi 7 and im just a beginner.
Thx

Comments

  • zibadianzibadian Member Posts: 6,349
    : Hi all,
    : I need to know the source code from an *.dcu file, but i can not
    : open it with any editor or other SW. Is there any chance to get the
    : source code from the compiled *.dcu file. Are some decompiling tools
    : on the web or in Delphi alone? Can be decompiled the *.dcu file back
    : to an *.pas or *.res file?
    : Can help me someone?
    :
    : Here is the link for the file download:
    : www.hitmanforever.host.sk/files/UPuzzleInterface.dcu
    :
    : Im using Delphi 7 and im just a beginner.
    : Thx
    :
    That's not possible, sorry. You can still use it by including it in the uses statement of another unit or of the program. If you don't have the documentation for the unit, finding the types/procedures/variables declared within the unit can be tricky and time-consuming.
  • Alexander1Alexander1 Member Posts: 2
    : : Hi all,
    : : I need to know the source code from an *.dcu file, but i can not
    : : open it with any editor or other SW. Is there any chance to get the
    : : source code from the compiled *.dcu file. Are some decompiling tools
    : : on the web or in Delphi alone? Can be decompiled the *.dcu file back
    : : to an *.pas or *.res file?
    : : Can help me someone?
    : :
    : : Here is the link for the file download:
    : : www.hitmanforever.host.sk/files/UPuzzleInterface.dcu
    : :
    : : Im using Delphi 7 and im just a beginner.
    : : Thx
    : :
    : That's not possible, sorry. You can still use it by including it in
    : the uses statement of another unit or of the program. If you don't
    : have the documentation for the unit, finding the
    : types/procedures/variables declared within the unit can be tricky
    : and time-consuming.

    Thx for the reply,
    I have no documentation for the unit and as i tried to write an mail/request to the producer from it, get i no reply from him, he read just that. The whole unit can be downloaded here: http://www.programmersheaven.com/download/47234/download.aspx

    Well, some tricks could be helpful because im working on a school project an i would like to know the source/idea from the game interface...
    But thx anyway..
  • zibadianzibadian Member Posts: 6,349
    : : : Hi all,
    : : : I need to know the source code from an *.dcu file, but i can not
    : : : open it with any editor or other SW. Is there any chance to get the
    : : : source code from the compiled *.dcu file. Are some decompiling tools
    : : : on the web or in Delphi alone? Can be decompiled the *.dcu file back
    : : : to an *.pas or *.res file?
    : : : Can help me someone?
    : : :
    : : : Here is the link for the file download:
    : : : www.hitmanforever.host.sk/files/UPuzzleInterface.dcu
    : : :
    : : : Im using Delphi 7 and im just a beginner.
    : : : Thx
    : : :
    : : That's not possible, sorry. You can still use it by including it in
    : : the uses statement of another unit or of the program. If you don't
    : : have the documentation for the unit, finding the
    : : types/procedures/variables declared within the unit can be tricky
    : : and time-consuming.
    :
    : Thx for the reply,
    : I have no documentation for the unit and as i tried to write an
    : mail/request to the producer from it, get i no reply from him, he
    : read just that. The whole unit can be downloaded here:
    : http://www.programmersheaven.com/download/47234/download.aspx
    :
    : Well, some tricks could be helpful because im working on a school
    : project an i would like to know the source/idea from the game
    : interface...
    : But thx anyway..
    :
    You should take a look at the FPuzzleBangkong.pas. A lot of methods of the TPuzzleInterface can be gathered from that source file. Just find each mention of the Puzzle variable and see which parameters it takes and the method names give quite a good indication of what is does.
Sign In or Register to comment.