Is any one acheived the Connection between COBOL and MySQL. If so give me details..... :-)
Here I am trying to establish the connection between COBOL and MySQL via C API provided by MySQL.
I have made external subroutine calls to those C API from COBOL. For that I have to include some library files into the COBOL during Linking such as 'libmysql.lib' and 'mysqlclient.lib'.
While linking the COBOL linker recognize those Lib file but shows some errors too;
X4Cini.obj : error LNK2001: unresolved external symbol __MYSQL_ERROR
X4Cini.obj : error LNK2001: unresolved external symbol __MYSQL_INIT
X4Cini.obj : error LNK2001: unresolved external symbol __MYSQL_REAL_CONNECT
X4Cini.obj : error LNK2001: unresolved external symbol __MYSQL_CLOSE
X4Cini.dll : fatal error LNK1120: 4 unresolved externals
I have tested those C API functionality in VC++ it's working fine just by linking libmysql.lib to it's linker. why it does not in COBOL?
Can any one give me idea to do next step....
Thanks
Arun.