摘要:
BOOL IsFolderEmpty(string path) { string str = path + "\\*.*"; CFileFind ff; BOOL bFound; bFound = ff.FindFile(str.c_str()); while (bFound) { bFound = 阅读全文
摘要:
#include <windows.h> typedef BOOL(WINAPI* LPFN_ISWOW64PROCESS) (HANDLE, PBOOL); BOOL RegWriteString(HKEY hKey, string keyName, string keyValue, bool v 阅读全文
摘要:
/// <summary> /// 删除快捷方式 /// </summary> /// <param name="strName"></param> /// <returns></returns> BOOL DeleteDesktopShotCut(CString strName) { char P 阅读全文
摘要:
#include <windows.h> typedef BOOL(WINAPI* LPFN_ISWOW64PROCESS) (HANDLE, PBOOL); LPFN_ISWOW64PROCESS fnIsWow64Process = (LPFN_ISWOW64PROCESS)GetProcAdd 阅读全文