摘要:
1、如果需要创建cab文件,首先需要cabarc或者makecab,它们随着cabinet sdk的安装就有了,cabinet sdk的下载地址是http://msdn.microsoft.com/workshop/management/cab/cabdl.asp。 cabarc可以创建、查看或者解出cab里面的文件,而makecab则只可以用来创建cab文件。 2、制作cab文件时需要将所有的......
摘要:
#include <iostream>#include <windows.h>#include <cstring>
using namespace std;
void listfile(char* szdir){ char sztempdir[max_path+1]; strcpy(sztempdir,szdir); strcat(sztempdir,"*......
BT原理收集---1
bt是通过web服务器来实现的,首先bt会通过分析 torrent 来得到下面一串网址
http://btfans.3322.org:6969/announce 是发布服务器的地址 【程序编程相关:com可连接对象的实现】
http://btfans.3322.org:6969/announce?info_hash=%cdg%d4%19%ad%96%9d%93%03%db%e4%ffxa%c6%5d%043%17o&peer_id=%00%00%00%00%00%00%00%00%00%00%00%00%a3e%e0%9beb%90d&port=6882&uploaded=0&downloaded=0&left=19171922&event=started 【推荐阅读:
MFC:thunk技术实现窗口类的封装】...
下一页 摘要:
诸如copyfileex
这样的函数在使用的时候可能会碰到明明是包含在头文件里的函数但编译不过去,显示如下:
error c2065: copyfileex : undeclared identifiererror c2065: copy_file_restartable : undeclared identifier
解决方法如下:
for example, to use the fe......