========================================================================
SAMPLE APPLICATION : Keyexe
========================================================================
Disclaimer
----------
THIS SOFTWARE AND THE ACCOMPANYING FILES ARE DISTRIBUTED "AS IS" AND WITHOUT
ANY WARRANTIES WHETHER EXPRESSED OR IMPLIED. NO REPONSIBILITIES FOR POSSIBLE
DAMAGES OR EVEN FUNCTIONALITY CAN BE TAKEN. THE USER MUST ASSUME THE ENTIRE
RISK OF USING THIS SOFTWARE.
Terms of use
------------
THIS SOFTWARE IS FREE FOR PERSONAL USE OR FREEWARE APPLICATIONS.
IF YOU USE THIS SOFTWARE IN COMMERCIAL OR SHAREWARE APPLICATIONS YOU
ARE GENTLY ASKED TO SEND ONE LICENCED COPY OF YOUR APPLICATION(S)
TO THE AUTHOR. IF YOU WANT TO PAY SOME MONEY INSTEAD, CONTACT ME BY
EMAIL. YOU ARE REQUESTED TO CONTACT ME BEFORE USING THIS SOFTWARE
IN YOUR SHAREWARE/COMMERCIAL APPLICATION.
Contact info:
Site: http:bizkerala.hypermart.net
Email: anoopt@gmx.net
-------------------------------------------------------------------------------------------------------------------------------
Usage :
-------------------------------------------------------------------------------------------------------------------------------
The DLL contains 3 exported functions:
1) void installhook(HWND h);
2) void removehook();
3) LRESULT CALLBACK hookproc(int ncode,WPARAM wparam,LPARAM lparam);
Keydll3.dll:
-----------
You should use installhook() to install the Keyboard hook. Pass a pointer of the main Application window as the
parameter. Always use removehook() to remove the hook before your app exits. Change the Classname and
window title in the call FindWindow(). The classname will be the classname of your application main window
and the title set to the title of your application main window. Then compile and link the Files to obtain the
.LIB and .DLL files.
Application:
-------------
When building your application, include the file 'Keydll3.h' in your project and also, do not forget to '#include'
wherever necessary. Specify 'Keydll3.lib' in the additional modules section in the Project settings. And, do not
forget to add the path to keydll3.lib to the library paths in visual studio. Otherwise, you will get a linker error.
Put the .EXE and .DLL in the same folder and run the exe.
See the sample project 'Keyexe' source for more details.
The log of keystrokes is stored in a file 'Keylog.txt' in your temp folder.
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
android环境中,使用wifi与电脑的socket通信实例,用C++写了电脑端程序,手机做服务端,电脑做客户端;也可以反过来,电脑使用MFC编程作为客户端,原理是,手机建立一个ServerSocket,并获取自己的ip地址和端口port;然后电脑通过socket连接手机的ip:port。电脑上主要使用的是MFC编程,socket代码请参见实例。
资源推荐
资源详情
资源评论
收起资源包目录
wifisocket.rar (84个子文件)
codefans.net
android在wifi下手机与电脑的socket通信
android在wifi下手机与电脑的socket通信.doc 147KB
workspace
Keyexe
StdAfx.cpp 1KB
resource.h 1KB
Keyexe.aps 38KB
KeyexeDlg.h 3KB
Keyexe.dsw 537B
Keyexe.clw 2KB
key.txt 12B
Keyexe.ncb 81KB
Debug
Keyexe.pdb 401KB
Keyexe.bsc 5.17MB
KeyexeDlg.obj 59KB
vc60.pdb 364KB
vc60.idb 41KB
Keyexe.res 5KB
Keyexe.exe 116KB
KeyexeDlg.sbr 0B
Keyexe.obj 13KB
Keyexe.ilk 278KB
Keyexe.pch 6.66MB
StdAfx.obj 104KB
StdAfx.sbr 1.32MB
KeyboardHook.dll 272KB
Keyexe.sbr 0B
KeyboardHook.lib 3KB
Keyexe.dsp 4KB
ReadMe.txt 2KB
StdAfx.h 2KB
Keyexe.plg 1KB
Keyexe.cpp 3KB
Keyexe.rc 7KB
Keyexe.h 2KB
res
Thumbs.db 7KB
notify.bmp 2KB
Keyexe.ico 1KB
Keyexe.rc2 398B
icon1.ico 766B
KeyexeDlg.cpp 20KB
KeyboardHook.dll 272KB
Keyexe.opt 57KB
keydll3.H 348B
KeyboardHook.lib 3KB
icon1.ico 766B
ControlPC
.project 845B
bin
ControlPC.apk 155KB
res
drawable-ldpi
ic_launcher.png 2KB
drawable-hdpi
ic_launcher.png 4KB
bg_chat.png 130KB
drawable-mdpi
ic_launcher.png 2KB
resources.ap_ 143KB
classes
gjz
ControlPC
ControlPCActivity$1.class 2KB
R$string.class 412B
R$layout.class 415B
ControlPCActivity.class 10KB
R$drawable.class 423B
ControlPCActivity$4.class 4KB
ControlPCActivity$2.class 2KB
R.class 496B
mouseActivity.class 8KB
ControlPCActivity$6.class 2KB
ControlPCActivity$8.class 2KB
R$attr.class 325B
ControlPCActivity$7.class 3KB
mouseActivity$2.class 1KB
ControlPCActivity$5.class 1KB
R$id.class 1KB
ControlPCActivity$3.class 2KB
mouseActivity$1.class 1KB
mouseActivity$3.class 843B
classes.dex 22KB
proguard.cfg 1KB
AndroidManifest.xml 1KB
src
gjz
ControlPC
ControlPCActivity.java 14KB
mouseActivity.java 10KB
project.properties 361B
res
values
strings.xml 184B
layout
main.xml 4KB
mouse_layout.xml 2KB
drawable-ldpi
ic_launcher.png 2KB
drawable-hdpi
ic_launcher.png 4KB
bg_chat.png 133KB
drawable-mdpi
ic_launcher.png 3KB
.classpath 364B
gen
gjz
ControlPC
R.java 2KB
assets
共 84 条
- 1
godpower888
- 粉丝: 14
- 资源: 75
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
- 5
- 6
前往页