That was the clue.
My project is using units from several directories - mainly different versions of
reports.  In rearraging things I had inadvertantly copies two units, with the same
Report name (but different unit names) into the project directory.
I deleted them both and the problem was fixed.
Thanks
Mark

Oscar Martin wrote:

> It still runs because a unit doesnt have to be in the project (.dpr) to be
> included in the exe! :) If it is in a uses clause and the .pas or .dcu file
> is somewhere on your search path then it will still run...
>
> As for the duplicate resources, I've had that before but forget how to fix
> it (sorry :})
>
> Oscar
>
> -----Original Message-----
> From: Mark Howard [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 04, 2000 11:24 AM
> To: Multiple recipients of list delphi
> Subject: [DUG]: Incomplete removal of unit from project
>
> Hi again
>
> Using D3.
>
> I want to remove one version of a QReport from my project and
> replace it with another.
> I use Project manager to remove it but when I go to add in the
> new report I get 3 error messages
> Warning - duplicate resources
> TYPE 10 (RCDATA), ID TOWNSUM1
> File OwnSum2Un.DFM resource kept: OwnSum1Un.DFM discarded
> I can reload the original with no errors.
>
> Funny thing is, after removing the original report (it is nowhere
> to be seen in the project manager or the DPR file) -
> IT STILL RUNS.
>
> Any ideas?
>
> Mark
> The information transmitted is intended only for the person or entity to
> which it is addressed and may contain confidential and/or privileged
> material. Any review, retransmission, dissemination or other use of, or
> taking of any action in reliance upon, this information by persons or
> entities other than the intended recipient is prohibited. If you
> received this in error, please contact the sender and delete the material from
> any computer. Opinions expressed in this transmission are not necessarily
> those of Sanderson Computers Limited. For further clarification, please
> contact [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------------
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
begin:vcard 
n:Howard;Mark
tel;cell:(021) 477 564
tel;fax:(07) 348 8178
tel;work:(07) 348 8177
x-mozilla-html:FALSE
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
fn:Forest Production Systems Ltd
end:vcard

Reply via email to