========================================================================
MICROSOFT FOUNDATION CLASS LIBRARY : testBT
========================================================================
AppWizard has created this testBT application for you. This application
not only demonstrates the basics of using the Microsoft Foundation classes
but is also a starting point for writing your application.
This file contains a summary of what you will find in each of the files that
make up your testBT application.
testBT.dsp
This file (the project file) contains information at the project level and
is used to build a single project or subproject. Other users can share the
project (.dsp) file, but they should export the makefiles locally.
testBT.h
This is the main header file for the application. It includes other
project specific headers (including Resource.h) and declares the
CTestBTApp application class.
testBT.cpp
This is the main application source file that contains the application
class CTestBTApp.
testBT.rc
This is a listing of all of the Microsoft Windows resources that the
program uses. It includes the icons, bitmaps, and cursors that are stored
in the RES subdirectory. This file can be directly edited in Microsoft
Visual C++.
testBT.clw
This file contains information used by ClassWizard to edit existing
classes or add new classes. ClassWizard also uses this file to store
information needed to create and edit message maps and dialog data
maps and to create prototype member functions.
res\testBT.ico
This is an icon file, which is used as the application's icon. This
icon is included by the main resource file testBT.rc.
res\testBT.rc2
This file contains resources that are not edited by Microsoft
Visual C++. You should place all resources not editable by
the resource editor in this file.
/////////////////////////////////////////////////////////////////////////////
For the main frame window:
MainFrm.h, MainFrm.cpp
These files contain the frame class CMainFrame, which is derived from
CFrameWnd and controls all SDI frame features.
res\Toolbar.bmp
This bitmap file is used to create tiled images for the toolbar.
The initial toolbar and status bar are constructed in the CMainFrame
class. Edit this toolbar bitmap using the resource editor, and
update the IDR_MAINFRAME TOOLBAR array in testBT.rc to add
toolbar buttons.
/////////////////////////////////////////////////////////////////////////////
AppWizard creates one document type and one view:
testBTDoc.h, testBTDoc.cpp - the document
These files contain your CTestBTDoc class. Edit these files to
add your special document data and to implement file saving and loading
(via CTestBTDoc::Serialize).
testBTView.h, testBTView.cpp - the view of the document
These files contain your CTestBTView class.
CTestBTView objects are used to view CTestBTDoc objects.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named testBT.pch and a precompiled types file named StdAfx.obj.
Resource.h
This is the standard header file, which defines new resource IDs.
Microsoft Visual C++ reads and updates this file.
/////////////////////////////////////////////////////////////////////////////
Other notes:
AppWizard uses "TODO:" to indicate parts of the source code you
should add to or customize.
If your application uses MFC in a shared DLL, and your application is
in a language other than the operating system's current language, you
will need to copy the corresponding localized resources MFC42XXX.DLL
from the Microsoft Visual C++ CD-ROM onto the system or system32 directory,
and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation.
For example, MFC42DEU.DLL contains resources translated to German.) If you
don't do this, some of the UI elements of your application will remain in the
language of the operating system.
/////////////////////////////////////////////////////////////////////////////
Makemetafile -- comment, trackerid.
options -- add to database.
pause.
filesize > 2G long can't hold.
cpu too busy.
memory leak:
{,,msvcrtd.dll} _crtBreakAlloc = 210
{,,msvcrtd.dll}_crtBreakAlloc = 21490
void CRerequester::AnnounceEx(long lEvent)
注册表没有纪录时,删除filedb文件。应该重用。
settitle();
tooltip.
makefile sort();
ondownloadterminated() error. should refresh bad.
register list column width.
set systemtray text.
new download should show category and other infomation.
category wnd 显示为“最近文件列表“。
reject by tracker, should stop and setbad.
makemetafile too busy.
find files.
testBT\n\nTestBT\nTestbt Files (*torrent)\n.torrent\nTestBT.Document\nTestBT Document
上传速度控制。
采用c++编写的(BitTorrent)客户端下载工具。速度更快,资源占用更少,支持同时多个下载同时进行,使用方便快
捷。文件管理功能强大。可以创建不限数目的类别,每个类别指定单独的文件目录,不同的类别保存到不同的目录中去,强大的管理功能包括支持拖拽,更名,添加描述,查找,文件名重复时可自动重命名等等。而且下载前后均可轻易管理文件。
单个文件上传、下载。
总上传下载速度。
状态兰。
日志详细。
make endgame.
加载文件时,显示加载torrent进度条。
定时关闭任务,任务不转移。
任务的特殊设置:最小最大连接,定时。
停止时候,如果完成,停止监听。
自动生成mp3,movie等类别。
排序箭头反了。
不支持部分下在的,从头分配hole.
数据库文件最近列表.
暂停后信息不对.
统计已经上船了多少。
发布url管理功能。
listctrl column size not record when hide someone.
infolist 特殊设置,显示上载速度和下载速度用的参数不对。
更改选择文件有错误。小鱼儿。
makeendgame 切换endgame状态时没有清楚已发出请求。
启动时,自动转到下在类别。
下载错误时,停止时间延迟.
cfiledialog
上传文件控制。
制作种子文件。
检查过程中设置文件范围无效。
修改时间导致剩余时间错误。
没有合适的资源?快使用搜索试试~ 我知道了~
基于P2P技术的BT源代码
共217个文件
h:93个
cpp:92个
bmp:16个
5星 · 超过95%的资源 需积分: 9 160 下载量 146 浏览量
2010-08-26
21:06:57
上传
评论 4
收藏 566KB RAR 举报
温馨提示
全套BT源代码,C++编写,完全实现BT的功能,并且经过了大量和长期的实际应用。是可以提供正常商业服务的基础P2P文件共享软件。从开发到现在已经稳定测试2年以上,性能非常稳定。
资源推荐
资源详情
资源评论
收起资源包目录
基于P2P技术的BT源代码 (217个子文件)
toolbarbt.bmp 26KB
toolbarbt_disable.bmp 24KB
list.bmp 15KB
menu_bmp.bmp 8KB
menu_bmp_disabled.bmp 8KB
revbar_bk.bmp 6KB
dlg_icons.bmp 5KB
bmp00002.bmp 4KB
SystemMsg.bmp 4KB
list_Peer.bmp 4KB
category.bmp 4KB
toolbar1.bmp 2KB
header_arrow.bmp 2KB
imagelis.bmp 2KB
Toolbar.bmp 1KB
bitmap1.bmp 278B
testBT.clw 24KB
StorageWrapper.cpp 45KB
FilesListCtrl.cpp 43KB
sizecbar.cpp 33KB
ToolBarEx.cpp 31KB
CategoryBarWnd.cpp 24KB
Download.cpp 24KB
PeersListCtrl.cpp 24KB
MenuSpawn.cpp 23KB
MainFrm.cpp 22KB
CategoryFileDB.cpp 22KB
SingleDownload.cpp 19KB
CategoryDownload.cpp 18KB
PeerInfo.cpp 18KB
SubFilesWnd.cpp 17KB
DlgNewDownload.cpp 16KB
MonitorDetailWnd.cpp 16KB
DownloaderFeedback.cpp 15KB
DlgRunParameters.cpp 15KB
InfomationList.cpp 14KB
HyperLink.cpp 14KB
testBTDoc.cpp 14KB
Rerequester.cpp 14KB
Storage.cpp 14KB
SetupRegister.cpp 13KB
FileBase.cpp 13KB
ListCtrlBaseEx.cpp 12KB
FileTorrent.cpp 12KB
DkToolBar.cpp 12KB
EncryptedConnection.cpp 12KB
sinstance.cpp 11KB
MakeMetaFile.cpp 11KB
MonitorWnd.cpp 11KB
GraphWnd.cpp 11KB
DlgAdvancedPage.cpp 10KB
testBT.cpp 10KB
DragWnd.cpp 10KB
Connector.cpp 10KB
ListCtrlBase.cpp 9KB
SplitterBar.cpp 9KB
HistoryComboEx.cpp 9KB
DlgMakeMetafile.cpp 9KB
FileDB.cpp 8KB
DlgAfxMessage.cpp 8KB
LogList.cpp 8KB
Encrypter.cpp 8KB
ButtonEx.cpp 7KB
Sha.cpp 7KB
DlgSystemPage.cpp 7KB
DlgDownloadSetup.cpp 7KB
CategoryNewDlg.cpp 7KB
memstream.cpp 6KB
RawServer.cpp 6KB
FileAssociation.cpp 6KB
DlgSetup.cpp 6KB
Connection.cpp 6KB
PiecePicker.cpp 5KB
testBTView.cpp 5KB
BTFormat.cpp 5KB
Upload.cpp 5KB
MonitorSpeedbase.cpp 5KB
Choker.cpp 5KB
ScrollWndbase.cpp 5KB
Bdecode.cpp 5KB
SystemTray.cpp 4KB
DownloadEngine.cpp 4KB
IPLocater.cpp 4KB
ExpandingDialog.cpp 4KB
CategoryCombobox.cpp 4KB
MonitorSpeedWnd.cpp 4KB
DlgOptions.cpp 4KB
Val.cpp 4KB
DlgSetupStatusWnd.cpp 3KB
GraphHaveData.cpp 3KB
ToolTipHeaderCtrl.cpp 3KB
Downloader.cpp 3KB
CategoryPropertyDlg.cpp 3KB
DlgDeleteFileDBItem.cpp 3KB
ctrlext.cpp 3KB
SortClass.cpp 3KB
ListenServer.cpp 2KB
RateMeasure.cpp 2KB
GroupboxEx.cpp 2KB
DlgFindConditions.cpp 2KB
共 217 条
- 1
- 2
- 3
jlnyoyo
- 粉丝: 3
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
前往页