Explorar o código

If debuging then use the old way to get the focus. The hook was causing lockups on breakpoints

git-svn-id: svn://svn.code.sf.net/p/ditto-cp/code/trunk@83 595ec19a-5cb4-439b-94a8-42fb3063c22c
sabrogden %!s(int64=21) %!d(string=hai) anos
pai
achega
40959fdea7
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      Misc.cpp

+ 4 - 0
Misc.cpp

@@ -490,6 +490,10 @@ CGetSetOptions::CGetSetOptions()
 	m_bLogSendReceiveErrors = GetLogSendReceiveErrors();
 	m_bUseHookDllForFocus = GetProfileLong("UseHookDllForFocus", TRUE);
 
+	#ifdef _DEBUG
+	m_bUseHookDllForFocus = FALSE;
+	#endif
+
 	for(int i = 0; i < MAX_SEND_CLIENTS; i++)
 	{
 		GetSendClients(i);