Visual Studio 2015 Part3©5ch.io
■ このスレッドは過去ログ倉庫に格納されています
0555デフォルトの名無しさん
2015/12/05(土) 00:22:25.78ID:eGerJrSRint WINAPI wWinMain( HINSTANCE inst, HINSTANCE prev, wchar_t *cmdline, int show_cmd )
{
HWND window, editor;
WNDCLASS winc = {0};
winc.style = CS_HREDRAW | CS_VREDRAW;
winc.lpfnWndProc = ::DefWindowProc;
winc.hInstance = ::GetModuleHandle( NULL );
winc.hIcon = ::LoadIcon( NULL , IDI_APPLICATION );
winc.hCursor = ::LoadCursor( NULL , IDC_ARROW );
winc.hbrBackground = (HBRUSH)GetStockObject( NULL_BRUSH );
winc.lpszClassName = L"window";
::RegisterClass( &winc );
window = ::CreateWindow( L"window", L"test", WS_OVERLAPPED|WS_VISIBLE, 0, 0, 100, 100,
nullptr, nullptr, ::GetModuleHandle( nullptr ), nullptr );
editor = ::CreateWindow( L"EDIT", L"", WS_CHILD|WS_VISIBLE|ES_LEFT|ES_AUTOHSCROLL,
0, 0, 300, 100, window, nullptr, ::GetModuleHandle( nullptr ), nullptr );
MSG msg;
for( ; ::GetMessage( &msg, nullptr, 0, 0 ); ){
::TranslateMessage( &msg );
::DispatchMessage( &msg );
}
return 0L;
}
↑のバグの混入しようのないシンプルなコードで、エディットボックスに日本語を入力しようとすると
VisualStudio2015が固まります 巻き添えでエスクプローらも固まります その他もいろいろ固まります
VisualStudio2015を強制終了すると回復します デバッグでもリリースでも固まります
おまかん、ですか?
■ このスレッドは過去ログ倉庫に格納されています