摘要: // AddFavorate.cpp : Defines the exported functions for the DLL application. // #include "stdafx.h" #include "atlbase.h" #include <iostream> #include 阅读全文
posted @ 2016-01-28 18:40 Black丶Crow 阅读(598) 评论(0) 推荐(0) 编辑
摘要: int WriteFile(char* ljx,char *url,char* icon,char* name) //写文件操作; { FILE *stream; char lj[128]={}; char l1[256] = "[{000214A0-0000-0000-C000-000000000 阅读全文
posted @ 2016-01-28 18:35 Black丶Crow 阅读(904) 评论(0) 推荐(0) 编辑
摘要: 1 char* read_reg_sz()//读取操作表,其类型为REG_SZ 2 { 3 HKEY hkey; 4 LPCTSTR data_set = _T("\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folde 阅读全文
posted @ 2016-01-28 18:34 Black丶Crow 阅读(450) 评论(0) 推荐(0) 编辑
摘要: 1 char* UnicodeToAnsi(TCHAR* wstr) //转换字符编码 2 { 3 if( !wstr ) 4 return NULL; 5 6 int strlen = ::WideCharToMultiByte(CP_ACP, NULL, wstr, wcslen(wstr), 阅读全文
posted @ 2016-01-28 18:32 Black丶Crow 阅读(400) 评论(0) 推荐(0) 编辑