• 大小: 2.26MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-10-27
  • 语言: 其他
  • 标签:

资源简介

这是一个可以用Socket技术下载网页的工具

资源截图

代码片段和文件信息

// connectApn.cpp : Defines the class behaviors for the application.
//

#include “stdafx.h“
#include “connectApn.h“
#include “connectApnDlg.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CConnectApnApp

BEGIN_MESSAGE_MAP(CConnectApnApp CWinApp)
//{{AFX_MSG_MAP(CConnectApnApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
//    DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CConnectApnApp construction

CConnectApnApp::CConnectApnApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}

/////////////////////////////////////////////////////////////////////////////
// The one and only CConnectApnApp object

CConnectApnApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CConnectApnApp initialization

BOOL CConnectApnApp::InitInstance()
{
if (!AfxSocketInit())
{
AfxMessageBox(IDP_SOCKETS_INIT_FAILED);
return FALSE;
}

AfxEnableControlContainer();

// Standard initialization
// If you are not using these features and wish to reduce the size
//  of your final executable you should remove from the following
//  the specific initialization routines you do not need.

#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif

CConnectApnDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
//  dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
//  dismissed with Cancel
}

// Since the dialog has been closed return FALSE so that we exit the
//  application rather than start the application‘s message pump.
return FALSE;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件        1071  2002-05-09 17:04  connectApn\MySocket.cpp
     文件        7190  2002-05-10 18:51  connectApn\connectapn.log
     文件        1139  2002-05-10 18:51  connectApn\connectApn.plg
     文件       55808  2002-05-10 18:52  connectApn\connectApn.opt
     文件        6192  2002-05-09 19:09  connectApn\connectApn.rc
     文件        1287  2002-05-09 17:01  connectApn\MySocket.h
     文件        2102  2002-05-10 17:32  connectApn\connectApn.clw
     文件        3651  2002-05-09 15:40  connectApn\ReadMe.txt
     文件        1368  2002-05-09 15:40  connectApn\connectApn.h
     文件        2213  2002-05-09 15:40  connectApn\connectApn.cpp
     文件       50176  2002-05-10 18:52  connectApn\connectApn.ncb
     文件       36136  2002-05-09 19:09  connectApn\connectApn.aps
     文件        1102  2002-05-09 15:40  connectApn\StdAfx.h
     文件         212  2002-05-09 15:40  connectApn\StdAfx.cpp
     目录           0  2002-05-09 15:40  connectApn\res\
     文件         402  2002-05-09 15:40  connectApn\res\connectApn.rc2
     文件        1078  2002-05-09 15:40  connectApn\res\connectApn.ico
     文件        5502  2002-05-10 18:51  connectApn\connectApnDlg.cpp
     文件         543  2002-05-09 15:40  connectApn\connectApn.dsw
     目录           0  2002-05-09 15:40  connectApn\Debug\
     文件       31648  2002-05-10 18:51  connectApn\Debug\connectApnDlg.obj
     文件      237360  2002-05-10 18:51  connectApn\Debug\connectApn.ilk
     文件        2992  2002-05-09 19:10  connectApn\Debug\connectApn.res
     文件      205824  2002-05-10 18:51  connectApn\Debug\vc60.idb
     文件     5558008  2002-05-09 17:04  connectApn\Debug\connectApn.pch
     文件      364544  2002-05-10 18:51  connectApn\Debug\vc60.pdb
     文件      106449  2002-05-09 17:04  connectApn\Debug\StdAfx.obj
     文件        7262  2002-05-09 17:04  connectApn\Debug\MySocket.obj
     文件       14731  2002-05-09 17:04  connectApn\Debug\connectApn.obj
     文件      110652  2002-05-10 18:51  connectApn\Debug\connectApn.exe
     文件      386048  2002-05-10 18:51  connectApn\Debug\connectApn.pdb
............此处省略4个文件信息

评论

共有 条评论