summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-06-05 12:32:07 +0100
committerCarl Hetherington <cth@carlh.net>2019-06-05 12:32:07 +0100
commitd699b3514c2c9d9fb32b19f487ad648e6fadb814 (patch)
tree742941493afffeb95e402c62a3cfec016d1f903c /src/tools
parent58cd57db37f1460a899aaf92b8c7e7564f55e50d (diff)
Try to warn if we're running the 32-bit version on 64-bit windows (WoW64) (#1569).
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/dcpomatic.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc
index 820289825..96770914d 100644
--- a/src/tools/dcpomatic.cc
+++ b/src/tools/dcpomatic.cc
@@ -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)) {