V45.38: suppress iZotope 0x7E dialog

- _is_vst2_dll: pure-Python PE export-table check (magic-aware dd offset
  PE32+112) -> IZOzone11Core.dll (runtime lib, no VSTPluginMain) dropped
  from VST2 lists in _scan_plugins and list_scan_all; plugins.py same.
- _hidden_desktop_startupinfo: scan subprocess runs on hidden desktop
  (user32 CreateDesktopW, HDESK restype) -> third-party MessageBox invisible.
- SetErrorMode(SEM_FAILCRITICALERRORS|SEM_NOOPENFILEERRORBOX) in all 4
  bridge mains: missing dependency DLL fails silently instead of blocking.
This commit is contained in:
2026-09-01 20:10:33 +07:00
parent aee537a0af
commit 29b5f053a0
14 changed files with 157 additions and 7 deletions
+5
View File
@@ -86,6 +86,11 @@ static HWND make_host_window() {
}
int main(int argc, char* argv[]) {
#ifdef _WIN32
// Suppress Windows loader error dialogs — plugin dependency thiếu (0x7E)
// phải fail âm thầm, không MessageBox chặn user.
SetErrorMode(SEM_FAILCRITICALERRORS | SEM_NOOPENFILEERRORBOX);
#endif
std::string shmName, path, presetFile;
double sr = 44100.0;
uint32_t block = AUDIO_BLOCK_SIZE;