Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

Microsoft Visual C++ .NET Professional Projects - Premier Press

.pdf
Скачиваний:
180
Добавлен:
24.05.2014
Размер:
26 Мб
Скачать
☆
HRESULT values, 584
HSM (Hierarchical Storage Management), 930 HTML server controls, 523–524
HTTP Monitoring (HTTPMon) tool, 931 HTTP security, 694–695
I
IClassFactory interface, 578, 587 Icon property, Form class, 356 icons, blink rate, 499
ID property, WebControl class, 528
IDE (integrated development environment), 13–14 identifiers, unique, generating, 578–581 IDispatch interface, 576–577
IDL (Interface Definition Language) attributes, 599, 962
described, 581–584
IL (Intermediate Language), 302
ImageList class, 367
IMDB (In-Memory Database), 593 implementation inheritance, 577

1010 Index

GDI+ (continued)

 

 

 

purpose, 37–38

Graphics class

 

 

Graphics class

methods, table of, 330–333

 

 

 

methods, table of, 330–333

properties, table of, 329–330

 

 

 

properties, table of, 329–330

purpose, 329

 

 

 

purpose, 329

overloading methods, 324–325

 

 

group box dialog box control, 80

Pen class

 

 

GUIDGEN tool, 578–579

methods, table of, 335–336

 

 

guidgen.exe file, 578

properties, table of, 334–335

 

 

 

Y

 

 

GUIDs algorithms, 578–581

purpose, 334

 

 

L

purpose, 320

 

 

H

 

regions, creating, 325

 

 

 

services offered, 321

 

 

HealthMon utility, 930

System.Drawing namespace

 

M

 

 

 

Height property, WebControl class, 528

classes, table of, 326–328

 

 

hierarchical caching, ISA Server 2000, 948

purpose, 326

E

FHierarchical Storage Management (HSM), 930

structures, table of, 328

high-level design phase, project life cycle, 177–180

 

 

GDI (Graphical Device Interface). See also GDI+

 

hit counts, 284

device contexts, 39–40

 

 

_hook keyword, 344

device handling, 38

A horizontal gradient brushes, 322

objects, 41–42

 

 

host byte order, 849

purpose, 37–38

 

 

Host Integration Server 2000, 946–947

GetDefaultConnect() function, CRecordsetTclass, 165

HostToNetworkOrder method, IPAddress class, 849

GetDefaultSQL() function, CRecordset class, 166

GetDocument member function, CView class, 107–108

GetDomain method, Thread class, 851

GetHashCode method, Delegate class, 340

GetHashCode method, EventArgs class, 339

GetHashCode method, MulticastDelegate class, 341

GetIDsOfNames method, IDispatch interface, 577

GetInvocationList method, Delegate class, 340

GetInvocationList method, MulticastDelegate class, 341

GetStream method, UdpClient class, 847

GetType method, EventArgs class, 339

GetType method, IPAddress class, 849

GetType method, UdpClient class, 847

GetTypeInfo method, IDispatch interface, 577

GetTypeInfoCount method, IDispatch interface, 576 global assembly cache (GAC), 11, 757–758

Global.asax file, 515, 548, 702 Global.asax.h file, 702

Graphical Device Interface (GDI). See also GDI+ device contexts, 39–40

device handling, 38 objects, 41–42

Team-Fly®

IMPLEMENT_DYNCREATE macro, 112–113

implementing. See also case study (database connectivity); case study (remoting, implementing)

CFrameWnd class, 28, 30 CWinApp class, 28, 30

dialog-based applications, DDX mechanism, 88 DLLs, 568–569

interfaces, COM, 584 Luhn algorithm, 622–627 message maps, 35–36 methods, 785–791 remote servers, 570

IMPLEMENT_SERIAL macro, 117 implicit data type conversions, 983–985 #import directive, 304

independent path objects, 322 inheritance, 577

initializing applications, 25

initially assigned variables, Visual C# .NET, 980 initially unassigned variables, Visual C# .NET, 980 initiation phase, projects, 175

InitInstance function, CWinApp class, 25, 110–112

InitInstance function, CWinThread class, 140 In-Memory Database (IMDB), 593

in-place activation, 564 in-process servers, 568–569

InsertCommand property, DataAdapter objects, 462 inserting Breakpoints, 285–289

instance initialization, 25

instance variables, Visual C# .NET, 982 instantiating objects, 586–589

integrated development environment (IDE), 13–14 integration and testing phase, project life cycle, 183 IntelliMirror, 929

Interface Definition Language (IDL), 581–584 attributes, 599, 962

described, 581–584 interface inheritance, 577 _interface keyword, 308

interface(s). See also MFC Application Wizard API, 448

COM

altering existing, naming conventions, 572–573 defined, 571–572

features, 572 GUIDs, 578–581

Index 1011

IClassFactory interface, 578, 587 IDispatch interface, 576–577 IDL, 581–584, 599, 962 implementing, 584

IOleLink interface, 578 IOleObject interface, 578 IStorage interface, 578 IStream interface, 578 IUnknown interface, 575–576 needs addressed, 573 purpose, 574–575

type library, 584–585 versioning, 573–574

HTML form-based interfaces, creating, 651–652 IClassFactory interface, 578, 587 IDispatch interface, 576–577

IOleLink interface, 578 IOleObject interface, 578 IStorage interface, 578 IStream interface, 578 IUnknown interface, 575–576

managed class interface, defined, 320 Managed Extensions for C++, 308 user interface forms, creating, 355–360

user interface threads, creating, 140–141 Intermediate Language (IL), 302

Internet, programming challenges, 921–922

Internet Security and Acceleration (ISA) Server 2000, 947–950

interoperability, COM, 768–769 interprocess communication, 873–874 Interrupt method, Thread class, 852 Invoke method, IDispatch interface, 577 IOleLink interface, 578

IOleObject interface, 578 IP addresses, 842–843

IP security (IPSec), 694 IPAddress class, 848–850

ISA (Internet Security and Acceleration) Server 2000, 947–950

IsAlive property, Thread class, 851 ISAM databases, 161

ISAPI extension DLL, 639

IsBackground property, Thread class, 851

IsBOF function, 168

IsEOF function, 168

1012 Index

IsLoading function, CArchive class, 105

IsLocked member function, CMultiLock and CSingleLock classes, 152

IsModified function, CDocument class, 104–105 IsStoring function, CArchive class, 105 IStorage interface, 578

IStream interface, 578 iteration statements, 988 IUnknown interface, 575–576

J

Jet (.mdb) databases, 161

JIT (just-in-time) compiler, 6

JoinMulticastGroup method, UdpClient class, 844–845

jump statements, 988

K

key pairs, creating, 766–767 keys, 763–764

keywords

_event keyword, 343

_event_receiver keyword, 343–344 _event_source keyword, 343

_gc keyword, 306 _hook keyword, 344

_interface keyword, 308 _nogc keyword, 306 _unhook keyword, 344–345

L

Label class, 358

language interoperability, 6–7, 581–584 languages supported, Visual Studio .NET, 12 layers, .NET Framework, 920

LCEs (loosely coupled events), 594 libraries

ATL, 161

base class library, 9 class libraries

Managed C++, creating, 544–547

.NET Framework, 9–10 COM, 570–571

Crypto API library, 644 DLLs

compatibility, 759 defined, 566

implementation advantages, 568 implementation disadvantages, 569 ISAPI extension DLL, 639

System.Xml.dll DLL, 816 Web application DLL, 640

native C++ class libraries, 545

.NET libraries and headers, 304 type library, 584–585

Licenses.lics file, 515 linear gradient brushes, 322 lines, drawing, 44–45

LineTo function, CDC class, 44–45 list box dialog box control, 80 listings, programs. See example code load balancing, 593

Load method, XmlDocument class, 820 LoadFrame member function, 24

LoadXml method, XmlDocument class, 820 local objects, changing to remote objects, 875 local servers, 570

local variables, Visual C# .NET, 982 Locals window, 291

Location property, Button class, 357 Location property, Label class, 358 Location property, TextBox class, 357 location transparency, COM, 588

Lock method, 149 logic errors, 270–271

loosely coupled events (LCEs), 594

low-level design phase, project life cycle, 180–181 Luhn algorithm, 612, 622–627

M

macros

ASSERT macro, 268

BEGIN_MESSAGE_MAP() macro, 34, 35 DECLARE_DYNCREATE macro, 112–113 DECLARE_MESSAGE_MAP() macro, 34, 35 DECLARE_SERIAL macro, 117 END_MESSAGE_MAP() macro, 35 IMPLEMENT_DYNCREATE macro, 112–113

IMPLEMENT_SERIAL macro, 117

message maps, 34–35

MFC exception handling, 268

ON_COMMAND() macro, 35

ON_MESSAGE() macro, 35

RUNTIME_CLASS macro, 112

_T macro, 166 TRACE macro, 268

MainMenu class, 361–362

Managed C++. See Managed Extensions for C++ managed class interface, defined, 320

managed classes, 306–307 managed code, 5

Managed Extensions for C++, 302 boxing, 310

classes

abstract classes, 307 managed classes, 306–307 sealed classes, 308 unmanaged classes, 306–307

delegates

classes, Delegate class, 339–340 classes, MulticastDelegate class, 341 EventHandler delegate, 337–338

events

event handling in managed code, described, 342 event handling in managed code, keywords, 343–345 EventArgs class, 338–339

EventHandler delegate, 337–338 overview, 336

raising events, 337, 342 types, 336–337

Unified Event Model, 345 exceptions, 309–310

GUI example application, creating, 310–317 Hello World application example, 304–305 interfaces, 308

naming reason, 302

.NET libraries and headers, 304 properties, 309

purpose, 302 managed heap, defined, 9 mangling process, 567

manifests, assemblies, 11, 754, 761 mapping, user defined messages, 35 maps, ATL Server, 642–643

Index 1013

marshal by reference, 879 marshal by value, 878–879 marshalling, 588

matrix objects, 323

MaximizeBox property, Form class, 356

.mdb ( Jet) databases, 161

MDI (Multiple Document Interface) applications creating

application enhancing, drawing functionality, described, 116–117, 127–128

application enhancing, drawing functionality, example code, 117–127

application skeleton generation, 114–115 described, 113

menu creation, 76–77 memory management, CLR, 8–9 Memory window, 294

Menu property, Form class, 356 MenuItem class, 360–361 MenuItemHandler function, 371–374 menus, creating

case study, 360–365

displaying menus, coding, 73–77 menu resource, creating, 72 message handlers, adding, 77–78 sample menu example, 78–79

message(s)

command messages, 34

control notification messages, 33 handlers

creating, 77–78 defined, 22

maps, 34–35 routing, 130 user-defined, 34, 35

Windows messages, 33 WM_COMMAND message, 33, 34 WM_CREATE message, 33

WM_LBUTTONDOWN message, 33

WM_MOUSEMOVE message, 33

metadata, 6, 884 metafiles, defined, 39

method call statements, 988 method overloading, defined, 324

Method property, Delegate class, 340

Method property, MulticastDelegate class, 341

1014 Index

methods. See also methods, listed by name in COM, 572

drawing methods, GDI+, 325 filling methods, GDI+, 325 implementing, 785–791 request handling methods, 640

methods, listed by name. See also functions, listed by name; methods

Add() method, 456

AddRef method, IUnknown interface, 575–576 Clear() method, 456

ClearForm method, 498

Clone method, Delegate class, 340

Clone method, MulticastDelegate class, 341

Close method, UdpClient class, 846

COLORREF method, 46

Combine method, Delegate class, 340

Connect method, UdpClient class, 847

Contains() method, DataRowCollection class, 456–457

CreateControls method, 484–492

CreateDelegate method, Delegate class, 340 CreateHatchBrush method, CBrush class, 46–48

CreatePen method, CPen class, 45–48

CreateSolidBrush method, CBrush class, 46–48 DataBind method, WebControl class, 528

DropMulticastGroup method, UdpClient class, 846

DynamicInvoke method, MulticastDelegate class, 341

Empty method, EventArgs class, 339

Equals method, Delegate class, 340

Equals method, IPAddress class, 849

Equals method, MulticastDelegate class, 341

Equals method, UdpClient class, 847

EventArgs method, EventArgs class, 339

FetchData method, 492–493

FillFields method, 493–494

Finalize method, EventArgs class, 339

Find() method, 457

GetDomain method, Thread class, 851

GetHashCode method, Delegate class, 340 GetHashCode method, EventArgs class, 339

GetHashCode method, MulticastDelegate class, 341

GetIDsOfNames method, IDispatch interface, 577

GetInvocationList method, Delegate class, 340

GetInvocationList method, MulticastDelegate class, 341

GetStream method, UdpClient class, 847 GetType method, EventArgs class, 339 GetType method, IPAddress class, 849 GetType method, UdpClient class, 847 GetTypeInfo method, IDispatch interface, 577

GetTypeInfoCount method, IDispatch interface, 576

HostToNetworkOrder method, IPAddress class, 849

Interrupt method, Thread class, 852 Invoke method, IDispatch interface, 577

JoinMulticastGroup method, UdpClient class, 844–845

Load method, XmlDocument class, 820

LoadXml method, XmlDocument class, 820

Lock method, 149

Method property, Delegate class, 340

Method property, MulticastDelegate class, 341

MoveToAttribute method, XmlReader class, 818

MoveToElement method, XmlReader class, 819

MoveToFirst method, XPathNavigator class, 822

MoveToFirstAttribute method, XmlReader class, 819

MoveToNext method, XPathNavigator class, 823

MoveToNextAttribute method, XmlReader class, 819

MoveToPrevious method, XPathNavigator class, 823

MoveToRoot method, XPathNavigator class, 823

NetworkToHostOrder method, IPAddress class, 849–850

NewRow() method, 457

OnDeActivate Method, 242–243

OnFirstRecord method, 494–495

OnInsertRecord method, 495–497

OnSelChangeAccno method, 239–241

OnUpdateRecord method, 497–498

Parse method, IPAddress class, 850

QueryInterface method, IUnknown interface, 575, 576

Read method, XmlReader class, 818

ReadAttributeValue method, XmlReader class, 819 Receive method, UdpClient class, 845

Release method, IUnknown interface, 575–576 Remove() method, 456

Resume method, Thread class, 852

Save method, XmlDocument class, 820

Select method, XPathNavigator class, 823

Send method, UdpClient class, 845 Sleep method, Thread class, 851 SqlCommand class methods, table, 466 SqlConnection class methods, table, 466 SqlDataAdapter class methods, table, 467 SqlDataReader class methods, table, 466 Start method, Thread class, 851 Suspend method, Thread class, 852

TcpClient method, UdpClient class, 846–847

ToString method, EventArgs class, 339

ToString method, UdpClient class, 846

Unlock method, 149

ValidateForm method, 499–501

WriteXml method, 829

WriteXmlSchema() method, 461

MFC Application Wizard. See also interface(s); Wizards application framework, creating, 52–56

application framework, customizing button events, handling, 68–69 form controls, adding, 59–61

form controls, variable creation, 61–63 transferring data, adding events mechanism, 66–67 transferring data, DDV mechanism, 65 transferring data, DDX mechanism, 64

classes created, 56–58 executing applications, 58

MDI applications, creating, 114–115 purpose, 50

SDI applications, creating, 52–56 starting, 50–51

MFC Class Wizard, 85, 199

MFC (Microsoft Foundation Classes) programming classes

CWinApp class, member functions, 25–26 hierarchy, 23

overview, 23–25 event handling, 22 exception handling

C++ exception handling, 265–266 exceptions, defined, 264

function call results, categories, 265 MFC exception handling, 266–268

history, 20–22

Microsoft Foundation Classes (MFC) programming

Index 1015

classes

CWinApp class, member functions, 25–26 hierarchy, 23

overview, 23–25 event handling, 22 exception handling

C++ exception handling, 265–266 exceptions, defined, 264

function call results, categories, 265 MFC exception handling, 266–268

history, 20–22

Microsoft Intermediate Language (MSIL), 5–6 Microsoft Management Console (MMC), 188 Microsoft Server ActiveSync, 952

Microsoft Transaction Server (MTS), 570

Microsoft Web Capacity Analysis (WCAT) tool, 931

Microsoft.Csharp namespace, 10

Microsoft.Jscript namespace, 10

Microsoft.VisualBasic namespace, 10

Microsoft.Win32 namespace, 10

migrating, unmanaged code to managed, 966–974 MinimizeBox property, Form class, 356

mixed threading model, 590

MMC (Microsoft Management Console), 188 Mobile Information 2001 Server, 950–952 modifiers, variables, 980

Modify button, 226–227 Module window, 294

monolithic applications, 560–561 Move function, 168

MoveFirst function, 168 MoveLast function, 168 MoveNext function, 168 MovePrev function, 168

MoveTo function, CDC class, 44–45

MoveToAttribute method, XmlReader class, 818

MoveToElement method, XmlReader class, 819

MoveToFirst method, XPathNavigator class, 822

MoveToFirstAttribute method, XmlReader class, 819

MoveToNext method, XPathNavigator class, 823

MoveToNextAttribute method, XmlReader class, 819 MoveToPrevious method, XPathNavigator class, 823

MoveToRoot method, XPathNavigator class, 823 MSIL (Microsoft Intermediate Language), 5–6 MTAs (multithreaded apartments), 589–590 MTS (Microsoft Transaction Server), 570

1016 Index

multicast delegates, 340 multicast packets, IP address, 845

MulticastDelegate class, 341 multifile assemblies, 762

Multiple Document Interface (MDI) applications creating

application enhancing, drawing functionality, described, 116–117, 127–128

application enhancing, drawing functionality, example code, 117–127

application skeleton generation, 114–115 described, 113

menu creation, 76–77

multiple documents application type, 52 multiple top-level documents application type, 53 multitasking, 136

multithreaded apartments (MTAs), 589–590 multithreaded applications

creating, 143–146 defined, 135–136 mutex, defined, 149

N

Name property, Button class, 357 Name property, TextBox class, 357 Name property, Thread class, 851

Name property, XmlReader class, 817–818 namespaces. See also namespaces, listed by name

data-related, ADO.NET, 452–453 purpose, 9–10, 452

XML, 679

namespaces, listed by name. See also namespaces

Microsoft.Csharp namespace, 10

Microsoft.Jscript namespace, 10

Microsoft.VisualBasic namespace, 10

Microsoft.Win32 namespace, 10

System namespace, 10, 958–959

System.Data namespace, 452–453

System.Data.OleDb namespace, 453 System.Data.SqlClient namespace, 453

System.Drawing namespace, 326–328

System.Net namespace, 843

System.Net.Socket namespace, 843 System.Threading namespace, 850 System.Windows.Forms namespace, 959–961

System.Xml namespace, 680, 816

System.Xml.Xpath namespace, 816

System.Xml.Xsl namespace, 683–684, 831–832 native C++ class libraries, 545

native code, 6, 302 native formatters, 883

.NET data providers components, 461–462 objects, interaction, 463 objects exposed, 784

OLE DB .NET data provider, 463–465 purpose, 453

SQL Server .NET data provider, 465–467

.NET Framework. See also case study (XML with Visual C++ .NET)

assemblies, 11–12, 754 benefits, 919

class library, 9–10

code access security (CAS), 12 Common Language Runtime (CLR)

CLS, 7–8

CTS, 7 described, 5–6

Garbage Collector (GC), 8–9 memory management, 8–9

debugger, 12 design goals

availability, 923–927 manageability, 927–932 performance, 932–933 reliability, 933–935 scalability, 935–936 security, 936–937

layers, 920 purpose, 5 vision, 918–920 XML classes

using, 816

XmlDocument class, 820–822

XmlReader class, 817

XmlTextReader class, 817

XmlValidatingReader class, 817

XmlWriter class, 819–820

XPathDocument class, 823

XPathNavigator class, 822–823

XslTransform class, System.Xml.Xsl namespace, 683–684, 831–832

.NET Framework SDK Web site, 511

.NET libraries and headers, 304 network applications, developing

classes

IPAddress class, 848–850 Socket class, 843–844 Thread class, 850–851 UdpClient class, 844–846

WebRequest class, 848

namespaces

System.Net namespace, 843

System.Net.Socket namespace, 843

System.Threading namespace, 850

network byte order, 849

Network Load Balancing (NLB), 930 networking

IP addresses, 842–843 ports, 842–843 protocols, 840–841 sockets, 841–842

NetworkToHostOrder method, IPAddress class, 849–850

neutral apartment-threading model, 593 NewRow() method, 457

NLB (Network Load Balancing), 930 NodeType property, XmlReader class, 818 _nogc keyword, 306

normal execution function call results, 265 normal termination, threads, 146–147

O

object linking and embedding (OLE), history, 564 object pooling, 594

objects

calling, from .NET, 772–775

client-activated objects (CAOs), 876–877, 885 Command objects, .NET data providers, 461 Connection objects, .NET data providers, 461

ConstraintCollection object, 459 creating, GDI, 41

DataAdapter objects, .NET data providers, 462

DataColumnCollection object, 458

DataReader objects, .NET data providers, 461–462

Index 1017

DataRelationCollection object, 458–459

DataRow objects, 457

DataRowCollection object, 457

DataSet objects, 454–459 DataTable object, 457

DataTableCollection object, 456–457 DOM objects, 682

dynamic objects, creating, 112–113 exposed, .NET data providers, 784 GDI, 41–42

independent path objects, 322 instantiating, 586–589

interaction, .NET data providers, 463

local objects, changing to remote objects, 875 matrix objects, 323

.NET, calling from COM, 775 proxy objects, 880–881 purpose, 454–455

remote objects configuring, 876–877 defined, 874–875

example application, 891–898 hosting, 875–876

lifetime, 885–886 passing, 877–879

server-activated objects, 885 single call objects, 876 Singleton call objects, 876 SOAP, 689–690

sockets, 841–842

supported, .NET Framework, 885 synchronization access objects, defined, 152 synchronization objects, defined, 148

ODBC (Open Database Connectivity) classes, CDatabase class, 162 classes, CRecordset class

CDatabaseAppSet constructor, 164–165 data members, 164–165

DoFieldExchange() function, 166–167 GetDefaultConnect() function, 165 GetDefaultSQL() function, 166 navigating recordsets, 168

purpose, 162–163 records, adding, 169 records, deleting, 169–170 records, modifying, 170

1018 Index

ODBC (continued) recordset types, 163

classes, CRecordView class, 169–170 DAO technology, purpose, 161 purpose, 160

OLE DB

Consumer attributes, 599, 963 using ADO interfaces, 449

OLE DB .NET data provider, 463–465

OLE (object linking and embedding) history, 564 OnActivateView member function, CView class, 108

ON_COMMAND() macro, 35

OnCreate member function, CFrameWnd class, 109–110 OnDeActivate Method, 242–243

on-demand compilation, 6

OnDraw member function, CView class, 108 one-stage construction, GDI objects, 41 one-time initialization, 25

OnFileNew member function, CWinApp class, 111 OnFileOpen member function, CWinApp class, 111 OnFirstRecord method, 494–495

OnIdle function, CWinThread class, 140 OnInitialUpdate member function, CView class, 108

OnInsertRecord method, 495–497

ON_MESSAGE() macro, 35

OnNewDocument function, CDocument class, 104 OnSelChangeAccno method, 239–241 OnUpdate function, CView class, 105

OnUpdateRecord method, 497–498 Open Database Connectivity (ODBC)

classes, CDatabase class, 162 classes, CRecordset class

CDatabaseAppSet constructor, 164–165 data members, 164–165

DoFieldExchange() function, 166–167 GetDefaultConnect() function, 165 GetDefaultSQL() function, 166 navigating recordsets, 168

purpose, 162–163 records, adding, 169 records, deleting, 169–170 records, modifying, 170 recordset types, 163

classes, CRecordView class, 169–170 DAO technology, purpose, 161 purpose, 160

Open Software Foundation (OSF), 578 out-of-process servers, 569–570

output parameters variables, Visual C# .NET, 982 Output window, Visual Studio .NET IDE, 13–14 overloading methods, GDI+, 324–325

P

page-level caching, 510

Parse method, IPAddress class, 850

ParseCommandLine member function, CWinApp class, 111

PE (portable executable) files, 6 Pen class

methods, table of, 335–336 properties, table of, 334–335 purpose, 334

pens and brushes creating, 45–48 example usage, 42–44 styles, table of, 46

Performance Monitor (PerfMon), 931 phases, projects, 175–176

plus (+) symbol, 677 polling, 594

portable executable (PE) files, 6 ports, 842–843

PreCreateWindow member function, CFrameWnd class, 110

premature termination, threads, 147 presentation layer, .NET Framework, 920 primary threads, defined, 134

printing, application data, 108 Priority property, Thread class, 851 priority values, threads, 138

private assemblies described, 11, 756, 764

shared assemblies, converting into, 766–767 private keys, 763–764

processes. See also thread(s) defined, 134

surrogate processes, 570

ProcessShellCommand member function, CWinApp class, 111

ProdService.asmx file, 702

ProdService.cpp file, 702

ProdService.h file, 702 ProdService.vsdisco file, 702 program listings. See example code

programming, sockets. See case study (network-based applications, creating)

project build configurations, 272–273 project containers, 273

project life cycles construction phase, 183

high-level design phase, 177–180 integration and testing phase, 183 low-level design phase, described, 180–181 overview, 175–176

requirements analysis phase, 176–177 user acceptance testing phase, 184

project phases, 175–176

projects, creating new, Visual C++ .NET, 27–28 projects, sample. See case studies Project.vsdisco file, 548

properties. See also properties, listed by name base properties, 525

Managed Extensions for C++, 309 setting, at design time, 526 setting, at run time, 526–527

properties, listed by name. See also properties

AccessKey property, WebControl class, 527 ACID properties, 798

ActiveForm property, Form class, 356 AutoScale property, Form class, 356

AutoScaleBaseSize property, Form class, 356 BackColor property, WebControl class, 527

BlinkStyle property, 499

BorderColor property, WebControl class, 527 BorderStyle property, WebControl class, 527 BorderWidth property, WebControl class, 527

Controls property, Form class, 356

Controls property, WebControl class, 527 CurrentThread property, Thread class, 851 DeleteCommand property, DataAdapter objects, 462 DialogResult property, Button class, 357

Enabled property, WebControl class, 528

EnableViewState property, WebControl class, 528

Font property, WebControl class, 528

ForeColor property, WebControl class, 528

Height property, WebControl class, 528

Icon property, Form class, 356

Index 1019

ID property, WebControl class, 528

InsertCommand property, DataAdapter objects, 462

IsAlive property, Thread class, 851

IsBackground property, Thread class, 851

Location property, Button class, 357

Location property, Label class, 358

Location property, TextBox class, 357

MaximizeBox property, Form class, 356

Menu property, Form class, 356

Method property, Delegate class, 340

Method property, MulticastDelegate class, 341

MinimizeBox property, Form class, 356

Name property, Button class, 357

Name property, TextBox class, 357

Name property, Thread class, 851

Name property, XmlReader class, 817–818

NodeType property, XmlReader class, 818

Priority property, Thread class, 851

SelectCommand property, DataAdapter objects, 462

Size property, Button class, 357

Size property, Form class, 356

Size property, Label class, 358

Size property, TextBox class, 357

TabIndex property, Button class, 357

TabIndex property, Label class, 358

TabIndex property, TextBox class, 357

TabIndex property, WebControl class, 528

Target property, Delegate class, 340

Target property, MulticastDelegate class, 341

Text property, Button class, 357

Text property, Form class, 356

Text property, Label class, 358

Text property, TextBox class, 357

ThreadState property, Thread class, 851

ToolTip property, WebControl class, 528

UpdateCommand property, DataAdapter objects, 462

Value property, XmlReader class, 818 Visible property, WebControl class, 528 Width property, WebControl class, 528

Properties window, Visual Studio .NET IDE, 14 protocols

CARP, 948 networking, 840–841 SOAP, 688–691 TCP/IP, 841–842 UDP, 841