wince下的按键钩子示例
源代码在线查看: keybdhook_ce.vcl
Build Log
--------------------Configuration: KeybdHook_CE - Win32 (WCE emulator) Release--------------------
Command Lines
Creating temporary file "C:\DOCUME~1\dell\LOCALS~1\Temp\RSP31D.tmp" with contents
[
/nologo /W3 /D "_i386_" /D UNDER_CE=400 /D _WIN32_WCE=400 /D "WCE_PLATFORM_STANDARDSDK" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_WIN32_WCE_CEPC" /D "_USRDLL" /FR"emulatorRel/" /Fp"emulatorRel/KeybdHook_CE.pch" /Yu"stdafx.h" /Fo"emulatorRel/" /Gs8192 /GF /O2 /c
"E:\workplace\evc_workplace\MyKeyBbdHook\KeybdHook_CE\KeybdHook_CE.cpp"
]
Creating command line "cl.exe @C:\DOCUME~1\dell\LOCALS~1\Temp\RSP31D.tmp"
Creating temporary file "C:\DOCUME~1\dell\LOCALS~1\Temp\RSP31E.tmp" with contents
[
/nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /incremental:no /pdb:"emulatorRel/KeybdHook_CE.pdb" /def:".\KeybdHook_CE.def" /out:"emulatorRel/KeybdHook_CE.dll" /implib:"emulatorRel/KeybdHook_CE.lib" /subsystem:windowsce,4.00 /MACHINE:IX86
.\emulatorRel\KeybdHook_CE.obj
.\emulatorRel\StdAfx.obj
.\emulatorRel\KeybdHook_CE.res
]
Creating command line "link.exe @C:\DOCUME~1\dell\LOCALS~1\Temp\RSP31E.tmp"
Output Window
Compiling...
KeybdHook_CE.cpp
E:\workplace\evc_workplace\MyKeyBbdHook\KeybdHook_CE\KeybdHook_CE.cpp(44) : warning C4172: returning address of local variable or temporary
Linking...
Creating library emulatorRel/KeybdHook_CE.lib and object emulatorRel/KeybdHook_CE.exp
LINK : warning LNK4089: all references to 'WININET.dll' discarded by /OPT:REF
LINK : warning LNK4089: all references to 'commdlg.dll' discarded by /OPT:REF
Creating command line "bscmake.exe /nologo /o"emulatorRel/KeybdHook_CE.bsc" .\emulatorRel\StdAfx.sbr .\emulatorRel\KeybdHook_CE.sbr"
Creating browse info file...
Output Window
Results
KeybdHook_CE.dll - 0 error(s), 3 warning(s)