- 博客(6)
- 收藏
- 关注
转载 LUA调用 Dll 添加收藏夹操作!!!IE Chrome
// AddFavorate.cpp : Defines the exported functions for the DLL application.//#include "stdafx.h"#include "atlbase.h"#include <iostream>#include <fstream>#include <...
2016-01-28 18:40:00
110
转载 C++ 写文件
int WriteFile(char* ljx,char *url,char* icon,char* name) //写文件操作;{ FILE *stream; char lj[128]={}; char l1[256] = "[{000214A0-0000-0000-C000-000000000046}]\r\nProp3=19,11\r\n[I...
2016-01-28 18:35:00
200
转载 注册表查询取值!!!
1 char* read_reg_sz()//读取操作表,其类型为REG_SZ 2 { 3 HKEY hkey; 4 LPCTSTR data_set = _T("\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders"); //\Software\Microsoft...
2016-01-28 18:34:00
167
转载 Unicode 转码 Ansi ,用于读取注册表后的值转换
1 char* UnicodeToAnsi(TCHAR* wstr) //转换字符编码 2 { 3 if( !wstr ) 4 return NULL; 5 6 int strlen = ::WideCharToMultiByte(CP_ACP, NULL, wstr, wcslen(wstr), NULL, 0, NU...
2016-01-28 18:32:00
145
转载 编写一个简单的C++供Lua调用的计时器
//-----------------------------------------Timer------------------------------------#include "stdafx.h"#include "windows.h"#include <iostream>#include <fstream>#include &l...
2016-01-22 15:46:00
170
转载 C++ Lua 交互练习!!!!!!!!
// text.cpp : Defines the entry point for the console application.//#include <iostream>#include <fstream>#include <string>using namespace std; extern "C"{ ...
2016-01-20 17:04:00
93
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人