Hi all For those with time, patience and compassion for my predicament....
We have a large app, which is a foundation of our system with lots of users constantly using it. Yesterday it decided not to build / compile, with the following error message: [Fatal Error] File not found: 'c:\delphi\components_d6\zip beta\vcl\QRPrntr.pas' The path is not significant, as if I change what the last item is in my library path, then it reports QRPrntr.pas is not found in that component library instead! I searched for QRPrntr.pas, but only found QRPrntr.dcu residing in C:\Program Files\Borland\Delphi6\Lib. Since it has the DCU, and this is a Quick reports 3 unit which comes with Delphi 6, why is it wanting the pas file? We do have 3rd party components that require / reference QRPrntr, including Quick report 1, pragnan export filters for quick reports, and WP tools components. I searched through our archives and found that we do have a QRPrntr.pas, always 147KB in size, which was in Quick Report 2 component libraries under Delphi 3 and 4. However, as far as I can see, we've never needed this pas file for running any Delphi 6 stuff. I tried copying the QRPrntr.pas file from archives, into our Quick report 1 component library, and recompiling the large app. The error then changed to: [Fatal Error] Qrprntr.pas (955): Unit QRPrev was compiled with a different version of qrprntr.TQRPreview. I decided not to follow this track, as it hasn't needed this pas file in the past & I will probably only compound the problem. What I've tried: * reinstalling Delphi 6 and reinstalling our 3rd party components multiple times (including older versions from archive) * uninstalling Delphi 3 & 4 * examining the registry * reverting to an older version of our large app * recopying component bpl's to winnt\system32 - incase existing copies are corrupt The analysis: * the large app is built every few days and has not changed in the last week - and an older version from archives hasn't solved the problem * I think the problem lies squarely with our 3rd party components - because - the day before yesterday I was trying to install Delphi 3 & 4 and get our components working for them (separate folder), as we have some old apps that haven't yet been converted. I was having problems with the Delphi 3 & 4 version of our components then also. * My guess is that in trying to install Delphi 3 & 4 3rd party components (that involve quick reports and wp tools) that things have got entangled in some way with newer versions of the 3rd party components for Delphi 6. E.g. I copy bpl's and sometimes dpk's and cfg's to my Winnt\system32 folder (as I don't know if ONLY the bpls' are needed). I think there's something in the system32 directory (from older quick report versions), which is stuffing up my current components. I've tried removing anything that seems related to quick reports in system32, but no success. Questions: * How can I trace this problem better - Delphi isn't highlighting a line of code when it has the fatal error - so I don't even know what unit it's falling over on - except it obviously must be a unit which references QRPrntr, and these are WPTools, Quick reports 1 and the pragnaan export filters (in multiple places) - and my large app uses all of these. * Could a Delphi 3/4 bpl or whatever, in my system32 folder, cause the problem? Does Delphi only need to be able to find bpl's for components (in system32) or other files as well? (note that I just chose to use system32 as the place to put the bpls so Delphi can find them) * Since it has the DCU for QRPrntr, and this is a Quick reports 3 unit which comes with Delphi 6, why is it wanting the pas file? * Any ideas, guesses very welcome - I'm into at least my 8th hour of hell! Thanks in advance. Dave Dave Jollie Software Developer BOA IT 09 368 4259 ext 6231 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/