i have a program created in delphi 4 which also includes custom components. im not so sure of the clear steps on how to migrate it to delphi5 but here is what ive done.
1. installed the package including all necessary components to delphi5
2. opened the project and tried to recompile.
during compilation an error stating like,
"Unit StdCtrls was compiled with a different version of Forms.TCustomForm"
so what i did was i copied the stdctrls.pas of delphi 4 saved it as stdctrls2.pas then recompiled.
another error come out which states,
"Incompatible types: 'TControl' and 'TCustomComboBox'"
"Incompatible types: 'TWinControl' and 'TCustomComboBox'"
"Incompatible types: 'TControl' and 'TButton'"
this error comes out in the source file i renamed. ie stdctrls2.pas. i just wonder why an error comes out where i just changed the name of the unit. i know im just missing something here i cannot i figure out. can u help me on this.