Dynamic vs static linkage
Igor Korot <[email protected]>
| Newsgroups | gmane.comp.db.unixodbc.devel |
|---|---|
| Message-ID | <15331048.1219277199035.JavaMail.root@elwamui-rubis.atl.sa.earthlink.net> |
Hi, (Nick), Is there a difference between running unixODBC in dynamic (.so) vs static (.a) library? I tried following code: RETCODE ret; SQLWCHAR driverDesc[1024]; ret = SQLDriwers( m_henv, SQL_FETCH_FIRST, driverDesc, sizeof( driverDesc ) -1, 0, 0, 0, 0 ); if( ret != SQL_SUCCESS ) // generate error message else // call the same function with SQL_FETCH_NEXT When I call this code inside .so, it runs and executes fine, however, when I do this in .a library it returns HY090. I'm working with KDevelop and whatever it generated for my project. Thank you. _______________________________________________ unixODBC-dev mailing list [email protected] http://mail.easysoft.com/mailman/listinfo/unixodbc-dev