Index_C

 < Free Open Study > 



C

C language, 4

C programming, 4-6

C++,

building connectable object in, 555-558

callback interface, 542

containment, 376

delegation, 376

implementing connection point container in, 559-560

language, 3

tear-off example, 362-366

using callback from, 545-546

using connectable object from, 561-562

callback,

scenario, 541

using from C++, 545-546

using from Visual Basic, 544-545

callback interfaces, 541

defining in C++, 542

callback mechanism, 541

developing in C++, 542-544

category ID, see CATID

category map, 425, 532

creating, 426-428

CATID, 423

predefined, 423-424

CAUUID structure, 667-668

CAxDialogImpl<>, 603, 605

CComAggObject<>, 419-420

CComBSTR, 266-269

CComClassFactory, 413

implementing, 413-415

CComClassFactory2<>, 678

CComCoClass<>, 252, 311-312, 411-412

CComControl<>, 655-656

CComControlBase<>, 657-658, 661

CComCreator<>, 419-420

CComCreator2<>, 419-420

CComEnum<>, 514, 518

CComEnumImpl<>, 515

CComIEnum<>, 514-516

CComModule, 241

default, 401-402

functionality, 399-402

CComModule object, creating, 399-400

CComMultiThreadModel, 300-301

CComObject<>, 251, 304, 312-314, 419-420

CComObject<> templates, 303-304

CComObjectRootBase, 251, 306-310

CComObjectRootEx<>, 251, 310-311

CComSingleThreadModel, 298-299

CComTypeInfoHolder, 490-492

CComVariant, 460

CDialogImpl<>, 603, 605

CFrameWinTraits, 593

class, 11-12, 15, 263

defining inner, 340-341

implementing inner, 341-342

implementing outer, 342

owner, 363

tear-off, 363

class factories, 111

building, 112-113

creating, 401, 417-418

implementing, 113-115

registering, 203-204

singleton, 416-417

class keyword, 47

class methods, implementing, 17-18

class objects, 111-112

exporting, 115-116

revoking, 203

class relationships, 22

Has-A, 25

Is-A, 22-23

classes, nested, 48, 339-340

classical inheritance, 22-23

classical polymorphism, 27

client, 52, 72

client/server communication, 212

Clone(), 508

CLSCTX enumeration, 130

CLSID key, 120

CLSID subkeys, 120-121

CMessageMap, 599-600

CMessageMap class, 590

coclass, 52, 83

accessing, 131

extending, 493-494

supporting dual interfaces on, 475-476

coclass keyword, 150

coclasses,

creating in Java, 165-166

creating in VB, 161

defining in IDL, 150

implementing, 338-340

CoCreateInstance(), 131

code reuse, 11, 22, 39

CoGetClassObject(), 129-130

CoInitialize(), 129, 293

CoInitializeEx(), 293

CoInitializeSecurity(), 216

COM, 71-72

aggregation, 76-77, 384-385

benefits of, 72-77

class, 83

client, developing, 128-131

collection methods, 525

containment, 76-77, 377-378

delegation, 378

error handling, 321-322

language independence, 72

library functions, 322

location transparency, 72-75

object orientation, 75-76

persistence, 665

reuse mechanisms, 376-379

security, 216-219

strings, 95

threads, 290-291

versioning, 77

COM categories, 423-424

categories of, 425

COM collections, 500, 524

building, 525-533

COM DLLs, hosting in a surrogate process, 187-192

COM enumerations, 500, 507-508

ATL support for, 514-517

COM enumerator,

building, 509-512

building using ATL, 517-520

using, 512-513

COM exceptions, 321

ATL support for raising, 330-331

catching (C++), 325-327

catching (VB), 327-328

supporting, 323-324

throwing, 324-325

COM interfaces, 79, 621

defining, 91-93

transferring data with, 506-507

COM language mapping

with Java, 162-166

with Visual Basic, 159-162

COM map, 251-252

populating, 319

COM map macro helper functions, 309

COM objects, 83, 110

activating, 129-131

COM servers,

building, 201-206

registering, 121-122, 206, 401

responsibilities of, 398-399

COM_INTERFACE_ENTRY macro, 319, 337

COM_INTERFACE_ENTRY_AGGREGATE macro, 338, 387

COM_INTERFACE_ENTRY_AGGREGATE_BLIND macro, 338, 388

COM_INTERFACE_ENTRY_AUTOAGGREGATE macro, 338, 388-389

COM_INTERFACE_ENTRY_AUTOAGGREGATE_BLIND macro, 338, 388-389

COM_INTERFACE_ENTRY_BREAK macro, 338, 395

COM_INTERFACE_ENTRY_CACHED_TEAR_OFF macro, 338, 367-368

COM_INTERFACE_ENTRY_CHAIN macro, 338, 397

COM_INTERFACE_ENTRY_FUNC macro, 338, 395-396

COM_INTERFACE_ENTRY_FUNC_BLIND macro, 338, 395-396

COM_INTERFACE_ENTRY_IID macro, 337, 359

COM_INTERFACE_ENTRY_NOINTERFACE macro, 338, 395

COM_INTERFACE_ENTRY_TEAR_OFF macro, 338, 367

COM_INTERFACE_ENTRY2, 337, 359-360

COM_INTERFACE_ENTRY2_IID, 337, 360

COMMAND_ID_HANDLER macro, 606

component housing, creating with ATL COM AppWizard, 233-238

Component Object Model, see COM

Component Registrar Object, 245

Composite Control, 246, 623

connectable architecture, 551-552

connectable object, 551

building in ATL, 562-564

building in C++, 555-558

using from C++, 561-562

using from Visual Basic, 560-561

CONNECTDATA structure, 554

connection point, 551

connection point container, implementing in C++, 559-560

const keyword, 19

constructor, 13

no-arg, 13

using, 14

contained object, using, 379

containment, 76-77, 376-378

containment and delegation model, 25

containment/delegation example, 378-379

contract, 52

control, rendering, 634-635

controls, invisible at runtime, 620

conversion functions, 99-100

conversion macros, ATL, 269-270

CoRegisterClassObject(), 201-202

CoRevokeClassObject, 203

COSERVERINFO structure, 221

Count(), 525, 527-529

cpp_quote() keyword, 149

creatable coclasses, 429

Create(), 593

CreateErrorInfo(), 322, 324

CreateInstance(), 113-114, 313-314, 418-419

CreateProxy(), 187

CreateStub(), 187

CreateThread(), 286-287

CreateWindow(), 587

creator classes, 410

CRITICAL_SECTION functions, 288

CRITICAL_SECTION structure, 285

CSimpleDialog<>, 603-604

CStockPropImpl<>, 661-663

custom events, 640

custom interfaces, 79-80

defining in IDL, 146-147

custom marshaling, 192-193

custom property, adding, 633

custom stub/proxy DLL, building, 195-196

CWindow, 590-592

CWindowImpl<>, 592-594

defined, 597

CWinTraits<>, 592-593



 < Free Open Study > 



Developer's Workshop to COM and ATL 3.0
Developers Workshop to COM and ATL 3.0
ISBN: 1556227043
EAN: 2147483647
Year: 2000
Pages: 171

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net