Board index » delphi » HELP: Installing new component = big problems

HELP: Installing new component = big problems

I have a custom component I've written which is accompanied by a
registration unit (as it registers new property editors).  I have installed
this component and used it on my machine with no problems, and on one
co-worker's machine.  

When I try to install it on a third co-worker's machine, it goes through
the motions of compiling COMPLIB.DCL but then comes up with an error
message to the effect of "Error reading component library
C:\DELPHI\BIN\COMPLIB.DCL".  (We're using Delphi 1.02, BTW.)  Looking at
the complib.dcl file shows that it is slightly bigger than the backup,
indicating that something was done...  The odd thing is, if I copy this
complib.dcl to my machine, I can open it fine!  But this other machine can
not.

The component is a fairly simple, non-visual component, and I therefore
find it unlikely that there is some bug in the component causing this
(after all, it's not GPFing when it loads, it just won't load, not to
mention it works on two other machines).  Has anyone seen this sort of
behavior before?  If so, what causes it, and what can we do about it?

Please respond ASAP, as my co-worker now needs to work on this project and
can't without this component.  HEEELLLLPPPPP!

--
David S. Becker
ADP Dealer Services (Plaza R&D)
d...@plaza.ds.adp.com
(503)402-3236

 

Re:HELP: Installing new component = big problems


Quote
David S. Becker wrote:

> When I try to install it on a third co-worker's machine, it goes through
> the motions of compiling COMPLIB.DCL but then comes up with an error
> message to the effect of "Error reading component library
> C:\DELPHI\BIN\COMPLIB.DCL".

Missing a DLL for some reason?

M.

--
Ettertraktet kaffe, er det ekstra godt?

mailto:martin.lars...@delfi-data.msmail.telemax.no
http://www.delfidata.no/users/~martin

Re:HELP: Installing new component = big problems


On 2 Oct 1996 22:21:40 GMT, "David S. Becker" <d...@plaza.ds.adp.com>
wrote:

Quote
>I have a custom component I've written which is accompanied by a
>registration unit (as it registers new property editors).  I have installed
>this component and used it on my machine with no problems, and on one
>co-worker's machine.  

>When I try to install it on a third co-worker's machine, it goes through
>the motions of compiling COMPLIB.DCL but then comes up with an error
>message to the effect of "Error reading component library
>C:\DELPHI\BIN\COMPLIB.DCL".  (We're using Delphi 1.02, BTW.)  Looking at
>the complib.dcl file shows that it is slightly bigger than the backup,
>indicating that something was done...  The odd thing is, if I copy this
>complib.dcl to my machine, I can open it fine!  But this other machine can
>not.

>The component is a fairly simple, non-visual component, and I therefore
>find it unlikely that there is some bug in the component causing this
>(after all, it's not GPFing when it loads, it just won't load, not to
>mention it works on two other machines).  Has anyone seen this sort of
>behavior before?  If so, what causes it, and what can we do about it?

The most likely cause is that something is in your uses clause, which
causes a DLL to be loaded; if you are running Win95 the easiest way to
check this is to drop COMPLIB.DCL onto quickview.exe which will show
you all DLLs linked statically. If one of the DLLs is missing you get
the error described above.

--
Stefan Hoffmeister                       Stefan.Hoffmeis...@Uni-Passau.de
University of Passau, Bavaria, Germany  

Re:HELP: Installing new component = big problems


H had a similar problem. In my case the cause was the fact that
delphi's (ver. 1) search path for component source cannot be very long
(64 char?). The solution was very simple, but it tooks me one day and
a half to found it, because delphi's messages were confusing in this
point.

Perhaps you've similar problem, but probabily yours is totally
different.

Anyway, hope this helps.

"David S. Becker" <d...@plaza.ds.adp.com> wrote:

Quote
>I have a custom component I've written which is accompanied by a
>registration unit (as it registers new property editors).  I have installed
>this component and used it on my machine with no problems, and on one
>co-worker's machine.  
>When I try to install it on a third co-worker's machine, it goes through
>the motions of compiling COMPLIB.DCL but then comes up with an error
>message to the effect of "Error reading component library
>C:\DELPHI\BIN\COMPLIB.DCL".  (We're using Delphi 1.02, BTW.)  Looking at
>the complib.dcl file shows that it is slightly bigger than the backup,
>indicating that something was done...  The odd thing is, if I copy this
>complib.dcl to my machine, I can open it fine!  But this other machine can
>not.
>David S. Becker
>ADP Dealer Services (Plaza R&D)
>d...@plaza.ds.adp.com
>(503)402-3236

Other Threads