龙盟编程博客 | 无障碍搜索 | 云盘搜索神器
快速搜索
主页 > 软件开发 > VC开发 >

Developing COM Components using VC-ATL(3-7)

时间:2009-12-30 15:42来源:未知 作者:admin 点击:
分享到:
最后让我们分析一下C:VCTestVCComProjDebugValidateCreditCardServer.tlh作为Developing COM Components using VC-ATL(3)的结尾吧。 ValidateCreditCardServer.tlh清单 // Created by Microsoft (R) C/C++ Compiler Version 12.00.8168.0 (

最后让我们分析一下C:VCTestVCComProjDebugValidateCreditCardServer.tlh作为Developing COM Components using VC-ATL(3)的结尾吧。

ValidateCreditCardServer.tlh清单

// Created by Microsoft (R) C/C++ Compiler Version 12.00.8168.0 (ad98f509).

//

// c:vctestvccomprojdebugValidateCreditCardServer.tlh

//

// C++ source equivalent of Win32 type library ..ValidateCreditCardServerDebugValidateCreditCardServer.dll

// compiler-generated file created 12/19/03 at 03:29:03 - DO NOT EDIT! 

#pragma once

#pragma pack(push, 8)

#include <comdef.h>

namespace VALIDATECREDITCARDSERVERLib {…………………………………..………名字空间 

//

// Forward references and typedefs

//

struct /* coclass */ ValidateCard;………………………………………………………………..….. 组件类

struct __declspec(uuid("b1d1c73c-e340-4fdc-8734-92ecec64dc4e"))

/* dual interface */ IValidateCard;………………………………………………….………………用户接口 

//

// Smart pointer typedef declarations

// 

_COM_SMARTPTR_TYPEDEF(IValidateCard, __uuidof(IValidateCard));………..………智能指针 

//

// Type library items

// 

struct __declspec(uuid("c79635d2-7b86-4b20-a83c-0565dca54c3c"))…………………组件类CLSID

ValidateCard;

    // [ default ] interface IValidateCard 

精彩图集

赞助商链接