View previous topic :: View next topic |
Author |
Message |
ideage
Joined: 12 Jul 2006 Posts: 63 Location: china
|
Posted: Thu Aug 17, 2006 3:06 am Post subject: odbc32.def ,create ODBC32.LIB |
|
|
when you use ODBC in windows, you must gen a odbc32.lib , I download IMPLIB,and write a odbc32.def file:
Quote: |
LIBRARY odbc32
EXETYPE NT
SUBSYSTEM WINDOWS
EXPORTS
_SQLAllocEnv@4 = SQLAllocEnv
_SQLAllocConnect@8 = SQLAllocConnect
_SQLAllocHandle@12 = SQLAllocHandle
_SQLColAttribute@28 = SQLColAttribute
_SQLConnect@28 = SQLConnect
_SQLDisconnect@4 = SQLDisconnect
_SQLDriverConnect@32 = SQLDriverConnect
_SQLDrivers@32 = SQLDrivers
_SQLDataSources@32 = SQLDataSources
_SQLExecDirect@12 = SQLExecDirect
_SQLFetch@4 = SQLFetch
_SQLFreeConnect@4 = SQLFreeConnect
_SQLFreeHandle@8 = SQLFreeHandle
_SQLFreeEnv@4 = SQLFreeEnv
_SQLEndTran@12 = SQLEndTran
_SQLFreeStmt@8 = SQLFreeStmt
_SQLGetData@24 = SQLGetData
_SQLGetDiagField@28 = SQLGetDiagField
_SQLGetDiagRec@32 = SQLGetDiagRec
_SQLGetInfo@20 = SQLGetInfo
_SQLNumResultCols@8 = SQLNumResultCols
_SQLSetConnectOption@12 = SQLSetConnectOption
_SQLSetEnvAttr@16 = SQLSetEnvAttr
_SQLSetStmtOption@12 = SQLSetStmtOption |
use "implib odbc32.lib odbc32.def" command to create ODBC32.LIB
enjoy!
________
vaporizer shop
Last edited by ideage on Wed Feb 02, 2011 5:01 pm; edited 1 time in total |
|
Back to top |
|
|
jpelcis
Joined: 09 Mar 2006 Posts: 40
|
Posted: Fri Aug 18, 2006 12:02 pm Post subject: |
|
|
While it's nice to know that you solved your problem, setup instructions were already written and available online in the wiki. The solution there is also more likely to work with future versions if they are ever released. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|