Try to warn if we're running the 32-bit version on 64-bit windows (WoW64) (#1569).
[dcpomatic.git] / src / tools / dcpomatic.cc
index 820289825057dc64ec7ee78fa75cdf66a8b3e8e8..96770914d38d1758083131d79b19a21b42c37945 100644 (file)
@@ -1539,6 +1539,13 @@ private:
                                Config::instance()->set_nagged(Config::NAG_INITIAL_SETUP, true);
                        }
 
+                       if (running_32_on_64 ()) {
+                               NagDialog::maybe_nag (
+                                       _frame, Config::NAG_32_ON_64,
+                                       _("You are running the 32-bit version of DCP-o-matic on a 64-bit version of Windows.  This will limit the memory available to DCP-o-matic and may cause errors.  You are strongly advised to install the 64-bit version of DCP-o-matic."),
+                                       false);
+                       }
+
                        _frame->Show ();
 
                        if (!_film_to_load.empty() && boost::filesystem::is_directory (_film_to_load)) {