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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ciruclar Reference

Status
Not open for further replies.

sanka69

Programmer
May 15, 2002
6
0
0
GB
Hello,
I'm relatively new to using Delphi here and having a small problem with ciruclar referencs. In a component that I've developed I'm using a file [consts.pas] that is a central file used by all developers. On installing the component on my co-workers machine, he gets a compile error because either:

1) the consts.pas file cannot be found, and needs directly adding to the project.

2) on adding to the project, the project cannot be compiled because consts.pas is also in his dclusr32.dpk file.


can anyone explain how to work around and avoid this please?

thank you
 
hi,

Do not add the .pas file to your project but add the directory where the .pas file exsists to your library path.
via tools-> environment options ->library -> library path.

success,

Steph [bigglasses]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top