INFO: Microsoft Foundation Classes Do Not Support QuickWin AppsLast reviewed: July 22, 1997Article ID: Q102621 |
The information in this article applies to:
SUMMARYYou cannot develop a QuickWin application with the Microsoft Foundation Class (MFC) Libraries versions 1.0 and 2.0. The libraries were not designed or tested for use with QuickWin applications and may not work correctly.
MORE INFORMATIONA QuickWin application is designed to provide a fast method to convert an application designed for the MS-DOS operating system into an application designed for the Microsoft Windows operating system. If you developed an MS- DOS application with the Microsoft Foundation Classes you may be able to create a QuickWin application that uses that part of the Microsoft Foundation Classes that supports MS-DOS applications. Microsoft did not design or test the Microsoft Foundation Classes libraries in this manner and does not support using them for this purpose. You can build a QuickWin application using the Microsoft Foundation Classes libraries by performing the following five steps; however, do so only at your own risk:
Sample Code
/* * Compiler options needed: See above */ #ifdef _WINDOWS #undef _WINDOWS #define _DOS #include <afx.h> #undef _DOS #define _WINDOWS #endif #include <iostream.h> void main() { CString myString ("Hello, world"); cout << myString << endl; } |
Additional query words: checkbox
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |