PRB: Cannot Call W3DBLIB.DLL Functions from Macro Languages

Last reviewed: April 25, 1997
Article ID: Q73213

The information in this article applies to:
  • Microsoft SQL Server Programmer's Toolkit, version 4.2

SYMPTOMS

The program cannot properly call the Windows version 3.0 DB-Library (DB-Lib) functions in W3DBLIB.DLL from the Word for Windows or Excel for Windows macro languages.

CAUSE

Most of the DB-Lib functions in W3DBLIB.DLL either return a pointer or take a pointer as a parameter. Neither the Word for Windows or Excel for Windows macro languages has a pointer data type. Thus, neither can accept a pointer as a return value from a db-lib function or pass a pointer to a db-lib function.

WORKAROUND

This is a limitation of the Word for Windows and Excel for Windows macro languages.


Additional query words: dblib
Keywords : kbprg SSrvDB_Lib SSrvProg
Version : 4.2
Platform : WINDOWS


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 25, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.