ID Number: Q79097
1.00
WINDOWS
Summary:
Under extremely low memory conditions in Windows, Visual Basic may
generate an "Illegal function call" error message even though there is
no error in the code.
This information applies to the Microsoft Visual Basic programming
system version 1.0 for Windows.
More Information:
Workaround
----------
To avoid the "Illegal function call" error, free some memory by
closing other Windows applications.
Steps to Reproduce Problem
--------------------------
When Windows system memory resources are nearly exhausted, you can
perform the following steps to reproduce the error:
1. Start Visual Basic.
2. From the Run menu, choose Start (ALT, R, S).
3. From the Run menu, choose Break (ALT, R, K).
4. From the Window menu, choose Immediate Window (ALT, W, I).
5. Enter the following code in the Immediate window:
MsgBox "hi"
If memory is sufficiently low, an "Illegal function call" error
message will be displayed.
Additional reference words: 1.00