bdn.borland.com

Article #30355: Problems tracing into the Office Components .pas files

Problem:


Trying to Ctrl-Click into an Office component method brings up the following:

Error Unable to locate file "Word2000.pas" or "WordXP.pas"

How can I fix this?

Solution:


Select Project | Options and then select the Directories/Conditionals tab. In the Debug Source Path, you will need to add the Ocx\Servers directory, which are subdirectories found in the Delphi7 directory.

Last Modified: 20-JAN-04