The utility DCU32INT parses *.dcu file and converts it into a close to Pascal form. See DCU32INT.txt for more details. The unit versions supported are Delphi 2.0-8.0, 2005-2006/Turbo Delphi (.net and WIN32), 2007-2010 (WIN32), XE (WIN32), XE2-XE3 (WIN32,WIN64,OSX32), XE4 (WIN32,WIN64,OSX32,iOS simulator, iOS device (no code)), XE5-XE7/AppMethod (WIN32,WIN64,OSX32,iOS simulator, iOS device (no code), Android (no code)), XE8, 10 Seattle, 10.1 Berlin (WIN32,WIN64,OSX32,iOS simulator, iOS device 32/64 (no code),Android (no code)), 10.2 Tokyo (WIN32,WIN64,OSX32,iOS simulator, iOS device 32/64 (no code),Android (no code),Linux (no code)), 10.3 Rio (WIN32,WIN64,OSX32,iOS simulator, iOS device 32/64 (no code),Android (no code),Linux (may be - not checked,no code)), Kylix 1.0-3.0.

DCU32INT stands for DCU32 interface, because this program can't extract the complete Pascal source, but the extracted unit interface is almost correct.

This program is a by-product of the FlexT project, but I have done my best to make it useful.

Download:

Project public repository:

See also:
DCU32INT FAQ.
The FlexT specification of DCU file format for 32-bit Delphi versions. This specification is incomplete. Please, let me know if You have more information about this format or if You detect some errors in the specification.
Russian version of this page: Kak eto po-russki?.