Subject Re: [IBO] Problems with IPIBDataset - components missing
Author Aljosa Turk
Thanks Frank.

I removed the .dcr out of the package and recompiled dclusr50.dpk.
I don't get errors from compiler. These two components are now in IP Access
tab.

But the problem occurs when I close Delphi and run it again. The components
are gone?!
I must everytime recompile dclusr50.dpk to get them back!

Any idea why?

Thanks again,
Aljosa


----- Original Message -----
From: "Frank Ingermann" <frank.ingermann@...>
To: <IBObjects@yahoogroups.com>
Sent: Wednesday, March 21, 2001 11:00 PM
Subject: Re: [IBO] Problems when installing IPIBDataset - please help


> Hi Aljosa,
>
> Aljo┬╣a Turk wrote:
> >
> > Hello.
> >
> > I installed trial version of IBObjects and InfoPower.
> > When installing InfoPower Compatible Components (TwwIBOQuery and
TwwIBOTable) compiler sends me an error:
> >
> > [Error] WARNING. Duplicate resource(s):
> > [Error] Type 2 (BITMAP), ID TWWIBQUERY:
> > [Error] File c:\public\zipi\ibinstall\ibobjects\IPIBDataset.dcr
resource kept; file C:\PUBLIC\zipi\IBInstall\IBObjects\IPIBDataset.DCR
resource discarded.
> > [Error] Type 2 (BITMAP), ID TWWIBTABLE:
> > [Error] File c:\public\zipi\ibinstall\ibobjects\IPIBDataset.dcr
resource kept; file C:\PUBLIC\zipi\IBInstall\IBObjects\IPIBDataset.DCR
resource discarded.
> >
> > I'm sure that I have only one file IPIBDataset.dcr on my computer
(Win2000).
> > So I realy don't know what's wrong.
>
> when you look closely, you see that the filenames that are kept and
rejected
> are identical (at least in case-insensitive mode :) Look at the file list
of
> the package. You'll very probably find that there is IPIBDataset.pas *and*
> IPIBDataset.dcr in there.
>
> Since the .pas includes a {$R *.DCR} directive the resource file is
actually
> linked twice. Simple solution: throw the .dcr out of the package &
recompile!
>
> (btw i'm using D5 pro + Upd 1, i just tried to simulate it but i can't
manage
> to put a .dcr into a package any more - but i know there is a way, or at
least
> in D4 there was... and it gave me a real headache back then until i found
out
> what's going on... :-)
>
> hth,
> fingerman
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>