QuickC 2.0 Routines Using malloc() Fail in QB Quick Library (57923)
This article was previously published under Q57923
SYMPTOMS
Microsoft QuickC version 2.0 or 2.5 routines that attempt memory
allocation [with malloc()] do not allocate any memory when used in a
Quick library in the QuickBasic environment. If the pointers are then
referenced in the C routine, the following error message halts the
program and returns to DOS:
run-time error R6013 - illegal far pointer use
STATUS
Microsoft has confirmed this to be a bug in Microsoft QuickC
versions 2.0 and 2.5 (buglist2.00, buglist2.50); in the QB.EXE editor
in Microsoft QuickBasic version 4.5; and in the QBX.EXE (QuickBasic
Extended) editor in Microsoft Basic Professional Development System
(PDS) versions 7.0 and 7.1 (buglist7.00, buglist7.10). We are
researching this problem and will post new information here in the
Microsoft Knowledge Base as it becomes available.
Modification Type: |
Minor |
Last Reviewed: |
1/9/2003 |
Keywords: |
KB57923 |
|