FIX: SQL Server CE is missing the Oledb.lib file for eMbedded Visual C++ 4.0 (323143)



The information in this article applies to:

  • Microsoft SQL Server 2000 Windows CE Edition 2.0
  • Microsoft SQL Server 2000 Windows CE Edition 1.1 SP1 Update

This article was previously published under Q323143
BUG #: 4516 SSCE

SYMPTOMS

When you use Microsoft eMbedded Visual C++ 4.0 or Windows CE .NET (Platform Builder 4.0), customers cannot compile an OLE DB application or any other program that requires the Oledb.lib file.

CAUSE

The SQL Server CE Service Pack 1 (SP1) refresh did not include the Oledb.lib file with the setup program. Without the Oledb.lib file, a developer cannot compile anything that references SQL Server CE with eMbedded Visual C++ 4.0 and Windows CE .NET (Platform Builder 4.0).

RESOLUTION

To download the new Ssceoledb.h header file, see the following article in the Microsoft Knowledge Base:

825393 Building OLE DB applications for SQL Server CE and Windows CE .NET

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

The SQL Server CE SP1 refresh gives developers the opportunity to develop with eMbedded Visual C++ 4.0 and Windows CE .NET (Platform Builder 4.0). However, it does not include the Oledb.lib file with the setup program. Without the Oledb.lib file, a developer cannot compile anything that references SQL Server CE with eMbedded Visual C++ 4.0.

SQL Server CE 2.0 only supports Windows CE .NET 4.1 (Platform Builder 4.1). It will install Oledb.lib files if Platform Builder 4.1 is already installed on the computer. However, SQL Server CE 2.0 does not support Windows CE .NET 4.0 (Platform Builder 4.0). Therefore, it does not install the Oledb.lib files for it.

Modification Type:MinorLast Reviewed:9/9/2005
Keywords:kbbug kbfix kbQFE KB323143