HighTechTalks DotNet Forums  

errors in using .NET 2003

Dotnet FAQs microsoft.public.dotnet.faqs


Discuss errors in using .NET 2003 in the Dotnet FAQs forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Chris
 
Posts: n/a

Default errors in using .NET 2003 - 08-16-2005 , 05:36 AM






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

Reply With Quote
  #2  
Old   
Francois Bonin [MVP]
 
Posts: n/a

Default Re: errors in using .NET 2003 - 08-22-2005 , 06:28 PM






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.

"Chris" <Chris (AT) discussions (DOT) microsoft.com> wrote

Quote:
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



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.