Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / August 2005

Tip: Looking for answers? Try searching our database.

errors in using .NET 2003

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chris - 16 Aug 2005 11:36 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.