Link to home
Start Free TrialLog in
Avatar of kgreenwoodusa
kgreenwoodusa

asked on

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.
ASKER CERTIFIED SOLUTION
Avatar of sereda
sereda

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mscatena
mscatena

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.