移动代理服务器MAS短信API2.2开发手册及DEMO


移动代理服务器MAS短信API2.2开发手册及问题列表及DEMO,包括ASP,VB,JAVA,C/C++,PB,DELPHI,.NET等
资源截图
代码片段和文件信息
// DlgProxy.cpp : implementation file
//

#include “stdafx.h“
#include “VCDemo.h“
#include “DlgProxy.h“
#include “VCDemoDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
// CVCDemoDlgAutoProxy

IMPLEMENT_DYNCREATE(CVCDemoDlgAutoProxy CCmdTarget)

CVCDemoDlgAutoProxy::CVCDemoDlgAutoProxy()
{
EnableAutomation();

// To keep the application running as long as an automation 
// object is active the constructor calls AfxOleLockApp.
AfxOleLockApp();

// Get access to the dialog through the application‘s
//  main window pointer.  Set the proxy‘s internal pointer
//  to point to the dialog and set the dialog‘s back pointer to
//  this proxy.
ASSERT (AfxGetApp()->m_pMainWnd != NULL);
ASSERT_VALID (AfxGetApp()->m_pMainWnd);
ASSERT_KINDOF(CVCDemoDlg AfxGetApp()->m_pMainWnd);
m_pDialog = (CVCDemoDlg*) AfxGetApp()->m_pMainWnd;
m_pDialog->m_pAutoProxy = this;
}

CVCDemoDlgAutoProxy::~CVCDemoDlgAutoProxy()
{
// To terminate the application when all objects created with
//  with automation the destructor calls AfxOleUnlockApp.
//  Among other things this will destroy the main dialog
if (m_pDialog != NULL)
m_pDialog->m_pAutoProxy = NULL;
AfxOleUnlockApp();
}

void CVCDemoDlgAutoProxy::OnFinalRelease()
{
// When the last reference for an automation object is released
// OnFinalRelease is called.  The base class will automatically
// deletes the object.  Add additional cleanup required for your
// object before calling the base class.

CCmdTarget::OnFinalRelease();
}

BEGIN_MESSAGE_MAP(CVCDemoDlgAutoProxy CCmdTarget)
//{{AFX_MSG_MAP(CVCDemoDlgAutoProxy)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

BEGIN_DISPATCH_MAP(CVCDemoDlgAutoProxy CCmdTarget)
//{{AFX_DISPATCH_MAP(CVCDemoDlgAutoProxy)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_DISPATCH_MAP
END_DISPATCH_MAP()

// Note: we add support for IID_IVCDemo to support typesafe binding
//  from VBA.  This IID must match the GUID that is attached to the 
//  dispinterface in the .ODL file.

// {1CAF3AB5-0CB4-4396-AD3A-CAEC6E2D40A1}
static const IID IID_IVCDemo =
{ 0x1caf3ab5 0xcb4 0x4396 { 0xad 0x3a 0xca 0xec 0x6e 0x2d 0x40 0xa1 } };

BEGIN_INTERFACE_MAP(CVCDemoDlgAutoProxy CCmdTarget)
INTERFACE_PART(CVCDemoDlgAutoProxy IID_IVCDemo Dispatch)
END_INTERFACE_MAP()

// The IMPLEMENT_OLECREATE2 macro is defined in StdAfx.h of this project
// {D387088D-30DC-4107-9142-F5FAA3DCEEC0}
IMPLEMENT_OLECREATE2(CVCDemoDlgAutoProxy “VCDemo.Application“ 0xd387088d 0x30dc 0x4107 0x91 0x42 0xf5 0xfa 0xa3 0xdc 0xee 0xc0)

/////////////////////////////////////////////////////////////////////////////
// CVCDemoDlgAutoProxy message handlers

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件     387344  2007-11-22 17:12  ASPADVAPI32.DLL

     文件      74810  2007-11-22 17:12  ASPatl.dll

     文件       6558  2007-11-22 17:12  ASPdemodefault.htm

     文件       1549  2007-11-22 17:12  ASPdemoinit.asp

     文件        864  2007-11-22 17:12  ASPdemo
eceiveRPT.asp

     文件        860  2007-11-22 17:12  ASPdemo
eceiveSM.asp

     文件        455  2007-11-22 17:12  ASPdemo
elease.asp

     文件       1257  2007-11-22 17:12  ASPdemosendPDUSm.asp

     文件        999  2007-11-22 17:12  ASPdemosendSm.asp

     文件       1168  2007-11-22 17:12  ASPdemosendWapPushSM.asp

     文件     233744  2007-11-22 17:12  ASPGDI32.DLL

     文件     225332  2007-11-22 17:12  ASPImApi.dll

     文件        875  2007-11-22 17:12  ASPImApi的ActvicX控件说明.txt

     文件      57344  2007-11-22 17:12  ASPJASSON.dll

     文件     871696  2007-11-22 17:12  ASPKERNEL32.DLL

     文件     249856  2007-11-22 17:12  ASPlibmySQL.dll

     文件     286773  2007-11-22 17:12  ASPmsvcrt.dll

     文件     491792  2007-11-22 17:12  ASPNTDLL.DLL

     文件     996112  2007-11-22 17:12  ASPOLE32.DLL

     文件     626960  2007-11-22 17:12  ASPOLEAUT32.DLL

     文件     164112  2007-11-22 17:12  ASPOLEPRO32.DLL

     文件     454416  2007-11-22 17:12  ASP
pcrt4.dll

     文件     403216  2007-11-22 17:12  ASPUSER32.DLL

     文件      18192  2007-11-22 17:12  ASPws2help.dll

     文件      69904  2007-11-22 17:12  ASPws2_32.dll

     文件      27920  2007-11-22 17:12  ASPwsock32.dll

     文件     118827  2007-11-22 17:12  C&C++inDemoVC.exe

     文件     225322  2007-11-22 17:12  C&C++inImApi.dll

     文件       5503  2007-11-22 17:35  C&C++inImApi.h

     文件       4668  2007-11-22 17:12  C&C++inImApi.lib

............此处省略354个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)