Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delphi 4 on XP

Status
Not open for further replies.

rogerte

Programmer
Nov 9, 2001
164
GB
We have just had all our PCs upgraded (?) to XP. That included reinstalling Delphi 4 (which is what our major supported applications are written in).

However whenever we recompile any of the apps now it seems to ignore compiler directives.

Whenever we recompile we have to physically make changes to any area where there is a directive (e.g. add and remove a line works).

Is this a known problem?

<btw> there is no way the company will upgrade to a newer version of Delphi, as it is now regarded as a legacy product here.
 
I find my Delphi 4 install works much better after upgrading from 98 to XP, No problems at all.

A shame about their upgrade policy D4, is not regarded as shall we say, the best version there is.

Unless... this is an administrator/normal user type problem?
Registry access is restricted for 'normal' users, persons logged in as administrators or power users have full access.



Steve: Delphi a feersum engin indeed.
 
I've had a closer look at the problem, and it appears to be where there is an {$else} part to the directive. The first part of the directive works ok, then bit following the else is ignored.

Make a change, even add and remove a line, to the bit between {$else} and {$endif}, rebuild and all works ok.

Strange to say the least.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top