2011-10-01から1日間の記事一覧
すぐ忘れるのでメモ.GetLastError() でエラー ID を取得して,FormatMessage() でそれに対応するメッセージを取得する関数 #include <string> #include <windows.h> #include <tchar.h> /* ------------------------------------------------------------------------- */ /* * GetError</tchar.h></windows.h></string>…