编译官方eMule v0.49攻略
admin | eMule | 2013-05-16
备注:编译环境Microsoft Visual C++ .NET 7.1,编译版本为官方eMule v0.49版本,非国内VeryCD版本。
一:下载源代码和支持库 1.下载eMule v0.49 源代码
http://prdownloads.sourceforge.net/emule/eMule0.49c-Sources.zip 2.Crypto v5.1 http://www.cryptopp.com/crypto51.zip 3.zlib v1.2.3
http://www.zlib.net/zlib-1.2.3.tar.gz 4.ResizableLib 1.... [阅读全文]
电驴代码编译
admin | eMule | 2013-05-16
本文主要讲解下怎么编译电驴,希望有基础的朋友看看,如何编译 eMule v0.46b.
先下载下面4个库:
Crypto++5.2.1 http://www.eskimo.com/~weidai/cryptopp521.zip
zlib122.zip http://www.zlib.net/zlib122.zip
ResizableLib1.3 http://PRdownloads.sourceforge.net/resizab…_3.zip?download
lpng128 http://download.sourceforge.net/libpng/lpng128.zip... [阅读全文]
How can I insert a checkbox into the header of my view?
admin | Qt Gui | 2013-05-16
C++
//class MyHeader : public QHeaderView
//myheader.h
#ifndef MYHEADER_H
#define MYHEADER_H
#include
#include
//enum{CHECKBOX_ON,CHECKBOX_NOCHANGE,CHECKBOX_OFF};
class MyHeader : public QHeaderView
{
Q_OBJECT
public:
MyHeader(Qt::Orientation orientation,QWidget *parent);
~MyH... [阅读全文]
百度翻译API – PHP实现
admin | Php | 2013-05-16
原来跟大家分享过百度应用引擎BAE的体验,这几天纠结iOS课题项目,想了几天,后来决定做个掌上翻译的应用,调用某某翻译API来实现,至于什么翻译后来定为百度翻译,原因有以下几点:
天朝百度是老大
百度官方对翻译API的说明很详细
有Get和Post两种方式可用,Get最大2k字符限制,Post最大5k,返回标准Json格式
当时想到过另外... [阅读全文]
(翻译)设计Qt风格的C++的应用程序接口
admin | C++ | 2013-05-16
翻译这篇文章的目的不是让人了解Qt,而是让人试着学习点C++编程的软技能。我从原文中得到的一些风格上的体会,也希望你能从中有所收获.(译者注)
我们在Trolltech做了大量研究来改进Qt开发体验.在这篇文章中,我将分享我们的一些成果,呈现我们在进行Qt 4设计时所使遵循的原现,并向你展示如何将它们应用到你的代码中.
优秀API的六个特性
方便性陷阱
布... [阅读全文]
win7如何清理系统盘,比装机更少
admin | bat | 2013-05-15
总结下自己的方法,我的29.3G的系统盘(C盘),装机后18.7G,没装任何软件,经过整理后,现在恢复到了21.2G,第一次有个别没按上边儿的来,恢复到了20.7G(是否对你适用,自己体验,删错文件不负责哦,我的反正没事儿) 工具(工具?): 1、360安全卫士(主要是清理垃圾和C盘转移两项) 2、注册表(这个你最好行动前备份下,出现系统问题,可以尽快恢... [阅读全文]
How to set text on “another” win32 application
admin | 屏幕取词 | 2013-05-15
I am using spy++ and see that the control I have has the decimal that matches the hex(after conversion of course) in spy++ and I see the parent window matches as well so I have the IntPtr for a Label and IntPtr for the form/window but my SendMessage is not working to change the text in the target application.
Another approach... [阅读全文]
如何实现 Windows 本地域名劫持
admin | C++ | 2013-05-15
1、Open C:\windows\system32\drivers\etc\hosts using notepad
2、Append 74.125.128.102 www.baidu.com
3、OK
4、Open http://www.baidu.com
5、You will see google.com is opened
[阅读全文]
How to get the password text in a text with password property from another process using C++ – 用C++如何从不同进程获取密码框文本
admin | 屏幕取词 | 2013-05-15
C++
CString str;
CString strTemp;
char buf[1024];
char cClassName[1024];
LONG lWndID;
CString strText;
::GetClassName(hwnd,(LPSTR)&cClassName,1024);
strTemp.Format("%s",cClassName);
if("Edit" == strTemp)
{
LONG lngWndStype;
lngWndStype = GetWindowLong(hwnd,GWL_STYLE);
if(lng... [阅读全文]
How can I get the text of another process’ window?
admin | 屏幕取词 | 2013-05-15
As you’ve probably found out by now, calling GetWindowText() won’t work most of the time. The reason for this is that GetWindowText() won’t do the necessary translation between the address spaces of the two processes. This is required because address that the calling process passes to GetWindowText() in the ... [阅读全文]