Solved

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

Posted on 1997-10-20
5
261 Views
Last Modified: 2010-05-18
Hi....

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....

CYA
sprawler
0
Comment
Question by:sprawler
  • 3
  • 2
5 Comments
 
LVL 3

Accepted Solution

by:
Pegasus100397 earned 50 total points
ID: 1348398
Sprawler,

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
Pegasus
0
 

Author Comment

by:sprawler
ID: 1348399
Hi .....

Thanks alot for the help ....

sprawler
0
 

Author Comment

by:sprawler
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 ?

sprawler
0
 
LVL 3

Expert Comment

by:Pegasus100397
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! :)
Pegasus

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

Author Comment

by:sprawler
ID: 1348402
hi ...

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


Live long & prosper
sprawler
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

772 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