FIX: Servers Do Not Release if Init Returns .F. (221679)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q221679 SYMPTOMS
The following errors are received when you try to load a Visual FoxPro COM DLL or COM EXE.
In Visual FoxPro, the error is:
OLE error code 0x80004005: Unspecified error.
When using Visual Basic or Visual Basic for Applications in Excel 97, the error is:
Run-time error '-2147467259(80004005)':
Automation error
Unspecified error
After the error, the COM server cannot be rebuilt or deleted. If a Visual FoxPro COM EXE is called, it does not show in the Windows NT Task Manager in the Processes tab. A COM DLL does not show up in the Task Manager as it loads In-Process by definition. However, the COM DLL cannot be deleted. In Windows 95 or Windows 98, the Close Program window shows the Visual FoxPro COM EXE.
In other words, the Visual FoxPro COM server remains in memory.
CAUSE
This is known to happen if the Visual FoxPro COM server's Init method returns False (.F.).
Modification Type: | Major | Last Reviewed: | 10/15/2002 |
---|
Keywords: | kbBug kbOOP kbVS600sp3fix KB221679 |
---|
|