KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q45464: Lack of Memory Can Cause pg_chartscatter to Fail

Article: Q45464
Product(s): See article
Version(s): 2.00
Operating System(s): MS-DOS
Keyword(s): ENDUSER | | mspl13_c
Last Modified: 22-JUN-1989

The QuickC Version 2.00 presentation graphics functions
_pg_chartscatter and _pg_chartscatterms fail if there is not enough
memory in the far heap. These functions, like their cousins _pg_chart
and _pg_chartms, depend on the availability of memory in the far heap
for successful execution. The amount of memory needed for each
function is directly proportional to the number of points being
displayed. These functions return zero (0) if they execute
successfully.

To display more points with _pg_chartscatter and _pg_chartscatterms,
try executing outside of the QuickC 2.00 environment. This method
should free up enough memory for the functions to operate. Another way
to free up memory is to turn debug information off.

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.