?
Solved

Dcu not found problem when more then 5 installed components in Delphi 3

Posted on 2000-03-30
12
Medium Priority
?
358 Views
Last Modified: 2010-04-04
Hi!
I’m having a problem with Delphi 3 C/S with too many components installed. When I have more then 5 installed components then I get the error “.dcu not found”. If I uninstall one of the other components and then try to install the first component then Delphi finds the .dcu file.

Is there some ware you can write the source to the .dcu file and by that get Delphi to be able to have more then 5 installed components?
0
Comment
Question by:Grayl1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
  • 3
  • +1
12 Comments
 
LVL 6

Expert Comment

by:DrDelphi
ID: 2670732
What *might* be happening is that your search path is too long. I think that it is linmited to something on the order of 255 chars. Try putting al the components in the same directory under Delphi and refer to it as $(Delphi)\directory .This should fix it for you. Good luck!!

 
0
 
LVL 17

Expert Comment

by:inthe
ID: 2671191
Hi
that error could also mean delphi cant find your new component becausue the path to it is not been added to library search path.
it is at approx menu item:
tools-environment settings-library
you can add path to new comp here.
(or use this to count if your using 255 chars yet.
if you are then use drDelphi's method posted above or
you can get components at torrys
( www.torry.ru )
to make the search path longer(can install millions of comps then) for d3.
i still have these components lying around somewhere i can send if you want them and cant find at torrys..

Regards Barry
0
 

Author Comment

by:Grayl1
ID: 2672074
Thanx inthe and DrDelphi...

DrDelphi's solution is probably the simplest way of solving the problem, but still not a good one. If you have many comps installed it will be hard to know which example belongs to which comp...

Sorry inthe but your way of add the search path in tools-environment settings-library didn't work. Still ".dcu not found". Since I don’t know the name of the comp it's quite hard for me to find this comp you talk about. If you could email me the comp as an attachment to erik_83@emaila.nu and it works you will get your 75 points...
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 1

Expert Comment

by:sageryd
ID: 2672314
Erik, I believe there is a file somewhere in the directory where Delphi is installed containing the searchpaths for the libraries, I don't remember the name of it, but it is there somewhere, or it may have been in the registry. Just open this file/registry-key and add the paths that don't fit into the 255 char editbox in the Delphi settings. I used this method when I was running D3, and it worked fine.

--johan ;o)
0
 

Author Comment

by:Grayl1
ID: 2673969
Johan, thanx but I would rely need the file name or reg-key name to be able to find it. I have search for both files and reg-keys without finding anything that would fit your description. I would rely be happy if you would find the file/reg-key…
0
 
LVL 1

Expert Comment

by:sageryd
ID: 2674352
Well, I don't have D3 installed right now, only D5. I found the registry key for my version though, I believe yours it has the same name as mine.

This is what I found:
HKEY_CURRENT_USER\Software\Borland\Delphi\5.0\Library\SearchPath

Should be something similar on your computer, something like:

HKEY_CURRENT_USER\Software\Borland\Delphi\3.0\Library\SearchPath

If you don't find it, you could just open up Delphi, bring up the settings dialog and copy one of the items in the library searchpath. Then just start the registry editor ([windir]\regedit.exe) and search for it. There are several keys storing history stuff, don't get confused by these, just continue the search until you find what you are looking for.

Well...happy searching!


--johan
0
 
LVL 1

Expert Comment

by:sageryd
ID: 2674359
Starting to wonder why I'm not typing swedish....
0
 
LVL 17

Expert Comment

by:inthe
ID: 2674364
i have sent the address to gray1 for components to fix the search path problem
this is about 10 times i try to leave a comment here,seems e.e is still not over its problems.
0
 
LVL 17

Accepted Solution

by:
inthe earned 225 total points
ID: 2674368
wow comment worked at last :-)

address was

http://dsp.href.com/iis/iis.dll?DSP:RESULTS:864797697
0
 
LVL 1

Expert Comment

by:sageryd
ID: 2674375
Well...Erik it's up to you now!
0
 

Author Comment

by:Grayl1
ID: 2676563
Tanx Johan and Inthe.
Johan, your solution doesn't work. delphi writes automatically to that key and it's not working.
Inthe, your address just says "no match". I have searched my self on DSP (Delphi Super Page, ftp.sunet.se/delphi") and found this working link (http://delphi.icm.edu.pl/ftp/d30free/pathwiz.zip) it works but not real as good as I expected.
Anyway, I will give the 75 points to Inthe because he (maybe she, I don't know) came up with the best solution.
0
 

Author Comment

by:Grayl1
ID: 2676572
Probably the best solution for D3.

Don’t by D3, by D4 or D5!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses
Course of the Month8 days, 10 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question