Never mind, solved it. Somehow Delphi 6 had added a Delphi 3 source path to
my library paths. When I deleted the incorrect path, the problem went away.
;-)

Dave

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 24 September 2002 14:11
To: Multiple recipients of list delphi
Subject: [DUG]: How do I fix a corruption in Delphi 6?


Hi,

I'm getting the following error message when trying to build Delphi 6
projects:

[Fatal Error] DJ_Acert_rpt.dpr(24): Unit SysUtils was compiled with a
different version of Windows.THandle

When I go to the uses clause and right click on "Windows" and choose "Find
declaration", the source file that opens is:
c:\delphi 3\source\rtl\win\Windows.pas !!!

So Delphi 6 has got confused and is using the wrong version of Windows.pas

I've tried searching through all files on my C drive under Delphi 6, to see
if I can find the place where it has this wrong path, but to no avail. I've
tried various Delphi 6 projects and they're all corrupted in the same way.

My guess is its somewhere in the registry, but I'm not too familiar with the
registry.

Any ideas? Do I really HAVE to re-install? Hope not.

Thanks.

Dave


============================================
INTERNET E-MAIL CONFIDENTIALITY CLAUSE

The information contained in this mail message is confidential and may also
be legally privileged. If you are not the intended recipient, please note
that any use, dissemination, further distribution, or reproduction of this
message in any form what so ever, is strictly prohibited.  If the mail is in
error, please notify me by return E-mail, delete your copy of the message,
and accept my apologies for any inconvenience caused.

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to