VB and VBA Users Source Code: Using Dependancy Walker to find errors when registering COM Components
[
Home
|
Contents
|
Search
|
Reply
| Previous | Next ]
VB/VBA Source Code
Using Dependancy Walker to find errors when registering COM Components
By:
Andrew Baker
Email (spam proof):
Email the originator of this post
Date:
Sunday, October 20, 2002
Hits:
702
Category:
Visual Basic General
Article:
Dependacy Walker (version 2.1a or newer) can be used to trace problems when registering ActiveX components. First run the following command line depends.exe /ph:1 /pl:1 c:\winnt\system32\regsvr32.exe "C:\mycomponent.dll" (Where "C:\mycomponent.dll" is the path to your COM component). When Dependacy Walker opens, go to the "Profile" > "Start Profiling..." menu. Then press "OK" once the profiling dialog appears. You will now see a trace of all the output which occured while trying to register the component.
Terms and Conditions
Support this site
Download a trial version of the Excel Workbook Rebuilder