All kinds of problems can occur when moving code from a 32-bit data environment to a 64-bit data environment. One common problem is that an 64-bit application that writes 32-bit values as 64-bit values. A 32-bit application accessing the same database will access the same data in 32-bits, with resulting errors. Learn to Code at building apps with iOS 12 and Swift 4 today!this video you will.
Easysoft ODBC-ODBC Bridge
Can I can connect a 64-bit application to a 32-bit ODBC driver?
- Article:
- 01026
- Last Reviewed:
- 19th October 2011
- Revision:
- 1
Mahabharata full episode. Yes, you can connect a 64-bit application to a 32-bit ODBC driver by using the ODBC-ODBC Bridge.
Without the ODBC-ODBC Bridge, a 64-bit application cannot connect to a 32-bit ODBC driver. 64-bit applications must be linked against 64-bit libraries. For this reason, 64-bit applications can only link against a 64-bit ODBC Driver Manager library. 64-bit ODBC Driver Managers can only load 64-ODBC drivers. For some ODBC drivers, only a 32-bit version is available. For example, Microsoft’s Access ODBC driver.
The ODBC-ODBC Bridge is a client/server product. The ODBC-ODBC Bridge Client is not linked against the ODBC-ODBC Bridge Server. The ODBC-ODBC Bridge Client communicates with the ODBC-ODBC Bridge Server by using the Remote Procedure Call (RPC) mechanism. A 64-bit ODBC-ODBC Bridge Client can be used with a 32-bit ODBC-ODBC Bridge Server and vice versa. (The RPC mechanism also allows a ODBC-ODBC Bridge Client for one platform to be used with a ODBC-ODBC Bridge Server for a different platform. For example, a Linux ODBC-ODBC Bridge Client and a Windows ODBC-ODBC Bridge Server.)
To connect a 64-bit application with a 32-bit ODBC driver, you use a 64-bit ODBC-ODBC Bridge Client and a 32-bit ODBC-ODBC Bridge Server.
ODBC calls made by your 64-bit application are passed from the 64-bit ODBC driver (the ODBC-ODBC Bridge Client) to the target 32-bit ODBC driver via the 32-bit ODBC-ODBC Bridge Server.
Example: How to Connect a 64-bit Application to a 32-bit ODBC Driver
The following steps show how to access a 32-bit ODBC driver from a 64-bit application on a 64-bit Windows machine. The ODBC driver used is the Microsoft Access ODBC driver. The application used is the SQL Server Integration Services (SSIS) Import and Export Wizard.
- In the 32-bit ODBC Data Source Administrator, configure a System data source for the Access ODBC driver.
To access the 32-bit ODBC Data Source Administrator, run the following command in the Windows Run dialog box:
Note The 32-bit ODBC Data Source Administrator is not accessible from Windows Control Panel.
- Install the 64-bit Windows ODBC-ODBC Bridge distribution.
Accept the Default option during Setup, which will install both the ODBC-ODBC Bridge Client and Server components.
- In the 64-bit ODBC Data Source Administrator (accessible from Administrative tools in Control Panel), configure an ODBC-ODBC Bridge Client data source that points to the Access ODBC driver data source.
- From the SQL Server Start menu group, click Import and Export Data (64-bit).
Amazing groovy fonts for mac. The Import and Export Wizard starts.
- Complete the Choose a Data Source dialog box:
setting value data source .net framework data provider for odbc
dsn the name of your odbc-odbc bridge client data source. driver easysoft odbc-odbc bridge
- in the choose a destination dialog box, specify the sql server instance and database into which you want to import the access data.
- complete the remainder of the import and export wizard.
how to install 32-bit program & apps in 64-bit windows pc 10/8/7
see also
applies to
- products
- easysoft odbc-odbc bridge