?
Solved

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

Posted on 2000-03-30
12
Medium Priority
?
360 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

650 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