PDA

View Full Version : Lost components



Ultra
14-12-2003, 12:03 AM
Hi!

I recently got a lot of errors and access violations when opening Delphi. After this Delphi can't find many of the components it had before (such as TButton, TPaintBox etc).

I'll probably re-install Delphi because of this but I wondered if anyone had any idea of what happened?

Ultra

wilbur989
14-12-2003, 03:49 AM
Make any changes in the registry lately? Delphi stores alot of info in there about the component pallet. Also just thought of this. Did you log into the machine as a different user then the one used to install delphi? I have found that that can cause real problems too.

-Jeremy

Ultra
14-12-2003, 04:32 PM
Nope, none of those. I can't say that I've done anything out of the ordinary.

Alimonster
14-12-2003, 04:56 PM
Check your library path. I've had this sort of problem before (I think when dual-booting between Windows 98 and 2000, with it only installed on one OS).

Tools->Environment Options->Library->Library Path

If it's blank then you'll get all sorts of crazy errors.

You can either manually add in the important Delphi dirs (bin, lib, and so on) until the components are found or you can manually add in all the standard packages IIRC.

Ultra
15-12-2003, 12:58 AM
Nothing was missing from the library path.

Anyway I've reinstalled delphi now and I haven't had any problems so far.