We are porting the code from HPUX to Win 2003 Server using
VS .NET 2005.



We are able to compile the program, but the program cannot
reference some of the sybase related definitions( which are
available in ctlib and cslib of sybase source files
mentioned below), due to this we are getting the below
linker errors.



Do we need to use the different ct/cs libraries for Windows
to connect into the sybase running on Solaris system?

Is the source/libraries are available to download for
Windows?

At present I am using the source from
ftp://ftp.ibiblio.org/pub/Linux/ALPHA/freetds/current/, but
still the problem persists.


Any ideas? Am i missing anything?

ctcancel.c

ctcmd.c

ctresult.c

ctrinfo.c

ctdesc.c

ctbind.c

ctfetch.c

csconfig.c

ctcallbk.c

ctinit.c

ctexit.c

csctxdrp.c

csctxglb.c

ctcon.c

cscnvrt.c





Linker Errors are below:

Error 278 error LNK2019: unresolved external symbol
_ct_con_props@24 referenced in function _DB_AddCmd
coDbGen_ct.obj

Error 279 error LNK2019: unresolved external symbol
_ct_cmd_drop@4 referenced in function _DB_SubmitQuery
coDbGen_ct.obj

Error 280 error LNK2019: unresolved external symbol
_ct_cancel@12 referenced in function _DB_SubmitQuery
coDbGen_ct.obj

Error 281 error LNK2019: unresolved external symbol
_ct_send@4 referenced in function _submitQuery
coDbGen_ct.obj

Error 283 error LNK2019: unresolved external symbol
_ct_command@20 referenced in function _submitQuery
coDbGen_ct.obj

Error 284 error LNK2019: unresolved external symbol
_ct_cmd_alloc@8 referenced in function _submitQuery
coDbGen_ct.obj

Error 286 error LNK2019: unresolved external symbol
_ct_results@8 referenced in function _getResults
coDbGen_ct.obj

Error 287 error LNK2019: unresolved external symbol
_ct_res_info@20 referenced in function _getNumRows
coDbGen_ct.obj

Error 288 error LNK2019: unresolved external symbol
_ct_fetch@20 referenced in function _getRowResults
coDbGen_ct.obj

Error 289 error LNK2019: unresolved external symbol
_ct_bind@24 referenced in function _getRowResults
coDbGen_ct.obj

Error 290 error LNK2019: unresolved external symbol
_ct_describe@12 referenced in function _getRowResults
coDbGen_ct.obj

Error 291 error LNK2019: unresolved external symbol
_cs_config@24 referenced in function _coDbInit
coDbGen_ct.obj

Error 292 error LNK2019: unresolved external symbol
_ct_callback@20 referenced in function _coDbInit
coDbGen_ct.obj

Error 293 error LNK2019: unresolved external symbol
_ct_init@8 referenced in function _coDbInit coDbGen_ct.obj

Error 294 error LNK2019: unresolved external symbol
_cs_ctx_drop@4 referenced in function _exitHandler
coDbGen_ct.obj

Error 295 error LNK2019: unresolved external symbol
_ct_exit@8 referenced in function _exitHandler
coDbGen_ct.obj

Error 296 error LNK2019: unresolved external symbol
_cs_ctx_global@8 referenced in function _exitHandler
coDbGen_ct.obj

Error 297 error LNK2001: unresolved external symbol
_cs_ctx_global@8 DBCmn_ct.obj

Error 302 error LNK2019: unresolved external symbol
_ct_connect@12 referenced in function _coDbConnect_P
coDbGen_ct.obj

Error 305 error LNK2019: unresolved external symbol
_ct_con_drop@4 referenced in function _coDbConnect_P
coDbGen_ct.obj

Error 306 error LNK2019: unresolved external symbol
_ct_con_alloc@8 referenced in function _coDbConnect_P
coDbGen_ct.obj

Error 307 error LNK2019: unresolved external symbol
_cs_ctx_alloc@8 referenced in function _coDbConnect_P
coDbGen_ct.obj

Error 308 error LNK2019: unresolved external symbol
_ct_close@8 referenced in function _coDbDisconnect
coDbGen_ct.obj

Error 311 error LNK2019: unresolved external symbol
_cs_convert@24 referenced in function _coDbConvert
DBCmn_ct.obj