OSDN Git Service

trivial change: debug messageなど
authortnishi <sgm00353@nifty.ne.jp>
Fri, 18 Nov 2016 10:49:22 +0000 (19:49 +0900)
committertnishi <sgm00353@nifty.ne.jp>
Fri, 18 Nov 2016 10:49:22 +0000 (19:49 +0900)
DCHook/DCHook.cpp
DCHookTest/Util.cpp
Makefile

index 03bd3c8..2a5d759 100644 (file)
@@ -880,7 +880,7 @@ int WINAPI Config( int clickonly, int keyaction, int keyflag )
 __declspec(dllexport)
 int WINAPI Config2( const struct TDCHConfig *cfg )
 {
-       DBW("Config2: %d %d", cfg->ScaleX, cfg->ScaleY);
+       DBW("Config2: %d %d %d %d", (int)cfg->ScaleX, (int)cfg->ScaleY, (int)cfg->UseAMODI, (int)ExtAMODI);
 
        MoveSend = cfg->MoveSend ? true : false;
        MoveSent = false;
@@ -1190,6 +1190,7 @@ j_discard:
 
 bool DoCapture(HWND hwnd, POINT pt, bool movesend, bool image_only, bool runOnLaunchedProc, bool non_block)
 {
+       DBW("DoCapture: %d %d %d %d %d", image_only, runOnLaunchedProc, hwndAMODI, ExtAMODI, OnlyAMODI);
        CursorPoint = ScreenPoint = pt;
        ScreenToClient( hwnd, &CursorPoint );
 
index d2bb816..2e0cd72 100644 (file)
@@ -1,6 +1,7 @@
 //---------------------------------------------------------------------------
 #include <vcl.h>
 #pragma hdrstop
+#include <tchar.h>
 #include "prgconfig.h"
 #include "Util.h"
 #include "prgprof.h"
index d0afde4..dfd9b4e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,9 @@ CPI=cp -i -p -u
 
 all:
 
+prep:
+       -mkdir DCHookTest\obj
+
 copy_release:
        copy DCHook\Release\DCHook.dll DCHookTest\DKPUHK.DLL
 #      copy DCHook\Win32\Release\DCHook.dll DCHookTest\DKPUHK.DLL