PRB: Cannot Call W3DBLIB.DLL Functions from Macro Languages

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
Issue type :


Last Reviewed: March 11, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.