Migrating 16-bit ODBC DLL (SQLServer) to 32-bit ODBC DLL (MS Access) 
Author Message
 Migrating 16-bit ODBC DLL (SQLServer) to 32-bit ODBC DLL (MS Access)

Hello everyone.

I have a C project that links into a 16-bit DLL. This DLL connects to a SQL
Server using ODBC (I have included in the project ODBC.LIB, SQL.H,
SQLEXT.H), perform certain data  retreival and storage. This DLL is called
from an EXE file compiled in VB3.

I need to migrate this DLL (the C code) to 32-bit for a VB5 project. The
data isnt in SQL Server anymore, it resides in a MS Access database.

I have the following questions:

1) Do the same (I mean the corresponding 32-bit version)
ODBC.LIB/SQL.H/SQLEXT.H files work for Access?. The SQL.H file reads "ODBC
Core Functions, so I might think these files remain the same for Access (By
theory, ODBC doesnt care the data source, right?). Contrary, There exist
ODBC.LIB/ACCESS.H (to say something) with "ODBC Core Functions" for Access?
Where can I find them and examples of usage.

2) Which are the issues to be aware of migrating the C code for a 32-bit
compiler? Any document on-line about it? How difficult is it? The old code
is written for Borland C (oopps!). Do I stick to Borland or leave for Visual
C++? Or its the same effort migrating the code for both compilers.

Id appreciate any kind of help.

Thanks.



Tue, 22 Jan 2002 03:00:00 GMT  
 Migrating 16-bit ODBC DLL (SQLServer) to 32-bit ODBC DLL (MS Access)
Hello everyone.

I have a C project that links into a 16-bit DLL. This DLL connects to a SQL
Server using ODBC (I have included in the project ODBC.LIB, SQL.H,
SQLEXT.H), perform certain data  retreival and storage. This DLL is called
from an EXE file compiled in VB3.

I need to migrate this DLL (the C code) to 32-bit for a VB5 project. The
data isnt in SQL Server anymore, it resides in a MS Access database.

I have the following questions:

1) Do the same (I mean the corresponding 32-bit version)
ODBC.LIB/SQL.H/SQLEXT.H files work for Access?. The SQL.H file reads "ODBC
Core Functions, so I might think these files remain the same for Access (By
theory, ODBC doesnt care the data source, right?). Contrary, There exist
ODBC.LIB/ACCESS.H (to say something) with "ODBC Core Functions" for Access?
Where can I find them and examples of usage.

2) Which are the issues to be aware of migrating the C code for a 32-bit
compiler? Any document on-line about it? How difficult is it? The old code
is written for Borland C (oopps!). Do I stick to Borland or leave for Visual
C++? Or its the same effort migrating the code for both compilers.

Id appreciate any kind of help.

Thanks.



Tue, 22 Jan 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. 16 bit dll and 32 bit dll

2. Help..-NT 4.0-ISA access with 16 Bit GFA and 32 Bit DLL

3. Accessing 16-bit DLL from 32-bit VB

4. Accessing 16 bit-DLL from 32 bit Code

5. Callingl a 16-bit DLL from VB5 or 6 (32-Bit)

6. Calling 16 bit DLL's in VB5 ENV(32 bit)

7. calling a 16-bit dll from VB 32-bit

8. Need to write 32-bit DLL to do 16-bit calls to a software interrupt

9. calling a 16-bit dll from a 32-bit application

10. How to call a 16-bit dll in a 32-bit application

11. Calling 16 bit DLL from 32 bit app

12. 32 bit dlls from 16 bit VB

 

 
Powered by phpBB® Forum Software