#define WIN32_NO_STATUS
#include <windows.h>
#include <stdio.h>
-#include <wchar.h>
#include "resource.h"
-#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
-
#define NDEBUG
#include <debug.h>
WCHAR PromptMsg[RC_STRING_MAX_SIZE];
CHAR InputBuffer[255];
- LoadString( GetModuleHandle(NULL), STRING_WelcomeMsg, (LPTSTR) WelcomeMsg,sizeof(WelcomeMsg) / sizeof(WelcomeMsg[0]));
- LoadString( GetModuleHandle(NULL), STRING_PromptMsg, (LPTSTR) PromptMsg ,sizeof(PromptMsg) / sizeof(PromptMsg[0]));
+ LoadStringW( GetModuleHandle(NULL), STRING_WelcomeMsg, WelcomeMsg,sizeof(WelcomeMsg) / sizeof(WelcomeMsg[0]));
+ LoadStringW( GetModuleHandle(NULL), STRING_PromptMsg, PromptMsg ,sizeof(PromptMsg) / sizeof(PromptMsg[0]));
AllocConsole();
SetConsoleTitleW(L"ntvdm");