原创 Hydrax參數配置說明

注意: Hydrax update 需要放到frameStarted 函數中,否則會出現刷新不及時的問題。 Normal mode 應採用 NM_

原创 無法“安全刪除硬件”

重新加載桌面即可! 任務管理器結束explorer.exe,再在“運行”中重新調出桌面,現在就可以“安全刪除硬件”了。

原创 QT實例:從QListWidget中刪除選中的QListWidgetItem

從QListWidget中刪除選中的QListWidgetItem   QList<QListWidgetItem*> list = ListWidget->selectedItems(); if(list.size() == 0

原创 VC常用函數

獲取工作路徑的函數: GetCurrentDirectory     The   GetCurrentDirectory   function   retrieves   the   current   directory   for  

原创 TrojanHorse 基本功能

1,自我複製.2,修改註冊表自動運行.3,關閉進程.4,啓動程序.5,重啓關機功能.   #include <tlhelp32.h> class CTrojanHorse { public://add code publ

原创 常見編譯錯誤

fatal error LNK1120         沒有實現聲明的函數或者使用外部變量但沒有定義 fatal error LINK2001        找不到函數實現   Warning C4251               由於

原创 Error inserting new pass entry into PassGroupRenderableMap

  主要原因是程序中存在多個 SceneManager ,導致渲染混亂。   點贊 收藏 分享 文章舉報 longuby 發佈了37 篇原創文章 · 獲贊 2 · 訪問量 9萬

原创 Ogitor 編譯遇到的問題

  QT編譯 打開 “Visual Studio 命令提示”. 在“Visual Studio 命令提示”下定位到程序目錄運行:configure -platform win32-msvc2008 -nomake demos -nomak

原创 創建dump文件方法

The actual implementation is straightforward. The following is a simple example of how to use MiniDumpWriteDump. #incl

原创 MyGui3.0中文顯示問題

更改資源文件core_font.xml 在文件中添加 <Resource type="ResourceTrueTypeFont" name="Default">    /// 這裏是設置爲默認字體  <Property key="Sour

原创 QString中文顯示問題

方法一:   QTextCodec* gbk_codec = QTextCodec::codecForName("GBK");   QString gbk_string = gbk_codec->toUnicode(name.data()

原创 快樂-腦筋急轉彎

爲什麼大三的女生都很富有啊?   答:女大三抱金磚    2.某女體臭無人能忍,故雖貌如西施卻無人敢追。然一日路經教堂,傷感之下入之祈禱。片刻一物墜地,乃一長釘!問,何故?      答:耶穌騰出一隻手來捂鼻子    3.一條小河中有20

原创 release版本拋出異常 Current active device is NULL 原因

原因是 frameStarted 或 frameEnded中未加 if (isWindowClose()) return false;

原创 C++中的const和mutable

 C++中const所修飾的函數只能是類的成員函數,因爲const所修飾的函數中,要由編譯器負責保護類的成員變量不被修改。而相對的,mutable則是用來修飾類的成員變量,讓該變量在const所修飾的成員函數中可以被修改。而且const修

原创 關閉vs2005 Update Intellisense

There is a undocumented way to disable C++ Intellisense:Rename or delete the following <VS root path>/VC/vcpackages/fea