I think this error sometimes happens if you have some dcu's compiled with a different version of the file. You could try deleting all of the dcu files for your project and for any library files that you have the source for, and then doing a build. This has worked for us before when trying to get rid of couple of different errors.
Phil. ----- Original Message ----- From: <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Friday, November 22, 2002 10:15 AM Subject: RE: [DUG]: Component torture ( 7 hours of hell) > I can now compile my large app (thanks to Kurt), as long as I have > QRPrntr.dcu present in the app's directory. I tried other projects that use > quick reports, and they too now won't compile, unless I copy QRPrntr.dcu > into their folders as well. This is a little silly and I don't like to patch > the problem if I can work out why this is happening. > > I checked my library paths and $(DELPHI)\Lib is the top path on the list. I > tried moving it to the bottom of the list to see what would happen, and now > it says: > [Fatal Error] File not found: 'c:\program > files\borland\delphi6\Lib\QRPrntr.pas' !!!! > So it's saying it can't find QRPrntr.pas in the very folder which contains > QRPrntr.dcu. This proves it's not really searching properly and is just > reporting the last library path in the list as the problem. > > I tried copying the project to another Delphi developer's PC, with the same > result, so it doesn't SEEM to be a stuffed registry (and I did reinstall > Delphi 6 to no avail). > > Any idea what's going wrong? Thanks. > > Dave > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: Friday, 22 November 2002 09:05 > To: Multiple recipients of list delphi > Subject: RE: [DUG]: Component torture ( 7 hours of hell) > > > Hi Kurt > > thank you thank you thank you thank you!!!!!!!!!!!!!!! > > I copied QRPrntr.dcu from C:\Program Files\Borland\Delphi6\Lib into my app > directory, and bingo, compiled without a problem! > > So even though lib is in the library path, somehow it's not finding it > there. So now to try and figure out why, but at least I can compile my app! > > Much appreciated. I owe you one. > > Dave > > > -----Original Message----- > From: Kurt at iadvance [mailto:[EMAIL PROTECTED]] > Sent: Friday, 22 November 2002 08:49 > To: Multiple recipients of list delphi > Subject: Re: [DUG]: Component torture ( 7 hours of hell) > > > [EMAIL PROTECTED] wrote: > > > * 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! > > Just briefly, can you be sure that it is finding this dcu? > Is the ...\Delphi6\Lib\ dir still recorded somewhere - search path, > library path, something. > > It could be worth trying to copy the dcu into your apps main folder, > and see if that helps - as that is definitely in the search path. > > Also check that the dcu didn't get overwritten when installing your > older delphi versions. Probably would be worth doing a search of your > drive to see whether there are any other copies of this dcu which may > be hiding and screwing things up. > > Cheers, Kurt. > > -------------------------------------------------------------------------- - > 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/ > -------------------------------------------------------------------------- - > 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/