Question : DockForm.DCU not found?

I am trying to install a component from Delphi 7 into Delphi 2010.


unit SysInfo;

(*******************************************************************************

 Name:     SysInfo.Pas
 Project:  TSysInfo component stuff
 Coder:    Christophe Porteneuve aka TDD
           URL: http://www.epita.fr/~porten_c - E-mail: [email protected]

 Started:  12/15/96
 Effici.:  12/15/96
 Latest:   01/10/97

 Lines:    763

 Role:     Provide extremely detailed information about as many components of
                                the system as possible (memory, processors, disks, version...)

 ******************************************************************************)

I have all the necessary .pas files.  

SysInfo.pas
WTSAPI32.pas


I have created a new designtime package and added the files. It compiles/builds and installs just fine.  However, when i drop the component on my application, I keep getting a "DockForm.DCU not found?  The Compiler automatically jumps to the "ToolsAPI" unit and highlights the DockForm unit.

The sysInfo.pas file does not have "ToolsAPI" in its Uses clause, but it does have DESIGNEDITORS which calls it.

Using google search and EE searches, i have found many references to this error

Example:

http://embarcadero.newsgroups.archived.at/public.delphi.vcl.components.using/200912/0912163822.html

but, i still don't get the separation aspect.

If someone can explicitly walk me through this that woudl be great

Thanks!

Answer : DockForm.DCU not found?

You can consider as alternative JvComputerInfoEx component from JVCL library http://jvcl.delphi-jedi.org/
It's freeware and supports D5-D2010
Random Solutions  
 
programming4us programming4us