• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 195
  • Last Modified:

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.
1 Solution
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)
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.

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now