COM Programming with Microsoft .NET

D

data encapsulation, 336-337

data flow optimization, 178

data handling. See also disconnected applications

ATL, 234-242

COM vs. .NET,15-18

COM+, 164-165

converting, 486

DCOM, 172-178

design considerations, 92

Web applications, 390-393

data integrity, 164, 319

data marshaling, 15-18, 82

data pointers, 77-79

data types

converting, 75-83

exporting, 136-137

Platform Invoke, 403, 416-417, 428

databases

COM+, 28, 345-347

management system, 386

network locations, 309

Web applications, 386-389, 393-396

DBMS (database management system), 386

DCE-RPC network protocol, 176, 177

DCOM (Distributed Component Object Model)

additional information, 172

COM+, 29-30

connections, 173-178

data flow optimization, 178

overview, 172-173

protocols, 176-177

replacement for, 4

DCOM Config folder, 173

DCOMCnfg.exe, 173

dead letter queues, 319

debugging

registration commands, 35

scripts, 382-384

Web applications, 380-381

Declare statement, 411

default

attribute, 217, 219

Component Services applications, 32

constructors, 10, 121, 139

desktops, 462

destructors, 10, 127

GUIDs, 111

handlers, 273

interfaces, 219

progIDs, 111

definition compatibility, 92

delayed assembly signing, 72

Delegate keyword, 463

delegates, 95, 463-467

delegation, 221-224

delete command, 11

deleting assemblies, 48

dependent MSMQ clients , 317

Depends utility, 304

desktop applications vs. Web applications, 374

destructors

COM vs. .NET, 10

garbage collection, 11-12, 409

dialog-based subscribers

overview, 360-363

permanent, 363-369

transient, 369-372

digital signatures, 9, 70

disconnected applications. See also Web-based applications

COM+, 28, 166-169

MSMQ

client applications, 335-342

listener/player, 327-335

overview, 316-320

recorder/player, 320-327

overview, 315-316

dispatch IDs, 107, 109, 215

dispatch interfaces, 106-108, 110, 113, 215

dispIds, 107, 109, 215

dispinterface attribute, 212

dispinterfaces, 106-108, 110, 113, 215

displaying international Web applications, 384

displaying MSMQ messages, 324-325

Dispose method, 407-409

Disposed() event, 474

distributed applications. See also subscriptions

COM, 4

COM+, 28-29, 163

transaction management, 164-165

distributed architecture, 163

Distributed Component Object Model (DCOM). See DCOM

Distributed Transaction Coordinator (DTC), 165

Distributed Transaction Coordinator folders, 32

DllImport attribute, 304, 412, 415, 438, 458

DLLs. See also Platform Invoke

ISAPI, 260

loading dynamically, 458-460, 470

Web applications, 260-261, 272

DoAdd() method, 380

document style, 280

Drop List, 307

DTC (Distributed Transaction Coordinator), 165

dual attribute, 212

dual interfaces, 92, 108, 113, 128

duplicate dispatch IDs, 215

dynamic content, 261, 265

dynamic registration, 349

dynamic server status, 170

dynamically allocated memory, 10-11

dynamically loading DLLs, 458-460

 

Категории