BUG: EXAMPLE8.C in Prog. Ref. Does Not Match Sample Program

Last reviewed: April 29, 1997
Article ID: Q113136

The information in this article applies to:

  - Microsoft SQL Server version 4.2
BUG# 9921 (4.2)

SYMPTOMS

On page 294 of the SQL Server for Windows NT "Programmer's Reference for C," there is a typographical error in the dbrpcparam call for @param4. The source for EXAMPLE8.C provided with the SQL Server Programmer's Toolkit has the third parameter (status) set to NULL, whereas in the "Programmer's Reference" it is set to DBRPCRETURN.

WORKAROUND

In order for the version in the documentation to run correctly, it is necessary to either modify the CREATE PROCEDURE statement so that @param4 is declared as an output parameter or modify the call to dbrpcparam for @param4 to use NULL as the value for the status parameter.

STATUS

Microsoft has confirmed this to be a problem in the documentation for Microsoft SQL Server version 4.2. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


Additional query words: Windows NT
Keywords : kbbug4.20 kbother SSrvDoc_Err SSrvWinNT
Version : 4.2
Platform : WINDOWS
Issue type : kbdocerr
Resolution Type : kbcode


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 29, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.