原创 Base64 Encode/Decode Class C++ SourceCode - Base64編碼/解碼 類 C++ 源碼
Base64 Encode/Decode Class C++ SourceCode - Base64編碼/解碼 類 C++ 源碼 1、Base64.h // Base64.h: interface for the CBase64
原创 How to invoke active dll written by VB using VC - VC如何調用VB寫的Active Dll - 詳解
零、VB Dll:prjCOMWriteNTLog.clsMain 代碼,此程序只有一個Class Option Explicit Public Function WriteNTLog(ByVal strMsg As String)
原创 How to add ComboBox control to the ToolBar control in VC - 如何在VC中向ToolBar控件加入ComboBox控件
一、Create the Toolbar with ComboBox on dialog bool CPrjToolBarTestDlg::CreateToolBar() { CString str; CImageLis
原创 How to get the size of file in C++ - 在C++中如何獲取文件的大小
double CPrjGetFileSizeDlg::GetFileSize(CString strFileFullPathName,char & cUnit) { CFile cfile; DWORD dwSize; double
原创 PE(Portable Executable) File Format(Chinese) - PE(可移植的可執行文件) 文件格式說明(中文)
PE文件結構(PE文件簡介) [2008/3/27 15:56:00| By:perfecter] 1、 PE文件簡介 PE(Portable Executable,可移植的可執行文件)文件是指在Microsoft Windows95及其
原创 How to write event log(Event Viewer) using C++ - 用C++如何寫事件日誌(事件查看器)
//Defination static bool WriteEventLog(LPCTSTR szEventMsg,WORD wEventType = NULL,LPCTSTR szSourceName = ""); bool CPrj
原创 How to enumerate the system fonts in the combobox control using VC++ - 用VC++如何在ComboBox控件中枚舉系統字體
bool CPrjEnumFontInComboBoxDlg::EnumFontInComboBox() { EnumFontFamilies(GetWindowDC()->m_hDC, (LPCTSTR) NULL, (FONTE
原创 通過註冊表添加刪除系統服務
通過註冊表添加刪除系統服務 修改系統服務粗略的有幾種方法: 一、我的電腦-管理-服務和應用程序。 二、開始-設備-控制面板-管理工具-服務。 三、開始-運行 輸入 compmgmt.msc 。 四、直接在開始-運行 輸入 sc