BUG: Borland DB-Lib with Vines Fails with Memory Error |
Q110007
The information in this article applies to:
- Microsoft SQL Server Programmer's Toolkit, version 4.2
BUG# 9737 (4.2)
SYMPTOMS
A program compiled using Borland's C compiler and the Microsoft MS-DOS D- Library for Borland compilers can fail with a DB-Lib error,
Unable to allocate sufficient memory
on the first call to dbopen when used with the Network Library (Net-Library) for Banyan Vines IP.
CAUSE
This problem is only known to occur when the SQL Server name is hard coded into the program using strcpy or similar function.
WORKAROUND
The following are workarounds to the problem:
- Use "gets" to retrieve the name of the server.
- Use any other Net-Library.
- Run the program a second time.
- Use the Microsoft MS-DOS DB-Lib files with a Microsoft compiler.
STATUS
Microsoft has confirmed this to be a problem in DB-Library version 4.20.00. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
Additional query words: kernel dblib
Keywords : kbnetwork
Issue type :
Technology : kbSQLServSearch kbAudDeveloper kbSQLServPTK420
Last Reviewed: March 19, 1999 |