121     CoInitializeEx(0, COINIT_APARTMENTTHREADED);  
 
  123     auto module = GetModuleHandleA(
nullptr);
 
  124     HWND dialog = CreateDialogParamA(module, MAKEINTRESOURCEA(IDD_FORMVIEW),
 
  127         (HICON)LoadImageA(module, MAKEINTRESOURCE(IDI_ICON1), IMAGE_ICON, 0, 0,
 
  128                          LR_DEFAULTCOLOR | LR_DEFAULTSIZE);
 
  129     SendMessageA(dialog, WM_SETICON, ICON_BIG, (LPARAM)icon);
 
  130     SendDlgItemMessageA(dialog, IDC_EDIT_MM7_INSTALL_DIR, WM_SETTEXT, 0,
 
  131                         (LPARAM)
config.mm7_install_path.c_str());
 
  134     while (GetMessageA(&msg, dialog, 0, 0)) {
 
  135         TranslateMessage(&msg);
 
  136         DispatchMessageA(&msg);
 
  140     ZeroMemory(&si, 
sizeof(si));
 
  143     PROCESS_INFORMATION 
pi;
 
  144     ZeroMemory(&
pi, 
sizeof(
pi));
 
  147     std::string command_line = womm_filename + 
" -window -nointro -nologo -novideo -nomarg -render=" + 
GetRenderer();
 
  149     std::vector<char> cmd(command_line.begin(), command_line.end());
 
  152         womm_filename.c_str(), cmd.data(), 
nullptr, 
nullptr, FALSE,
 
  153         NORMAL_PRIORITY_CLASS, 
nullptr,
 
  154         config.mm7_install_path.c_str(), &si, &
pi);