Errata

Programming .NET Components

Errata for Programming .NET Components

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
Printed
Page xvi
3rd paragraph

The words "camel" and "Pascal" HAVE BEEN SWAPPED.

Anonymous    Apr 01, 2004
Printed
Page 29
2nd paragraph, 1st sentence

"Another form of component used by outside entities besides object instantiation and method calls is inheritance."

NOW READS:
"Another way components may be utilized by outside entities besides object instantiation and method calls is inheritance."

Anonymous    Feb 01, 2005
Printed
Page 30
3rd paragraph, 3rd sentence

"Reflection is particularity useful..."

NOW READS:
"Reflection is particularly useful..."

Anonymous    Apr 01, 2004
Printed
Page 33
2nd paragraph, 3rd sentence

"A multiple files assembly, on the other hand, has much more latitude in how to compose it all."

NOW READS:
"A multiple-file assembly, on the other hand, has much more latitude in how to compose it all."

Anonymous    Apr 01, 2004
Printed
Page 61
Second code sample

On page 61 there is a code sample after the text
"When the reference count reaches zero, the object destroys itself"

ULONG MyClass::Release()
{
m_Counter--;
if(m_Counter==0)
delete this;
return m_Counter; // !!!
}

NOW READS:

ULONG MyClass::Release()
{
if(--m_Counter==0)
{
delete this;
return 0;
}
return m_Counter;
}

Anonymous    Feb 01, 2005
Printed
Page 72
2nd paragraph, 2nd sentence

"The object should channel the implementation of both Dispose() and Finalize() to
same helper method ...

NOW READS:
"The object should channel the implementation of both Dispose() and Finalize() to
the same helper method ...

Anonymous    Apr 01, 2004
Printed
Page 110
2nd paragraph, line 3

"This is done using the C# param parameter modifier ..."

NOW READS:
"This is done using the C# params parameter modifier ..."

Anonymous    Feb 01, 2005
Printed
Page 123

The note on BeginInvoke/End Invoke HAS BEEN DELETED.

Anonymous    Apr 01, 2004
Printed
Page 124
In the Note. Declarations of 'opdel'.

"Binary Operation"

NOW READS:
"BinaryOperation"

Anonymous    Apr 01, 2004
Printed
Page 135
Calculator class code example near bottom

"return = num1/num2;"
should be:
"return num1/num2;"

Anonymous   
Printed
Page 136
2nd sentence of warning block

"..., the exception will be handled as the worker thread from the thread pool, an you will never know about it."

NOW READS:
"..., the exception will be handled in the worker thread from the thread pool, an you will never know about it."

Anonymous    Apr 01, 2004
Printed
Page 137
1st full paragraph, 2nd-to last sentence

The reality is, of course, that the subscriber can't tell."

NOW READS:
"The reality is, of course, that the publisher can't tell."

Anonymous    Apr 01, 2004
Printed
Page 138
Next to last line

"asyncFire = new AsyncFire(InvokeDeleagte);"
should read:
"asyncFire = new AsyncFire(InvokeDelegate);"

Anonymous   
Printed
Page 139
1st full paragraph, 1st sentence

"The technique shown [...]: you use the param modifier to pass in any collection of
arguments, as well as the delegate containing the subscribers list."

NOW READS:
"The technique shown [...]: you use the params modifier to pass in any collection of
arguments, as well as the delegate containing the subscribers list."

Anonymous    Apr 01, 2004
Printed
Page 139
1st code snippet

"static void InvokeDeleagte(Delegate del,object[] args)"
should read:
"static void InvokeDelegate(Delegate del,object[] args)"

Anonymous   
Printed
Page 142
2nd full paragraph, last sentence

"This implies that for every asynchronous method call, there is some overhead in
terms of memory use and performance .NET supports defining fire-and-forget methods,
using the OneWay attribute, which is defined in the System.Messaging namespace:"

NOW READS:
"This implies that for every asynchronous method call, there is some overhead in
terms of memory use and performance. As an alternative, .NET supports defining fire-
and-forget methods, using the OneWay attribute, which is defined in the
System.Messaging namespace:"

Anonymous    Apr 01, 2004
Printed
Page 143
2nd paragraph

InvokeDeleagte"
should read:
"InvokeDelegate"

Anonymous   
Printed
Page 143
Code example, 4th line

"InvokeDeleagte"
should read:
"InvokeDelegate"

Anonymous   
Printed
Page 149
first paragraph, 4th line

"to the native operating"

NOW READS:
"to the native operating system"

Anonymous    Apr 01, 2004
Printed
Page 152
4th paragraph, 2nd to last sentence

"even if the sleep timeout is less than the reminder of the time slot."

NOW READS:
"even if the sleep timeout is less than the remainder of the time slot."

Anonymous    Apr 01, 2004
Printed
Page 154
2nd paragraph, last sentence

... in this case) and avoid ...

NOW READS:
... in this case and avoid ...

Anonymous    Apr 01, 2004
Printed
Page 155
3rd paragraph, last sentence

"(as far as the operation system is concerned)."

NOW READS:
"(as far as the operating system is concerned)."

Anonymous    Apr 01, 2004
Printed
Page 185
3rd Paragraph, 2nd Sentence

"The Set() method sets the state of the handle to signal"

NOW READS:
"The Set() method sets the state of the handle to signaled"

Anonymous    Apr 01, 2004
Printed
Page 219
Example 9-5;next to last line

<SOAP-ENV:Body>

NOW READS:
</SOAP-ENV:Body>

Anonymous    Apr 01, 2004
Printed
Page 298

"ISponsor.Register" NOW READS "ILease.Register"

Anonymous    Feb 01, 2005
Printed
Page 299

"/Register the sponsor" NOW READS "//Register the sponsor"

Anonymous    Apr 01, 2004
Printed
Page 418
1st paragraph, 7th sentence

"..., expect that the"

NOW READS:
"..., except that the"

Anonymous    Apr 01, 2004