ID Number: Q40351
5.x 6.00 6.00a 6.00ax 7.00
MS-DOS
Summary:
In Microsoft C versions 5.0, 5.1, 6.0, 6.0a, 6.0ax, and C/C++ version
7.0, the _imagesize() function calls _getvideoconfig() to determine
the number of bits required to store a pixel given the CURRENT video
mode. If you are calling _imagesize() prior to calling
_setvideomode(), an unexpected result is returned by _imagesize().
In summary, do the following in order:
1. _setvideomode()
2. _imagesize()
3. _getimage() and putimage()
Additional reference words: 5.00 5.10 6.00 6.00a 6.00ax 7.00