You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
475 B
21 lines
475 B
#include <windows.h>
|
|
#include <commctrl.h>
|
|
#include <uicommon.h>
|
|
#include "errdlg.h"
|
|
#include "resource.h"
|
|
|
|
//
|
|
// Global HINSTANCE
|
|
//
|
|
HINSTANCE g_hInstance = NULL;
|
|
|
|
|
|
int __stdcall WinMain( HINSTANCE hInstance, HINSTANCE, LPSTR, int )
|
|
{
|
|
WIA_DEBUG_CREATE(hInstance);
|
|
g_hInstance = hInstance;
|
|
InitCommonControls();
|
|
DialogBoxParam( hInstance, MAKEINTRESOURCE(IDD_ERROR_DIALOG), NULL, CErrorMessageDialog::DialogProc, NULL );
|
|
return 0;
|
|
}
|
|
|