Errata

Developing ASP Components

Errata for Developing ASP 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 xvii
The following information was added to the preface

"We have a web site for the book, where we'll list examples,
errata, and any plans for future editions. You can access this
page at:

http://www.oreilly.com/catalog/9781565924468/

For more information about this book and others, see the
O'Reilly web site:

http://www.oreilly.com"

In addition, the first email address listed used to read:

"nuts@oreilly.com"

It now reads:

"info@oreilly.com"

Anonymous    Jan 01, 2000
Printed
Page 22

Under the "Further Reading" heading, the third bulleted item used to read:

"If you do not have Windows NT 4.0 or above, or don't have access
to IIS, you can still work the ASP examples in this book by down-
loading the Personal Web Server for Windows (and for the Mac) at
http://www.microsoft.com/windows/ie/pws/default.htm."

It now reads:

"If you do not have Windows NT 4.0 or above, or don't have access
to IIS, you can still work the ASP examples in this book by down-
loading the Personal Web Server for Windows at http://www.microsoft.
com/windows/ie/pws/default.htm."

Anonymous    Oct 01, 1999
Printed
Page 22

"Further Reading," 4th b.l. item used to read:

"You can read more..."

The entire item is now deleted.

Anonymous    Jul 01, 1999
Printed
Page 22
last b.l. item

The second URL (the Microsoft URL) now reads:

"http://msdn.microsoft.com/library/techart/
msdn_unixcom.htm"

Anonymous    Jul 01, 1999
Printed
Page 92

last code fragment used to read:

("int * tstValue;")

The code fragment now reads:

"int tstValue"

Anonymous    Jul 01, 1999
Printed
Page 93

Example 4-6, line 4 now reads:

"Set tst = Server.CreateObject("CPPThreads.
thrdTest.1")"

Anonymous    Jul 01, 1999
Printed
Page 93

Example 4-6, line 5 used to read:

('Set tst = Application("tst")')

The entire line has now been deleted.

Anonymous    Jul 01, 1999
Printed
Page 93

Example 4-6, line 14 used to read:

("set tst = Application...")

The line now reads:

"Set tst = Server.CreateObject("CPPThreads.
thrdTest.1")"

Anonymous    Jul 01, 1999
Printed
Page 99

"Further Reading," URL in 3rd b.l. item now reads:

"http://msdn.microsoft.com/library/devprods
/vs6/vc++/vccore/_core_multithreading.3a_.
how_to_use_the_synchronization_classes.htm"

Anonymous    Jul 01, 1999
Printed
Page 99

"Further Reading," URL in 4th b.l. item now reads:

"http://msdn.microsoft.com/library/devprods
/vs6/vj/chap17.htm"

Anonymous    Jul 01, 1999
Printed
Page 99

"Further Reading," URL in 5th b.l. item now reads:

"http://msdn.microsoft.com/library/devprods
/vs6/vb/html/vbcondesigningthreadsafedlls.htm"

Anonymous    Jul 01, 1999
Printed
Page 100
"Further Reading," the URL in the only bulleted

item on the page now reads:

"http://msdn.microsoft.com/library/backgrnd
/html/msdn_dcomarch.htm"

Anonymous    Jul 01, 1999
Printed
Page 107

last body para., last line used to read:

"unattended execution"

It now reads:

"unattended execution (for VB5SP2 or earlier)"

Anonymous    Jul 01, 1999
Printed
Page 109

last full body para., 2nd to last line used to read:

"unattended execution"

It now reads:

"unattended execution (for VB5 SP2 or earlier)"

Anonymous    Jul 01, 1999
Printed
Page 120

"Further Reading," the URL in b.l. item 1 now reads:

"http://www.microsoft.com/com/tech/mts.asp"

Anonymous    Jul 01, 1999
Printed
Page 120

"Further Reading," the URL in b.l. item 3 now reads:

"http://msdn.microsoft.com/library/periodic
/period97/html/viper.htm"

Anonymous    Jul 01, 1999
Printed
Page 120
"Further Reading," the URL in the last b.l. item

now reads:

"http://msdn.microsoft.com/library/techart
/msdn_resdispr.htm"

Anonymous    Jul 01, 1999
Printed
Page 147

The second bulleted item read:

http://premium.microsoft.com/msdn/library/sdkdoc/iishelp/iis/htm/asp/introbj_1orp.htm

It now reads:

http://msdn.microsoft.com/library/sdkdoc/iisref/iiwaobb.htm

Anonymous    Jun 01, 1999
Printed
Page 147
"Further Reading," the URL in the 2nd b.l.

item now reads:

"http://msdn.microsoft.com/library/sdkdoc
/iisref/iiwaobb.htm"

Anonymous    Jul 01, 1999
Printed
Page 163-164
In Example 7-2, the first parameter in each of the component's

methods is passed by reference to demonstrate the two passing methods with
VB. However, as this value is not changed, and as a constant is passed as
the argument, the parameter should have been marked with the ByVal modifier.
Not doing so may generate an error in certain environments, such as with PWS
and NT Workstation.

Anonymous   
Printed
Page 171
"Further Reading," the URL in the 1st b.l.

item now reads:

"http://msdn.microsoft.com/library/techart
/msdn_multinvb.htm"

Anonymous    Jul 01, 1999
Printed
Page 171
"Further Reading," the URL in the 2nd b.l.

item now reads:

"http://msdn.microsoft.com/library/devprods
/vs6/vinterdev/vidue/html
/viconthescriptdebuggingprocess.htm"

Anonymous    Jul 01, 1999
Printed
Page 171
"Further Reading," the URL in the 3rd b.l.

item now reads:

"http://www.microsoft.com/mind/0498/aspvb.htm"

Anonymous    Jul 01, 1999
Printed
Page 172

The URL in the first b.l. item now reads:

"http://www.microsoft.com/mind/0498/mts.htm"

Anonymous    Jul 01, 1999
Printed
Page 172

The URL in the 2nd b.l. item now reads:

"http://msdn.microsoft.com/library/sdkdoc
/iisref/crtc5ueb.htm"

Anonymous    Jul 01, 1999
Printed
Page 186
Example 8-8, line 6 (On Error GoTo HandleError)

The following lines have been inserted immediately after line 6:

"Set objContext = GetObjectContext()
Set objResponse = objContext.item("Response")"

Anonymous    Jul 01, 1999
Printed
Page 191
Bottom of page, added the following note

Assigning an apartment-threaded component
to the Application object at best may lock
your Web server to one user session, or at
worst may cause your server to fail completely.
Application objects should be both-threaded
only. Examples 8-9 and 8-10 show access of VB
apartment-threaded components. For best results,
'borrow' both-threaded components from either
the Java or the C++ chapters for these examples.

Anonymous    Jul 01, 1999
Printed
Page 194

2nd para., line 6 used to read:

"tstreponse.ResponseTest"

It now reads:

"tstresponse.ResponseTest"

Anonymous    Jul 01, 1999
Printed
Page 194

Example 8-12, last line used to read:

"Dim sessnTestObject As test"

It now reads:

"Dim sessnTestObject As ResponseTest"

Anonymous    Jul 01, 1999
Printed
Page 210

The URL in the last b.l. item now reads:

"http://msdn.microsoft.com/library/sdkdoc
/iisref/crtc75kj.htm"

Anonymous    Jul 01, 1999
Printed
Page 234
"Further Reading," the URL in the 1st b.l.

item now reads:

"http://msdn.microsoft.com/library/sdkdoc/
dasdk/sdko4vcn.htm"

Anonymous    Jul 01, 1999
Printed
Page 240

Example 10-1, line 12 used to read:

"conn.ActiveConnection = cn"

Inserted "Set" at the beginning of the line, so
that it now reads:

"Set conn.ActiveConnection = cn"

Anonymous    Jul 01, 1999
Printed
Page 263
"Further Reading," 1st b.l. item has been deleted.

Anonymous    Jul 01, 1999
Printed
Page 293
"Further reading," the URL in the 1st b.l. item

now reads:

"http://msdn.microsoft.com/workshop/server
/asp/comp.asp"

Anonymous    Jul 01, 1999
Printed
Page 293
"Further Reading," the URL in the 3rd b.l. item

now reads:

"http://msdn.microsoft.com/library/periodic
/period97/f1/d4/s24618.htm"

Anonymous    Jul 01, 1999
Printed
Page 316
Example 12-14, line 6

A semicolon has been added to the end of the line, so
that it now reads:

"CComVarianvtPara = "<P>";"

Anonymous    Jul 01, 1999
Printed
Page 355
Further Reading, the URL in the 1st b.l. item

now reads:

"http://msdn.microsoft.com/library/techart
/msdn_vc6oledbprov.htm"

Anonymous    Jul 01, 1999
Printed
Page 355
Further Reading, the URL in the last b.l. item

now reads:

"http://msdn.microsoft.com/library/devprods
/vs6/vc++/vcsample/vcsmpsampclnt.htm"

Anonymous    Jul 01, 1999
Printed
Page 373
Further Reading, the URL in the 2nd b.l. item

now reads:

"http://msdn.microsoft.com/library/devprods
/vs6/vc++/vcsample/_sample_atl_mfcatl.htm"

Anonymous    Jul 01, 1999
Printed
Page 373
Further Reading, the URL in the 3rd b.l. item

now reads:

"http://msdn.microsoft.com/library/devprods
/vs6/vc++/vccore
/vchowcreateatlprojectthatsupportsmfc.htm"

Anonymous    Jul 01, 1999
Printed
Page 374

The URL in the 1st b.l. item now reads:

"http://msdn.microsoft.com/library/devprods
/vs6/vc++/vccore/_core_serialization.3a_.
making_a_serializable_class.htm"

Anonymous    Jul 01, 1999
Printed
Page 374

The URL in the 2nd b.l. item now reads:

"http://msdn.microsoft.com/library/devprods
/vs6/vc++/vccore/_core_cobject_class.3a_.
specifying_levels_of_functionality.htm"

Anonymous    Jul 01, 1999
Printed
Page 374

The URL in the 3rd b.l. item now reads:

"http://msdn.microsoft.com/library/devprods
/vs6/vc++/vccore/_core_multithreading.3a_.
creating_worker_threads.htm"

Anonymous    Jul 01, 1999
Printed
Page 384

Line 24 used to read:

"String MoveTop (String strObject...)"

"public" has been added at the beginning of the line
so it now reads:

"public String Movetop..."

Anonymous    Jul 01, 1999
Printed
Page 384

Line 34 used to read:

"String Hide (String strObject...)"

"public" has been added at the beginning of the line
so it now reads:

"public String Hide..."

Anonymous    Jul 01, 1999
Printed
Page 384

The last line used to read:

"String Show (String strObject...)"

"public" has been added at the beginning of the line
so it now reads:

"public String Show..."

Anonymous    Jul 01, 1999
Printed
Page 418
The last 7 lines of code have been replaced with

the following code:

"// response object defined earlier
iObjResponse.Write(v);
v.putString("<p>");
iObjResponse.Write(v);
i = iObjSession.getLCID();
v.putInt(i); iObjResponse.Write(v);
}"

Anonymous    Jul 01, 1999
Printed
Page 433
Further Reading, the URL in the 1st b.l. item

has been changed to:

"http://technet.microsoft.com/cdonline/content
/complete/internet/server/transsrv/technote
/mtsjava.htm"

Anonymous    Jul 01, 1999
Printed
Page 433
Further Reading, the URL in the 2nd b.l. item

now reads:

"http://msdn.microsoft.com/library/sdkdoc
/mts20sp1/building_965d.htm"

Anonymous    Jul 01, 1999
Printed
Page 433
Further Reading, the URL in the 3rd b.l. item

now reads:

"http://msdn.microsoft.com/library/sdkdoc
/iisref/buil3foz.htm"

Anonymous    Jul 01, 1999
Printed
Page 433
Further Reading, the URL in the 5th b.l. item

now reads:

"http://msdn.microsoft.com/library/techart
/msdn_mtsjava.htm"

Anonymous    Jul 01, 1999
Printed
Page 464
Further Reading, the URL in the 1st b.l.

item now reads:

"http://msdn.microsoft.com/library/devprods/vs6/
vj/vjconintroductiontowfcapplicationmodel.htm"

Anonymous    Jul 01, 1999
Printed
Page 464
Further Reading, the URL in the 4th b.l.

item now reads:

"http://msdn.microsoft.com/library/sdkdoc
/dasdk/mdev7cof.htm"

Anonymous    Jul 01, 1999
Printed
Page 464
Further Reading, the URL in the 5th item

now reads:

"http://msdn.microsoft.com/library/sdkdoc
/dasdk/mdev7cof.htm"

Anonymous    Jul 01, 1999
Printed
Page 477
Further reading, the URL in the 3rd b.l. item

now reads:

"http://msdn.microsoft.com/library/periodic
/period98/html/jdirect.htm"

Anonymous    Jul 01, 1999