如何控制拨号网络(自动拨号,设置用户名、密码,取其状态等)? 这么好!为什么不自己用TAPI做一个呢 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 留个email,发给你.下面是部分程序:// AutoDial.cpp : implementation file//#include "stdafx.h"#include "AutoDialer.h"#include "AutoDial.h"#ifdef _DEBUG#define new DEBUG_NEW#undef THIS_FILEstatic char THIS_FILE[] = __FILE__;#endif/////////////////////////////////////////////////////////////////////////////// CAutoDial dialogchar m_szStatus[500];char m_szLastError[500];CAutoDial::CAutoDial(CWnd* pParent /*=NULL*/) : CDialog(CAutoDial::IDD, pParent){ //{{AFX_DATA_INIT(CAutoDial) // NOTE: the ClassWizard will add member initialization here //}}AFX_DATA_INIT m_szStatus[0] = 0; m_szLastError[0] = 0; m_bErrorFlag = FALSE; m_hRasConn = NULL; m_nErrorSeconds = 0;}void CAutoDial::DoDataExchange(CDataExchange* pDX){ CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CAutoDial) // NOTE: the ClassWizard will add DDX and DDV calls here //}}AFX_DATA_MAP} 留个email,发给你[email protected]下面是部分程序:// AutoDial.cpp : implementation file//#include "stdafx.h"#include "AutoDialer.h"#include "AutoDial.h"#ifdef _DEBUG#define new DEBUG_NEW#undef THIS_FILEstatic char THIS_FILE[] = __FILE__;#endif/////////////////////////////////////////////////////////////////////////////// CAutoDial dialogchar m_szStatus[500];char m_szLastError[500];CAutoDial::CAutoDial(CWnd* pParent /*=NULL*/) : CDialog(CAutoDial::IDD, pParent){ //{{AFX_DATA_INIT(CAutoDial) // NOTE: the ClassWizard will add member initialization here //}}AFX_DATA_INIT m_szStatus[0] = 0; m_szLastError[0] = 0; m_bErrorFlag = FALSE; m_hRasConn = NULL; m_nErrorSeconds = 0;}void CAutoDial::DoDataExchange(CDataExchange* pDX){ CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CAutoDial) // NOTE: the ClassWizard will add DDX and DDV calls here //}}AFX_DATA_MAP} VC处理Excel方法 关于加入多播组的一个问题 MFC中想让程序在进程里休眠,除了sleep还有别的方法么? DLL导出类的成员函数 如何实现类似comspy的功能?(使用内核驱动监控串口) 怎样获取对话框的句柄? 申请网络版版主,希望大家支持q^_^p ★★★★★ 实现自动筛选 ★★★★★ vc mfc byte数组转成cstring 怎么向系统发出一个PBT_APMRESUMESUSPEND 这样的消息 大家好,WM_LBUTTONDOWN和WM_LBUTTONDBLCLK之间的事情………… 两个问题,关于HBITMAP和SOCK_RAW,高人请进
下面是部分程序:
// AutoDial.cpp : implementation file
//#include "stdafx.h"
#include "AutoDialer.h"
#include "AutoDial.h"#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif/////////////////////////////////////////////////////////////////////////////
// CAutoDial dialogchar m_szStatus[500];
char m_szLastError[500];CAutoDial::CAutoDial(CWnd* pParent /*=NULL*/)
: CDialog(CAutoDial::IDD, pParent)
{
//{{AFX_DATA_INIT(CAutoDial)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT m_szStatus[0] = 0;
m_szLastError[0] = 0;
m_bErrorFlag = FALSE;
m_hRasConn = NULL;
m_nErrorSeconds = 0;}
void CAutoDial::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CAutoDial)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
下面是部分程序:
// AutoDial.cpp : implementation file
//#include "stdafx.h"
#include "AutoDialer.h"
#include "AutoDial.h"#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif/////////////////////////////////////////////////////////////////////////////
// CAutoDial dialogchar m_szStatus[500];
char m_szLastError[500];CAutoDial::CAutoDial(CWnd* pParent /*=NULL*/)
: CDialog(CAutoDial::IDD, pParent)
{
//{{AFX_DATA_INIT(CAutoDial)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT m_szStatus[0] = 0;
m_szLastError[0] = 0;
m_bErrorFlag = FALSE;
m_hRasConn = NULL;
m_nErrorSeconds = 0;}
void CAutoDial::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CAutoDial)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}