home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
windows
/
win32s
/
whello.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
1994-04-29
|
860b
|
28 lines
#include "windows.h"
#include "windowsx.h"
#include <string.h>
#include <dos.h>
#include <stdio.h>
#include <stdlib.h>
#include <shellapi.h>
#include <commdlg.h>
/****************************************************************************
FUNCTION: WinMain(HANDLE, HANDLE, LPSTR, int)
****************************************************************************/
int PASCAL WinMain(
HANDLE hInstance, /* current instance */
HANDLE hPrevInstance, /* previous instance */
LPSTR lpCmdLine, /* command line */
int nCmdShow) /* show-window type (open/icon) */
{
MessageBox(NULL,
"Hello, I'm a Win32 Windows application",
"WinHello 32 Bits - 100% free",
MB_OK|MB_ICONEXCLAMATION);
return 0;
}