I have a set of compiled Delphi dcu files, without source. Is there a way to determine what types are defined inside that dcu?
How to tell what types are defined in a Delphi DCU?
984 Views Asked by JosephStyons At
3
There are 3 best solutions below
0

The DCU format is undocumented, last I checked. However, there is a tool I found that might give you some basic info called DCUtoPAS. It's not very well rated on the site, but it might at least extract the types for you. There is also DCU32INT, which might help as well.
Otherwise, you might just have to open the file with a hex editor and dig around for strings.
You could have a look at DCU32INT, a Delphi DCU decompiler. It generates an .int file that is somehow readable but not compilable, but if you only want to determine the types defined, this could be enough.