socket

所属分类:Windows编程
开发工具:Visual C++
文件大小:4418KB
下载次数:18
上传日期:2013-04-16 22:59:13
上 传 者qiangtaoza487
说明:  ndroid在wifi下手机与电脑的socket通信,内附电脑端的VC++程序源码,需要在VC6环境下编译并生成EXE文件,方可运行,同时还包括了本实例实现过程的技术文档。
(ndroid the wifi next phone and computer socket communication, enclosing the computer end VC++ program source code, need to be compiled in VC6 environment and generate EXE file before running, and also includes the technical documentation of the implementation process of the present instance.)

文件列表:
workspace\ControlPC\.classpath (364, 2011-12-26)
workspace\ControlPC\.project (845, 2011-12-26)
workspace\ControlPC\AndroidManifest.xml (1075, 2011-12-28)
workspace\ControlPC\bin\classes\gjz\ControlPC\ControlPCActivity$1.class (2313, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\ControlPCActivity$2.class (2042, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\ControlPCActivity$3.class (2044, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\ControlPCActivity$4.class (3681, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\ControlPCActivity$5.class (1298, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\ControlPCActivity$6.class (2285, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\ControlPCActivity$7.class (3223, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\ControlPCActivity$8.class (1554, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\ControlPCActivity.class (9730, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\mouseActivity$1.class (1365, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\mouseActivity$2.class (1155, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\mouseActivity$3.class (843, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\mouseActivity.class (7784, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\R$attr.class (325, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\R$drawable.class (423, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\R$id.class (1186, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\R$layout.class (415, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\R$string.class (412, 2012-01-17)
workspace\ControlPC\bin\classes\gjz\ControlPC\R.class (496, 2012-01-17)
workspace\ControlPC\bin\classes.dex (23020, 2011-12-30)
workspace\ControlPC\bin\ControlPC.apk (158709, 2011-12-30)
workspace\ControlPC\bin\res\drawable-hdpi\bg_chat.png (132683, 2011-12-30)
workspace\ControlPC\bin\res\drawable-hdpi\ic_launcher.png (3966, 2011-12-30)
workspace\ControlPC\bin\res\drawable-ldpi\ic_launcher.png (1537, 2011-12-30)
workspace\ControlPC\bin\res\drawable-mdpi\ic_launcher.png (2200, 2011-12-30)
workspace\ControlPC\bin\resources.ap_ (146794, 2011-12-30)
workspace\ControlPC\gen\gjz\ControlPC\R.java (2149, 2011-12-30)
workspace\ControlPC\proguard.cfg (1248, 2011-12-26)
workspace\ControlPC\project.properties (361, 2011-12-26)
workspace\ControlPC\res\drawable-hdpi\bg_chat.png (136049, 1980-01-01)
workspace\ControlPC\res\drawable-hdpi\ic_launcher.png (4147, 2011-12-26)
workspace\ControlPC\res\drawable-ldpi\ic_launcher.png (1723, 2011-12-26)
workspace\ControlPC\res\drawable-mdpi\ic_launcher.png (2574, 2011-12-26)
workspace\ControlPC\res\layout\main.xml (4552, 2011-12-30)
workspace\ControlPC\res\layout\mouse_layout.xml (2014, 2011-12-30)
workspace\ControlPC\res\values\strings.xml (184, 2011-12-26)
workspace\ControlPC\src\gjz\ControlPC\ControlPCActivity.java (14768, 2013-03-24)
... ...

======================================================================== 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.

近期下载者

相关文件


收藏者