Archived Forum Post

Index of archived forum posts

Question:

Visual C++ 2010: unresolved externals

Jun 23 '14 at 11:34

Hello,

with the current version of the MSVC++ 2010 (SP1) lib (Chilkat v9.5.0.33), I get an unresolved external error from the linker. It seems that the deprecated function "fileno" is used at "public: bool __thiscall ChilkatHandle::truncate(__int64,class LogBase *)", but at the runtime library of this MSVC there is only the function _fileno (with underscore).

The original error message of the linker:

ChilkatDbgDll.lib(ChilkatHandle.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__fileno" in Funktion ""public: bool __thiscall ChilkatHandle::truncate(__int64,class LogBase *)" (?truncate@ChilkatHandle@@QAE_N_JPAVLogBase@@@Z)".

With the Chilkat 9.4.1.26 lib and the same compiler/linker settings, everythink is working fine.


Answer

I got an prerelease version of the support with the fix. So it should be fix in 9.5.0.41 too.