Hi
I have a project that was written in V6.0 (c/c++) and it works just fine,
but when I run it in .NET 2003 (V7.0), I get a whole lot of linking errors.
I have spent alot of time trying to solve it but to no avail....please help!
the errors that show up are:
Compiling...
RecSession.cpp
Recogniser.cpp
CWSR_app.cpp
CallEngine.cpp
Generating Code...
Compiling...
acu_os_port_win.c
Generating Code...
Linking...
ASRClient_T_CRTDLL.lib(SocketFile.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) protected: void __thiscall
std::basic_filebuf<char,struct std::char_traits<char> >::_Initcvt(void)"
(__imp_?_Initcvt@?$basic_filebuf@DU?$char_traits@D@std@@@std@@IAEXXZ)
referenced in function "public: int __thiscall
CSocketFile::SocketToFile(unsigned int,char const *)"
(?SocketToFile@CSocketFile@@QAEHIPBD@Z)
ASRClient_T_CRTDLL.lib(SocketFile.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) struct _iobuf * __cdecl std::__Fiopen(char
const *,int)" (__imp_?__Fiopen@std@@YAPAU_iobuf@@PBDH@Z) referenced in
function "public: int __thiscall CSocketFile::SocketToFile(unsigned int,char
const *)" (?SocketToFile@CSocketFile@@QAEHIPBD@Z)
... (another 12 errors like these)
Does anyone have any suggestions?
Thanks Chris
Francois Bonin [MVP] - 23 Aug 2005 00:28 GMT
It looks as though the project you are working with depends on MFC classes.
Those classes are not present in the .NET framework.
Hence your linker errors.
> Hi
>
[quoted text clipped - 39 lines]
>
> Thanks Chris