UsageTo run the diagnostics on a particular ocx or dll you may either:
This is a small utility to help in the diagnosis of OCX installation/registration problems, use it during the development cycle or as a tool to diagnose problems once you've shipped your control to a customer site.
Most of the information the program reports can be gathered from other utilities. The advantages of this program are that:
SystemThe System tab shows the following information.
NotesUseful to check the platform and that all required service packs are installed.
Alternative source of information: 'Help|About Windows NT/95' in Windows Explorer
NotesThe Environment tab simply shows the environmental variables active when the program is run, the PATH variable is perhaps the most useful.
Alternative source of information: NT/95 SET Command. Control Panel|System|Environment
VersionThe Version tab shows the following information.
NotesAllows you check the version of the OCX that is being run.
Alternative source of information: Right click the file in Explorer, choose 'Properties' and select the 'Version' tab
DLLThe DLL tab shows the entry points for the following exported functions.
NotesProbably not a lot of use! Proves the OCX is exporting the required entry points.
Alternative source of information:
RegistryThe Registry tab shows the Documentation String and Class ID (CLSID) of each class registered by the control.
Whilst populating this tab the program also attempts the following operations.
NotesSaves you or your customer from trailing through the registry looking up all those CSLIDs.
Works by traversing the entire directory tree looking for classes which use the OCX.
Alternative source of information: Regedit32. OLE/COM Object Viewer in SDK
DependenciesThe Dependencies tab lists the DLLs that the control requires. The list is recursive; that is the dependents of dependent DLLs are also included. For each DLL the following information is shown.
NotesLists all the DLLs imported by the OCX - useful for detecting missing DLLs and mismatched versions.
Alternative source of information: Dependency Walker in SDK
ReportThe Report tab simply lists all of the above the information in plain ASCII text.
NotesYour customer can cut and paste this into an email and send it to you.