Developing with Delphi 5 and Delphi 4 on the same PC

I seem to have a configuration error that is preventing me from developing with Delphi 4 and Delphi 5 on the same PC. Delphi 5 runs OK, but when I try to instantiate Delphi 4 I get the following error:
"Access violation at address 20084478 in module 'CORIDE40.BPL'."

Any help would be much appreciated.
kgreenwoodusaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

seredaCommented:
Do you have patches to Delphi 4 installed? There are two patches, you can download them at
   http://www.inprise.com/devsupport/delphi/downloads/index.html#Delphi 4

If you have installed these patches, perhaps you need to uninstall delphi 4, install it again and install patches.

Also, if you develop the same project with both Delphis, pay attension to the dfm format (Delphi 4 has binary and Delphi 5 has binary/text format, text is default)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mscatenaCommented:
That usually happens because Delphi 4 is trying to open the last "Delphi 5" project and is getting an error at it. This error is probablly due to the different DFM file format.

They probablly changed the default file format in order for the DFM to be more compatible with version control software.

I would suggest:

1)Save the form in D5 with D4 format. Right-click on the form and de-select "Text DFM". Save the form.

If it didn't solve the problem, then try:

1)Always close the project in D5. This would allow you to at least open other projects.

2)Erase the .DSK file.

Please note that you may get error mesasges in D4 because of properties that only exist in D5.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.