开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

C++ upgrade api to 10.11, __bid64.. error


 

I am in the process of upgrading the api from 9.85 to 10.11 and run into this problem:

EClient.obj:-1: error: LNK2019: unresolved external symbol __bid64_to_string referenced in function "protected: static void __cdecl EClient::EncodeField<unsigned __int64>(class std::basic_ostream<char,struct std::char_traits<char> > &,unsigned __int64)" (??$EncodeField@_K@EClient@@KAXAEAV?$basic_ostream@DU?$char_traits@D@std@@@std@@_K@Z)

Doing a search of the source files, I find the line:

extern "C" void __bid64_to_string(char*, Decimal, unsigned int*)

in the file TWS API/source/CppClient/client/Decimal.h.

Now the thing is: I can't find the function?__bid64_to_string?anywhere. Would you have any idea where to find it, or how to solve this? (I am using VS2019, 64bit)

Help is greatly appreciated.


?

Join [email protected] to automatically receive all group messages.