FIX: OLE Automation with MS Project Depletes User Resources (163026)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft Visual FoxPro for Windows 5.0
This article was previously published under Q163026 SYMPTOMS
Executing an OLE automation task or tasks from Visual FoxPro using
Microsoft Project as the server may result in a depletion of the User
resource heap under Windows 95. The extent of depletion depends on the
duration of the automation task. During the course of the automation calls,
the User heap gradually falls by 1 to 2 percent at a time.
If the task completes before the User resources are completely depleted,
the resources are restored. However, if the duration of the task is
sufficiently long, the User heap may be completely depleted. At this point,
a Windows 95 dialog box appears, saying, "Ninety percent or more of your
system resources are in use. To free up system resources, quit any programs
that you are not using. If you do not, your computer may stop responding."
If you do not end the MS Project task, Project, Visual FoxPro, or Windows
95 may stop responding.
RESOLUTION
Depending upon available memory, the OLE automation call from Visual FoxPro
to MS Project may work successfully under Windows NT. Under the NT
operation system, resources are dynamically allocated, and if sufficient
memory is available, the automation call may proceed to completion.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. This has been corrected in Visual FoxPro
6.0.
Modification Type: | Major | Last Reviewed: | 10/15/2003 |
---|
Keywords: | kbbug kbfix kbvfp600fix KB163026 |
---|
|