desforaspimpl.h
来自「一个使用ACTIVX做的DES算法控件,可以使你在INTERNEN传输自己密钥加」· C头文件 代码 · 共 56 行
H
56 行
// DESFORASPIMPL.H : Declaration of the TDesForAspImpl
#ifndef DesForAspImplH
#define DesForAspImplH
#define ATL_APARTMENT_THREADED
#include "ActivXOfDes_TLB.H"
/////////////////////////////////////////////////////////////////////////////
// TDesForAspImpl Implements IDesForAsp, default interface of DesForAsp
// ThreadingModel : Apartment
// Dual Interface : TRUE
// Event Support : FALSE
// Default ProgID : ActivXOfDes.DesForAsp
// Description :
/////////////////////////////////////////////////////////////////////////////
class ATL_NO_VTABLE TDesForAspImpl :
public CComObjectRootEx<CComSingleThreadModel>,
public CComCoClass<TDesForAspImpl, &CLSID_DesForAsp>,
public IDispatchImpl<IDesForAsp, &IID_IDesForAsp, &LIBID_ActivXOfDes>
{
public:
TDesForAspImpl()
{
}
// Data used when registering Object
//
DECLARE_THREADING_MODEL(otApartment);
DECLARE_PROGID("ActivXOfDes.DesForAsp");
DECLARE_DESCRIPTION("");
// Function invoked to (un)register object
//
static HRESULT WINAPI UpdateRegistry(BOOL bRegister)
{
TTypedComServerRegistrarT<TDesForAspImpl>
regObj(GetObjectCLSID(), GetProgID(), GetDescription());
return regObj.UpdateRegistry(bRegister);
}
BEGIN_COM_MAP(TDesForAspImpl)
COM_INTERFACE_ENTRY(IDesForAsp)
COM_INTERFACE_ENTRY2(IDispatch, IDesForAsp)
END_COM_MAP()
// IDesForAsp
public:
};
#endif //DesForAspImplH
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?