Lots of Warnings and Errors when trying ExampleC with Static Libraries

I am using the ExampleC example.c file to test the static libraries, since I will need static libraries when I go to fortran. I have uncomment the line:// To use the static version of TurboActivate then uncomment the next line#define TURBOACTIVATE_STATIC

I have all the necessary .lib files in the solution directory. I get all the errors once the curllib.lib is included in the directory.

Here are the files I have included instead of the .dll:cryptlib.libtinyxml.libcurllib.libTurboActivate-MT.lib

I get all the following warnings and errors (below) when I try to compile.

Thank you for all your help!

Oren

1>------ Build started: Project: ExampleC, Configuration: Debug Win32 ------1>Compiling...1>Example.c1>y:\work\software\lime lm\turboactivate\api\c\examplec\example.c(41) : warning C4133: 'function' : incompatible types - from 'char [34]' to 'STRCTYPE'1>y:\work\software\lime lm\turboactivate\api\c\examplec\example.c(86) : warning C4133: 'function' : incompatible types - from 'char [34]' to 'STRCTYPE'1>y:\work\software\lime lm\turboactivate\api\c\examplec\example.c(101) : warning C4133: 'function' : incompatible types - from 'char [35]' to 'STRCTYPE'1>y:\work\software\lime lm\turboactivate\api\c\examplec\example.c(45) : warning C4101: 'featureValue' : unreferenced local variable1>Linking...1>TurboActivate-MT.lib(TurboActivate.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>TurboActivate-MT.lib(TurboActivate.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>TurboActivate-MT.lib(ReadWriteFiles.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>TurboActivate-MT.lib(ReadWriteFiles.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>TurboActivate-MT.lib(CurlDownload.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>TurboActivate-MT.lib(CurlDownload.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>TurboActivate-MT.lib(ProductDetails.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>TurboActivate-MT.lib(ProductDetails.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>TurboActivate-MT.lib(dllmain.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>TurboActivate-MT.lib(dllmain.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>TurboActivate-MT.lib(Activation.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>TurboActivate-MT.lib(Activation.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>TurboActivate-MT.lib(UtilFuncs.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>TurboActivate-MT.lib(UtilFuncs.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>TurboActivate-MT.lib(Trial.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>TurboActivate-MT.lib(Trial.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>TurboActivate-MT.lib(ProxyResolverWin.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>TurboActivate-MT.lib(ProxyResolverWin.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>TurboActivate-MT.lib(HardwareWin.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>TurboActivate-MT.lib(HardwareWin.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>TurboActivate-MT.lib(TrialExtension.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>TurboActivate-MT.lib(TrialExtension.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>TurboActivate-MT.lib(DetectVM.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>TurboActivate-MT.lib(DetectVM.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(cryptlib.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>cryptlib.lib(cryptlib.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(filters.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>cryptlib.lib(filters.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(misc.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>cryptlib.lib(misc.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(asn.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>cryptlib.lib(asn.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(queue.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>cryptlib.lib(queue.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(integer.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>cryptlib.lib(integer.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(rsa.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>cryptlib.lib(rsa.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(osrng.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>cryptlib.lib(osrng.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(randpool.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>cryptlib.lib(randpool.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(pubkey.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>cryptlib.lib(pubkey.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(oaep.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>cryptlib.lib(oaep.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(sha.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>cryptlib.lib(sha.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(iterhash.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>cryptlib.lib(iterhash.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(rijndael.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>cryptlib.lib(rijndael.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(algparam.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>cryptlib.lib(algparam.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(modes.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>cryptlib.lib(modes.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(basecode.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>cryptlib.lib(basecode.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(dll.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>cryptlib.lib(dll.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(pkcspad.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>cryptlib.lib(pkcspad.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(base64.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>cryptlib.lib(base64.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(base32.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>cryptlib.lib(base32.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(fips140.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>cryptlib.lib(fips140.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(mqueue.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>cryptlib.lib(mqueue.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(cpu.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>cryptlib.lib(cpu.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(nbtheory.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>cryptlib.lib(nbtheory.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(hrtimer.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>cryptlib.lib(hrtimer.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(rdtables.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>cryptlib.lib(rdtables.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(gf2n.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>cryptlib.lib(gf2n.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(ecp.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>cryptlib.lib(ecp.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(ec2n.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>cryptlib.lib(ec2n.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(gfpcrypt.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>cryptlib.lib(gfpcrypt.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(rng.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>cryptlib.lib(rng.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(hex.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>cryptlib.lib(hex.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(dsa.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>cryptlib.lib(dsa.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(hmac.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored1>cryptlib.lib(hmac.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored1>cryptlib.lib(rng.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z)1>cryptlib.lib(hex.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z)1>cryptlib.lib(dsa.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z)1>cryptlib.lib(hmac.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z)1>cryptlib.lib(gf2n.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z)1>cryptlib.lib(ecp.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z)1>cryptlib.lib(ec2n.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z)1>cryptlib.lib(gfpcrypt.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z)1>cryptlib.lib(base32.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z)1>cryptlib.lib(mqueue.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z)1>cryptlib.lib(nbtheory.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z)1>cryptlib.lib(hrtimer.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z)1>cryptlib.lib(modes.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z)1>cryptlib.lib(basecode.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z)1>cryptlib.lib(dll.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z)1>cryptlib.lib(base64.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z)1>cryptlib.lib(oaep.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z)1>cryptlib.lib(iterhash.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z)1>cryptlib.lib(rijndael.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z)1>cryptlib.lib(algparam.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z)1>cryptlib.lib(rsa.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z)1>cryptlib.lib(osrng.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z)1>cryptlib.lib(randpool.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z)1>cryptlib.lib(pubkey.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z)1>cryptlib.lib(filters.obj) : error LNK2019: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z) referenced in function "public: void __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Xran(void)const " (?_Xran@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEXXZ)1>cryptlib.lib(asn.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z)1>cryptlib.lib(queue.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z)1>cryptlib.lib(integer.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z)1>TurboActivate-MT.lib(Trial.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z)1>TurboActivate-MT.lib(HardwareWin.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z)1>TurboActivate-MT.lib(TrialExtension.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z)1>cryptlib.lib(cryptlib.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z)1>TurboActivate-MT.lib(TurboActivate.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z)1>TurboActivate-MT.lib(CurlDownload.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z)1>TurboActivate-MT.lib(ProductDetails.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z)1>TurboActivate-MT.lib(Activation.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z)1>cryptlib.lib(rng.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z)1>cryptlib.lib(hex.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z)1>cryptlib.lib(dsa.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z)1>cryptlib.lib(hmac.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z)1>cryptlib.lib(gf2n.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z)1>cryptlib.lib(ecp.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z)1>cryptlib.lib(ec2n.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z)1>cryptlib.lib(gfpcrypt.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z)1>cryptlib.lib(base32.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z)1>cryptlib.lib(mqueue.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z)1>cryptlib.lib(nbtheory.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z)1>cryptlib.lib(hrtimer.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z)1>cryptlib.lib(modes.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z)1>cryptlib.lib(basecode.obj) : error LNK2019: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z) referenced in function __ehhandler$?IsolatedInitialize@Grouper@CryptoPP@@UAEXABVNameValuePairs@2@@Z1>cryptlib.lib(dll.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z)1>cryptlib.lib(base64.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z)1>cryptlib.lib(oaep.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z)1>cryptlib.lib(iterhash.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z)1>cryptlib.lib(rijndael.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z)1>cryptlib.lib(algparam.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z)1>cryptlib.lib(rsa.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z)1>cryptlib.lib(osrng.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z)1>cryptlib.lib(randpool.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z)1>cryptlib.lib(pubkey.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z)1>cryptlib.lib(filters.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z)1>cryptlib.lib(asn.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z)1>cryptlib.lib(queue.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z)1>cryptlib.lib(integer.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z)1>TurboActivate-MT.lib(Trial.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z)1>TurboActivate-MT.lib(HardwareWin.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z)1>TurboActivate-MT.lib(TrialExtension.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z)1>cryptlib.lib(cryptlib.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z)1>TurboActivate-MT.lib(TurboActivate.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z)1>TurboActivate-MT.lib(CurlDownload.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z)1>TurboActivate-MT.lib(ProductDetails.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z)1>TurboActivate-MT.lib(Activation.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z)1>TurboActivate-MT.lib(TrialExtension.obj) : error LNK2001: unresolved external symbol "private: static void __cdecl std::locale::facet::_Facet_Register(class std::locale::facet *)" (?_Facet_Register@facet@locale@std@@CAXPAV123@@Z)1>cryptlib.lib(integer.obj) : error LNK2001: unresolved external symbol "private: static void __cdecl std::locale::facet::_Facet_Register(class std::locale::facet *)" (?_Facet_Register@facet@locale@std@@CAXPAV123@@Z)1>TurboActivate-MT.lib(ReadWriteFiles.obj) : error LNK2019: unresolved external symbol "private: static void __cdecl std::locale::facet::_Facet_Register(class std::locale::facet *)" (?_Facet_Register@facet@locale@std@@CAXPAV123@@Z) referenced in function "public: void __thiscall std::locale::facet::_Register(void)" (?_Register@facet@locale@std@@QAEXXZ)1>TurboActivate-MT.lib(ProductDetails.obj) : error LNK2001: unresolved external symbol "private: static void __cdecl std::locale::facet::_Facet_Register(class std::locale::facet *)" (?_Facet_Register@facet@locale@std@@CAXPAV123@@Z)1>TurboActivate-MT.lib(Activation.obj) : error LNK2001: unresolved external symbol "private: static void __cdecl std::locale::facet::_Facet_Register(class std::locale::facet *)" (?_Facet_Register@facet@locale@std@@CAXPAV123@@Z)1>TurboActivate-MT.lib(Trial.obj) : error LNK2001: unresolved external symbol "private: static void __cdecl std::locale::facet::_Facet_Register(class std::locale::facet *)" (?_Facet_Register@facet@locale@std@@CAXPAV123@@Z)1>TurboActivate-MT.lib(TrialExtension.obj) : error LNK2001: unresolved external symbol "class std::error_category const & __cdecl std::iostream_category(void)" (?iostream_category@std@@YAABVerror_category@1@XZ)1>cryptlib.lib(integer.obj) : error LNK2001: unresolved external symbol "class std::error_category const & __cdecl std::iostream_category(void)" (?iostream_category@std@@YAABVerror_category@1@XZ)1>cryptlib.lib(gf2n.obj) : error LNK2001: unresolved external symbol "class std::error_category const & __cdecl std::iostream_category(void)" (?iostream_category@std@@YAABVerror_category@1@XZ)1>TurboActivate-MT.lib(ReadWriteFiles.obj) : error LNK2019: unresolved external symbol "class std::error_category const & __cdecl std::iostream_category(void)" (?iostream_category@std@@YAABVerror_category@1@XZ) referenced in function "class std::error_code __cdecl std::make_error_code(enum std::io_errc::io_errc)" (?make_error_code@std@@YA?AVerror_code@1@W4io_errc@31@@Z)1>TurboActivate-MT.lib(ProductDetails.obj) : error LNK2001: unresolved external symbol "class std::error_category const & __cdecl std::iostream_category(void)" (?iostream_category@std@@YAABVerror_category@1@XZ)1>TurboActivate-MT.lib(Activation.obj) : error LNK2001: unresolved external symbol "class std::error_category const & __cdecl std::iostream_category(void)" (?iostream_category@std@@YAABVerror_category@1@XZ)1>TurboActivate-MT.lib(Trial.obj) : error LNK2001: unresolved external symbol "class std::error_category const & __cdecl std::iostream_category(void)" (?iostream_category@std@@YAABVerror_category@1@XZ)1>TurboActivate-MT.lib(TrialExtension.obj) : error LNK2001: unresolved external symbol "__int64 const std::_BADOFF" (?_BADOFF@std@@3_JB)1>TurboActivate-MT.lib(ReadWriteFiles.obj) : error LNK2019: unresolved external symbol "__int64 const std::_BADOFF" (?_BADOFF@std@@3_JB) referenced in function "public: class std::fpos<int> __thiscall std::basic_istream<char,struct std::char_traits<char> >::tellg(void)" (?tellg@?$basic_istream@DU?$char_traits@D@std@@@std@@QAE?AV?$fpos@H@2@XZ)1>TurboActivate-MT.lib(ProductDetails.obj) : error LNK2001: unresolved external symbol "__int64 const std::_BADOFF" (?_BADOFF@std@@3_JB)1>TurboActivate-MT.lib(Activation.obj) : error LNK2001: unresolved external symbol "__int64 const std::_BADOFF" (?_BADOFF@std@@3_JB)1>TurboActivate-MT.lib(Trial.obj) : error LNK2001: unresolved external symbol "__int64 const std::_BADOFF" (?_BADOFF@std@@3_JB)1>Y:\Work\Software\Lime LM\TurboActivate\API\C\ExampleC\Debug\ExampleC.exe : fatal error LNK1120: 5 unresolved externals1>Build log was saved at "file://y:\Work\Software\Lime LM\TurboActivate\API\C\ExampleC\Debug\BuildLog.htm"1>ExampleC - 91 error(s), 98 warning(s)========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

This looks like you're using a different version of Visual Studio. The static libraries we compiled are only for VS 2010. Soon we'll be building them for VS 2012 as well.

Thank you for the information. OK, I'll have to get 2010, then I'll try again. The DLL didn't give me any errors with 2008, but I'll try with 2010.

Thank you very much!

Oren

The DLL is different than static libraries. You can use the DLL with any version of Visual Studio (or any programming language that can call dlls, for that matter). Static libraries, on the other hand, are dependent on the compiler. In this case we only provide static libraries for VS 2010.

Maybe this would have been a better question:Can I use the DLL version with a FORTRAN program that uses MT for the libraries? I am thinking that all libraries have to be the same, regardless of the code language if they are linked together in the same exe. Is that right?

Thank you so much!

Oren

I am thinking that all libraries have to be the same, regardless of the code language if they are linked together in the same exe. Is that right?

You can use TurboActivate.dll with any language, compiled with any compiler, and any version of the libraries.

The static libraries (TurboActivate.lib) on the other hand, can only be compiled with specific versions of a compiler. In this case, the compiler that comes with Visual Studio 2010. It won't work on newer versions of the compiler or older versions of the compiler. That's just how static libraries work.

So, my advice would be just to stick with TurboActivate.dll, because that will work with your app no matter what compiler version you use.

Wonderful, but can I compile and link the .dll with my fortran program which is set to Multi-thread libs?

Thank you!

Oren

Wonderful, but can I compile and link the .dll with my fortran program which is set to Multi-thread libs?

Yes.

AWESOME!! Thank you!

My pleasure.