电子签章系统源代码

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

电子认证签章系统

源代码

2013年03月

/******************************* stdafx.h ***************************/

#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers

#include // MFC support for ActiveX Controls

#include // MFC extensions

#include // MFC support for Internet Explorer 4 Comon Controls

#ifndef _AFX_NO_AFXCMN_SUPPORT

#include // MFC support for Windows Common Controls

#endif // _AFX_NO_AFXCMN_SUPPORT

#include // MFC OLE classes

#include "Atlbase.h"

#define UNICODE

#ifndef ULONG_PTR

#define ULONG_PTR /*ULONG*/unsigned long*

#endif

#include "./gdiplus/include/Gdiplus.h"

using namespace Gdiplus;

#pragma comment (lib, "./gdiplus/lib/Gdiplus.lib")

// Delete the two includes below if you do not wish to use the MFC

// database classes

#include // MFC database classes

#include // MFC DAO database classes

#include

#import "msscript.ocx" no_namespace

//{{AFX_INSERT_LOCA TION}}

// Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif

// !defined(AFX_STDAFX_H__8B528134_029F_4E9C_98FD_E8F297244773__INCLUDED_) /*************************** stdafx.cpp*******************************/

#include "stdafx.h"

/********************************************************************HtmlSignatu reAddInCtl.cpp : Implementation of the CHtmlSignatureAddInCtrl ActiveX Control class.

*******************************************************************/

#include "stdafx.h"

#include "HtmlSignatureAddIn.h"

#include "HtmlSignatureAddInCtl.h"

#include "HtmlSignatureAddInPpg.h"

#include "resource.h"

#include "mshtml.h"

#include

#include ".\htmlsignatureaddinctl.h"

//数字证书部分头文件

#include

#include

#define MY_ENCODING_TYPE (PKCS_7_ASN_ENCODING | X509_ASN_ENCODING) //数字证书部分头文件

#ifdef _DEBUG

#define new DEBUG_NEW

#undef THIS_FILE

static char THIS_FILE[] = __FILE__;

#endif

#pragma comment( lib, "Msimg32.lib" )

IMPLEMENT_DYNCREATE(CHtmlSignatureAddInCtrl, COleControl)

/////////////////////////////////////////////////////////////////////////////

// Message map

BEGIN_MESSAGE_MAP(CHtmlSignatureAddInCtrl, COleControl)

// ON_WM_CONTEXTMENU()

//{{AFX_MSG_MAP(CHtmlSignatureAddInCtrl)

ON_COMMAND(ID_MENU_BRANDINFO, OnMenuBrandinfo)

相关文档
最新文档