Win32 API Programming with Visual Basic

Errata for Win32 API Programming with Visual Basic

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 iv
The following information has been added to the copyright page

"Cover Designer: Hanna Dyer"

Anonymous    Jun 01, 2001
Printed
Page 15
In the fourth paragraph the second sentence used to read

"These files have the extension EXE or DLL." Now reads: "These files include EXE and DLL files, as well as OCX, DRV and other files."

Anonymous    Jan 01, 2000
Printed
Page 18

The first line after the section heading "The Basics" used to read: "Here are two basic assumptions about C++ language syntax:" Now reads: "Here are some basic facts about C++ language syntax:"

Anonymous    Jan 01, 2000
Printed
Page 30
The second code line under "Case 3" used to read

ByVal Var As Integer) It now reads: ByRef Var as Integer)

Anonymous    Jun 01, 2001
Printed
Page 39
Last paragraph used to read

"raise an API error" Now reads: "raise an error in VB"

Anonymous    Jan 01, 2000
Printed
Page 49

In the paragraph beginning "Thus, TCHAR and TBYTE" the last phrase used to read: "CHAR, which, in turn, is a synonym for char" Now reads: "char and unsigned char, respectively"

Anonymous    Jan 01, 2000
Printed
Page 76-77
Entire section entitled "Converting Between Word Lengths"

In the entire section entitled "Converting Between Word Lengths" there were five occurrences of the number "-5". All of these have been changed to the number "-32765".

Anonymous    Jan 01, 2000
Printed
Page 96
Just before the section head "Dealing with IN Parameters"

the sentence that begins "First, let us talk about ..." has been deleted.

Anonymous    Jan 01, 2000
Printed
Page 96
In the second to last paragraph, the first sentence in this

paragraph now reads: "We should also note that the FindWindow function allows one (but not both) of its parameters to be set to the null string which, in Win32, is a null pointer (that is, a pointer that contains the value 0)."

Anonymous    Jan 01, 2000
Printed
Page 103

In the first line of the first code listing, it used to read "PTSTR" It now reads: "LPTSTR"

Anonymous    Jan 01, 2000
Printed
Page 103
"(see Figure 6-8)" has been inserted after the word "lpsz" in

the sentence "We create an initial BSTR string buffer for lpsz, say:"

Anonymous    Jan 01, 2000
Printed
Page 103
At the bottom of the page, the paragraph numbered "2." has been

moved to follow Fig 6-8, and the reference to Figure 6-8 has been changed to Figure 6-9.

Anonymous    Jan 01, 2000
Printed
Page 103
The caption of Figure 6-8 has been changed to read

"The Initial BSTR"

Anonymous    Jan 01, 2000
Printed
Page 104
Figure 6-9 has been moved to the top of the page.

Anonymous    Jan 01, 2000
Printed
Page 104
The caption for Figure 6-9 has been changed to read

"The temporary ABSTR"

Anonymous    Jan 01, 2000
Printed
Page 104
In the paragraph numbered "3." the reference to Figure 6-9

has been changed to a reference to Figure 6-10.

Anonymous    Jan 01, 2000
Printed
Page 104
In the paragraph numbered "4." the words "As Figure 6-10 shows,"

at beginning of paragraph have been deleted.

Anonymous    Jan 01, 2000
Printed
Page 104
The paragraph numbered "4." has been moved to follow after

Figure 6-10.

Anonymous    Jan 01, 2000
Printed
Page 119
In the last paragraph, the sentence used to read

"For instance, the GetSystemDirector..." Now reads: "The functions are defined as follows:"

Anonymous    Jan 01, 2000
Printed
Page 136
In the first paragraph in the section "A Complete Example," the

following sentence has been added to the end of the para: "The GetException function below just returns the symbolic constant from Table 8.1 when given the constant's value."

Anonymous    Jan 01, 2000
Printed
Page 163
The heading used to read

"Getting a process handle..." Now reads: "A: Getting a process handle..."

Anonymous    Jan 01, 2000
Printed
Page 166
The heading used to read

"Module Filenames and..." Now reads: "B: Module Filenames and..."

Anonymous    Jan 01, 2000
Printed
Page 169
The heading used to read

"Getting the Current Process ID" Now reads: "C: Getting the Current Process ID"

Anonymous    Jan 01, 2000
Printed
Page 169
The heading used to read

"Getting the Process ID from a Window" Now reads: "D: Getting the Process ID from a Window"

Anonymous    Jan 01, 2000
Printed
Page 170
The heading used to read

"Getting Module names and Handles" Now reads: "E: Getting Module names and Handles"

Anonymous    Jan 01, 2000
Printed
Page 179
The first paragraph has been replaced by

"Note that, by comparing the memory maps for a process under Windows NT and Windows 95/98, it is possible to see that Windows 95/98 puts the Win32 (and other) system DLLs in a different location than Windows NT. For example, under Windows NT, KERNEL32.DLL is just under the 2GB mark, which is in the area of memory reserved for applications. However, under Windows 95/98, this DLL is at the 3GB mark, in the area of memory reserved for the operating system."

Anonymous    Jan 01, 2000
Printed
Page 179
The last sentence on the page has been deleted.

Anonymous    Jan 01, 2000
Printed
Page 180
The first sentence has been replaced with

"The first method is the simplest, but works only if the application has a uniquely identifiable top level window caption that does not change."

Anonymous    Jan 01, 2000
Printed
Page 184
After Example 11-5, the first sentence of the paragraph used

to read: "This DLL has a single, shared long variable, called lUsageCount." Now reads: "This DLL has a single, shared long variable, called giUsageCount."

Anonymous    Jan 01, 2000
Printed
Page 202
In the first paragraph in section entitled "Mutexes", the words

"signaled" and "nonsignalled" were reversed. The paragraph now read: "A mutex is a kernel object that can be used to synchronize threads running is different processes. A mutex may or may not be owned by some thread. If a mutex is owned by a thread, then the mutex is nonsignaled. If the mutex is not owned by any thread, the mutex is signaled. In other words, for a mutex, owned is equivalent to nonsignaled."

Anonymous    Jan 01, 2000
Printed
Page 242
In Figure 14-1, at the top of the figure under "PE Signature"

the two "Ohs" in the boxes are now zeros.

Anonymous    Jan 01, 2000
Printed
Page 263
The first line used to

"Microsoft Windows" Now reads: "Windows' windows"

Anonymous    Jan 01, 2000
Printed
Page 317
In last line of first paragraph, the word "processing" is now

"processes".

Anonymous    Jan 01, 2000
Printed
Page 318
In the second to last paragraph, it used to read

"In this case, all windows in the calling process only..." It now reads: "In this case, all windows of the specified class in the calling process only..."

Anonymous    Jan 01, 2000
Printed
Page 318
In the last paragraph, the third line used to read

"new call" Now reads: "new class"

Anonymous    Jan 01, 2000
Printed
Page 318
In the last line, it used to read

"existing class" Now reads: "existing window or class"

Anonymous    Jan 01, 2000
Printed
Page 325
The first sentence of the second full paragraph used to read

"On the other hand, if the thread is thread-specific..." It now reads: "On the other hand, if the hook is thread-specific..."

Anonymous    Jun 01, 2001
Printed
Page 334
The heading that used to read

"basmRpiHook" Now reads: "basRpiHook"

Anonymous    Jan 01, 2000