"Error 72 : Unit File Format Error "-->> HELP !!

Posted on 1997-10-20
Last Modified: 2010-05-18

I have been working on a project using Delphi 1.0
Recently worked on it using Delphi 2.0 and it worked fine.
Now when I try to run it using Delphi 1.0 I am getting an error :

"Error 72 : Unit file Format Error "

What Can I do to solve this problem ??
Is my project totally ruined ??
Please help....

Question by:sprawler
  • 3
  • 2

Accepted Solution

Pegasus100397 earned 50 total points
ID: 1348398

Sorry to hear about your unit file problems. Delphi 2.0 probably added something to the unit file something that Delphi 1.0 does not support (hence an error in the unit file). My advice would be to print the unit out and print out a similiar one from Delphi 1.0 and remove references in the USES clause one at a time until the problem goes away. You can also load up the unit in something like NotePad, remove any strange/wierd characters, save it under a different name and see if that fixes the problem.

Good luck with your project

Author Comment

ID: 1348399
Hi .....

Thanks alot for the help ....


Author Comment

ID: 1348400
Hi .....

Thanks alot for the help ....
If I had to load the file into Delphi 1.0 and then save it again, would that make any difference ?


Expert Comment

ID: 1348401
Glad to help Sprawler.

If you cleaned up the file with notepad or removed any unusual references then you should still be able to use it in Delphi 1.0. In general though, be careful about using/compiling project in more than one version. I have 2.0 and 3.0 and have had a similiar problems if I SAVE a 2.0 project in 3.0, then it becomes a 3.0 project/unit and I might have problems trying to get it back to 2.0.

C Ya and good luck! :)

P.S. Stick with Delphi 2.0 if you have that option, much better! :)

Author Comment

ID: 1348402
hi ...

Tanx ........  I decided to do just that - Use 2.0

Live long & prosper

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Convert Jpg /PNG To GIF 5 151
Downloading email attachments 2 80
Delphi...Split view - idea? 1 90
Is there any way to treat Lock record in table with clientdataset? 3 16
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question