Microsoft KB Archive/40351

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 16:56, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Call _setvideomode Before Calling _imagesize

Q40351

6.00 6.00a 6.00ax 7.00 | 1.00 MS-DOS | WINDOWS kbprg ---------------------------------------------------------------------- The information in this article applies to: - The C Run-time (CRT), included with: - Microsoft C for MS-DOS, versions 6.0, 6.0a, and 6.0ax - Microsoft C/C++ for MS-DOS, version 7.0 - Microsoft Visual C++ for Windows, version 1.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: kbinf 6.00 6.00a 6.00ax 7.00 1.00 KBCategory: kbprg KBSubcategory: CRTIss

Keywords : kb16bitonly
Issue type :
Technology : kbVCsearch kbAudDeveloper kbCRT


Last Reviewed: May 5, 2001
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.