PRB: Errors Starting the Coverage Profiler (186009)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q186009 SYMPTOMS
When starting the Coverage Profiler application, the following error
message occurs:
OLE error code 0x.
CAUSE
The Comdlg32.ocx is not present or is an incompatible version for use with
the Coverage Profiler.
RESOLUTION
Listed below are three possible resolutions to this problem.
- Obtain the correct version of the Comdlg32.ocx and make sure it is
installed in the \Windows\System or \Winnt\System32 directory, as
appropriate.
-or-
- Choose Ignore and OK in the error messages. The Visual FoxPro
GETFILE() dialog box appears allowing a log file to be opened.
-or-
- Modify the Coverage Profiler application so it does not use the
Comdlg32.ocx. The following steps can be used to modify the
Coverage.app:
- Unzip the XSource.zip file found in the \VFP6\Tools\XSource
folder. If the Winzip option to Use Folder Names is used, a
Coverage directory, along with other folders, is created
that contains the Coverage Profiler source files.
- Open the Coverage.pjx project.
- Go to the Other tab and expand the Text Files node. Find the
COV_TUNE file and modify the file.
- In the COV_TUNE.h file, find the # DEFINE COV_USE_OCXS .T. line.
Change the .T. to .F. then save and close the COV_TUNE.h file.
- Rebuild the Coverage.app application. Be sure to save the
application in the Visual FoxPro 6.0 folder or point the _Coverage
system memory variable to the location of the rebuilt
Coverage.app.
STATUS
This behavior is by design.
REFERENCES
Visual FoxPro Books Online: Chapter 32: Application Development and
Developer Productivity; Coverage Profiler Application
Modification Type: | Major | Last Reviewed: | 8/20/1999 |
---|
Keywords: | kbprb KB186009 |
---|
|