VS 2010编译Gh0st 3.6

littlesu | 开发问题 | 2013-01-15
  用Vs编译Gh0st修改的工作量还是挺大的,毕竟从VC6.0移植到VS2010平台,已经是一个很大的跨越了,VS2010相对于VC6.0也改进了不止一点了。Gh0st3.6使用了第三方界面库CJ60Lib,目前这个库只支持到VC6.0,而其后的版本已经商业化,所以使用VS2010编译Gh0st的时候,需要重新编译CJ60Lib。VS2010的自带安装的Windows SDK已经到了7.1版,也不需... [阅读全文]
ė10,076 浏览数 6没有评论 0

qt 获取 MD5

littlesu | 开发经验 | 2013-01-15
C++ QFile QString Hashes::MD5(QFile *fileStream) { QString md5; QByteArray hashData = QCryptographicHash::hash(fileStream->readAll(), QCryptographicHash::Md5); md5.append(hashData.toHex()); fileStream->close(); return md5; } 1. #in... [阅读全文]
ė4,177 浏览数 6没有评论 0

Qt 程序里播放 flash

littlesu | 开发经验 | 2013-01-15
C++ #include <QtGui> #include <QAxWidget> /** * 此方法仅限于Windows */ int main(int argc, char *argv[]) { QApplication a(argc, argv); QAxWidget *flash = new QAxWidget(0,0); flash->resize(1000,700); flash->setControl(QString::fromUtf8(&qu... [阅读全文]
ė4,597 浏览数 6没有评论 0

创建 GUID

littlesu | Qt Gui | 2013-01-15
C++ #include <QUuid> QUuid().createUuid ().toString(); QUuid().createUuid ().toString().toUpper().remove(QChar('-'), Qt::CaseSensitive); QUuid().createUuid ().toString().toUpper().remove(QChar('-'), Qt::CaseSensitive).remove(QChar('{&#03... [阅读全文]
ė4,219 浏览数 6没有评论 0

qt 设置日志

littlesu | 开发经验 | 2013-01-15
C++ #include <QtCore/QCoreApplication> #include <QtDebug> #include <QFile> #include <QTextStream> void customMessageHandler(QtMsgType type, const char *msg) { QString txt; switch (type) { //调试信息提示 case QtDebugMsg: ... [阅读全文]
ė4,123 浏览数 6没有评论 0

vs2003 调试器失效的解决方法

littlesu | 开发问题 | 2013-01-15
某日打开VS2003调试程序,突然遇到一个错误提示: The debugger is not properly installed, run setup to install or repair the debugger 经分析,记得是360安全卫士把mdm关掉了。   重装偶所不欲也,想别的办法解决。 经试验,可以按如下办法解决: C:/Program Files/Common Files/Microsoft Shared/VS7DEBUG>mdm.exe /... [阅读全文]
ė5,207 浏览数 6没有评论 0

multiple keyboard shortcuts

littlesu | 开发经验 | 2013-01-15
C++ ui.actionProperties->setShortcuts(QList<QKeySequence>() << QKeySequence(QString("Alt+Return")) << QKeySequence(QString("Alt+Enter"))); 12 ui.actionProperties->setShortcuts... [阅读全文]
ė3,542 浏览数 6没有评论 0

枚举 杀死进程

littlesu | 开发经验 | 2013-01-15
C++ void CKillProcessDlg::OnBnClickedOk() { // TODO: Add your control notification handler code here CString processName; m_processName.GetWindowText(processName); CString strMsg; strMsg += "一共杀死进程"; strMsg += processName; CString str; str.Format( "%d 个&quo... [阅读全文]
ė2,989 浏览数 6没有评论 0

qt window 文件名去掉不合法字符

littlesu | 开发经验 | 2013-01-15
C++ QString name(fileName); name = name.replace(QRegExp("[/*?:<>|"\]"), ""); 12 QString name(fileName);name = name.replace(QRegExp("[/*?:<>|"\]"), ""... [阅读全文]
ė3,205 浏览数 6没有评论 0

vs 2005 qt下编译 MYsql 驱动

littlesu | 开发经验 | 2013-01-15
C++ 不能完全相信网上的帖子。。。 第一步安装mysql ,安装时选择完整安装,否则不会安装include和lib 第二步复制mysql 下的include和lib文件夹到 c:MysqlDrive下 第三步在dos下运行C:Program FilesMicrosoft Visual Studio 8Common7Toolsvsvars32.bat 第四步 vs2005命令行 cd C:Qt4.6.4srcpluginssqldriversmysql【命令行... [阅读全文]
ė2,928 浏览数 6没有评论 0

Ɣ回顶部

无觅相关文章插件,快速提升流量