From d699b3514c2c9d9fb32b19f487ad648e6fadb814 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 5 Jun 2019 12:32:07 +0100 Subject: Try to warn if we're running the 32-bit version on 64-bit windows (WoW64) (#1569). --- src/tools/dcpomatic.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/tools') 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)) { -- cgit v1.2.3