作者[美]雷克托、[美]塞尔斯 著
出版社科学出版社
出版时间2003-05
版次1
装帧平装
上书时间2024-11-15
商品详情
- 品相描述:全新
图书标准信息
-
作者
[美]雷克托、[美]塞尔斯 著
-
出版社
科学出版社
-
出版时间
2003-05
-
版次
1
-
ISBN
9787030114075
-
定价
70.00元
-
装帧
平装
-
开本
16开
-
纸张
胶版纸
-
页数
635页
-
字数
780千字
-
正文语种
英语
-
丛书
UML与面向对象设计影印丛书
- 【内容简介】
-
ATL是一组小而灵活的类,可用于开发COM组件。本书对ATL的内部工作原理做了深入的剖析,详细介绍了关于ATL设计的基础知识和体系结构,展示了ATL如何与COM相匹配,并对一些重要的实施细节做了具体提示。在此基础上,对ATL的一些高级内容和功能做了充分的介绍。更为重要的是,本书还指出了ATL存在的一些缺陷,并告诉读者如何去避免。
本书具有一定的技术深度,适合有经验的COM和VC++程序员阅读。
BrentRectorisPresidentofWiseOwlConsulting,Inc.,aformthatspecializesinWindows/COMdevelopmentandconsulting.HealsoteachesclassesonCOM,ATL,andMTSforDevelpMentor,aleadingCOMeducationfirm.HispreviousbooksincludeWin32Programming,Developingwindows3ApplicationswithMicrosoftSDK,andDevelopingWindows3.1ApplicationswithMicrosoftC/C++.HereceivedtheMicrosoftAnnualMVPawardforhiscontributionstoCompuServesWindowsforums.
ChrisSellsWorksasanindependentconsultantspecializingindesignanddevelopmentusingCOM.HeisalsoaCOMC++,andATLinstructorforDevelopMentor,whereheauthoredtheEssentialATLfive-dayshorcourse.HispreviousbooksincludeEffectiveCOMandWindowsTelephonyProgramming.HeisacontributortotheVisualC++DevelopersJournalandtheVisualC++Professionalnewsletter,andafrequentspeakeratconferences,includingSoftwareDevelopment,WinDev,andtheVisualC++DevelopersConference.
- 【目录】
-
Foreword
Preface
Chapter1Hello,ATL
WhatIsATL?
CreatingaCOMServer
InsertingaCOMClass
AddingPropertiesandMethods
ImplementingAdditionalInterfaces
SupportforScripting
AddingPersistence
AddingandFiringEvents
UsingaWindow
ImplementingComponentCategories
AddingaUserInterface
HostingaControl
Summary
Chapter2ATLSmartTypes:Strings,BSTRs,VARIANTs,andInterfacePointers
StringdataTypes,ConversionMacros,andHelperFunctions
TheCComBSTRSmartBSTRClass
TheCComBSTRClass
TheComVariantSmartVARIANTClass
TheCComPtr,CComQIPtr,andCcomDispatchDriverSmartPointerClasses
Summary
Chapter3ObjectsinATL
Recall:COMApartments
ImplementingIUnknown
TheLayersofATL
ThreadingModelSupport
TheCoreofIUnknown
YourClass
CComObjectetal.
ATLCreators
Debugging
Summary
Chapter4COMServers
AReviewofCOMServers
TheObjectMapandtheCComModuleClass
TheObjectMap
MethodsRequiredofanObjectMapClass
TheCComModule
CComCoClassRevisited
ServerOptimizationCompilationOptions
Summary
Chapter5InterfaceMaps
Recall:COMIdentity
Table-DrivenQueryInterface
MultipleInterfaces
Aggregation:TheControllingOuter
InterfaceMapTricks
Summary
Chapter6PersistenceinATL
AReviewofCOMPersistence
ATLPersistenceImplementationClasses
ThePropertyMap
ThePersistenceImplementations
AdditionalPersistenceImplementations
AddingMarshal-by-ValueSemanticsUsingPersistence
Summary
Chapter7CollectionsandEnumerators
COMCollectionsandEnumeratorsInterface
EnumeratingArrays
EnumeratingSTLCollections
Collections
STLCollectionsofATLDataTypes
SimpleCollections
ObjectModels
Summary
Chapter8ConnectionPoints
AReviewofConnectionPoints
CreatinganATL-BasedConnectableObject
CreatinganObjectThatIsanEventRecipient
HowItAllWorks:TheMessyImplementationDetails
Summary
Chapter9Windowing
TheStructureofaWindowsApplication
CWindow
CWindowImpl
CDialogImpl
WindowsControlWrappers
CContainedWindow
Summary
Chapter10ActiveXControls
AReviewofActiveXControls
TheBullsEyeControlRequirements
CreatingtheInitialControlUsingtheATLWizard
TheInitialBullsEyeSourceFiles
DevelopingtheBullsEyeControlStepbyStep
Summary
Chapter11ControlContainment
HowControlsAreContained
BasicControlContainment
HostingaControlinDialog
CompositeControls
HTMLControls
ATLsControlContainmentLimitations
Summary
AppendixAC++TemplatesbyExample
TheNeedforTemplates
TemplateBasics
ADifferentKindofPolymorphism
FunctionTemplates
MemberFunctionTemplates
Summary
AppendixBATLClassesandHeaders
Index
点击展开
点击收起
— 没有更多了 —
以下为对购买帮助不大的评价