Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Installing components

Status
Not open for further replies.

bearsite4

Programmer
Sep 29, 2001
79
AU
I'm having a bit of trouble installing new components.

First of all, as an aside I'm a bit new to this component installation so should I install it to a new library (or whatever it's called) instead of the dcdlxxx?

Now my problem is that the component writers have supplied me with 1 main pas source which has the register procedure and several dcu's. However when attempting to compile the component into my new library I get an error that the source for the dcu is not found. Of course, the component writer did not give me the source. So what am I supposed to do?

BTW the component is for Delphi3 and I'm using Delphi6. Is this the problem?
 
In the options for your package you can add a search path, you should probably put the path to the .dcu's there.

The D3 components might not work with D6, especially if you don't have source so you can't recompile them. TealWren
 
Yeah, I did put it in the search path. Still, if you can't distribute components without the source wouldn't that make component writing a pretty risky business since anyone can just steal your code?
 
You can distribute components without source, but you typically need a different distribution set for each version of Delphi.

The compiler changes so you can't just build old DCU's in with new code.

TealWren
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top