Solved

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

Posted on 2000-03-30
12
354 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
  • 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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

 
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 75 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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

828 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