diff --git a/Library/Library.vcproj b/Library/Library.vcproj index 49f41db1..5cb359a3 100644 --- a/Library/Library.vcproj +++ b/Library/Library.vcproj @@ -241,6 +241,7 @@ RuntimeTypeInfo="true" UsePrecompiledHeader="0" PrecompiledHeaderFile=".\x32/Release/Library.pch" + AssemblerOutput="2" AssemblerListingLocation=".\x32/Release/" ObjectFile=".\x32/Release/" ProgramDataBaseFileName=".\x32/Release/" diff --git a/Library/MeterWindow.cpp b/Library/MeterWindow.cpp index 42d2bfcd..d7477dbc 100644 --- a/Library/MeterWindow.cpp +++ b/Library/MeterWindow.cpp @@ -2519,7 +2519,9 @@ LRESULT CMeterWindow::OnSettingChange(WPARAM wParam, LPARAM lParam) { m_Monitors.count = 0; Refresh(false); - return DefWindowProc(m_Window, m_Message, wParam, lParam); + + // Commented: Calling DefWindowProc seems to cause crash sometimes + return 0; // DefWindowProc(m_Window, m_Message, wParam, lParam); } /* diff --git a/revision-number.h b/revision-number.h index f449038e..5aa77dd6 100644 --- a/revision-number.h +++ b/revision-number.h @@ -1,2 +1,2 @@ #pragma once -const int revision_number = 93; \ No newline at end of file +const int revision_number = 103; \ No newline at end of file