473,499 Members | 1,691 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

URGENT: C++.NET and C Runtime Libraries

Hello,

For my current project I need to incorporate some legacy C code with my
c++.NET app. I have my project setup to use an additional INCLUDE directory,
pointed to the VS6 include directory.

Linker settings include the following: msvcrt.lib mscoree.lib
I got most of the files needed to work properly, except when I include one
file that uses "#include <io.h>" I get the following linker errors:
acisam.obj : error LNK2001: unresolved external symbol "int __cdecl
open(char const *,int,...)" (?open@@$$J0YAHPBDHZZ)
acisam.obj : error LNK2001: unresolved external symbol "long __cdecl
lseek(int,long,int)" (?lseek@@$$J0YAJHJH@Z)
acisam.obj : error LNK2001: unresolved external symbol "int __cdecl
read(int,void *,unsigned int)" (?read@@$$J0YAHHPAXI@Z)
acisam.obj : error LNK2001: unresolved external symbol "int __cdecl
close(int)" (?close@@$$J0YAHH@Z)
acisam.obj : error LNK2001: unresolved external symbol "int __cdecl
write(int,void const *,unsigned int)" (?write@@$$J0YAHHPBXI@Z)
Anyone have any idea what library to include, or how to fix this?

Thanks in advance for the help....

Joe
Nov 17 '05 #1
1 1278

HI every body
sorry I have the same problem.
May somebody help me?
it's urgent.

neomat

--
neomat
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

Jan 21 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4056
by: Anonymous via the Cypherpunks Tonga Remailer | last post by:
I have some internet chat programs that were written in visual basic and will run on the school's NT machines but won't run on my win95b box. Will installing VB runtime libraries on the 95 box...
0
1460
by: Henrik Nordgren | last post by:
Im trying to build a simple chat app... here is the code: server visual basic code:-------------------------------------------------------------------------------- Public Class ChatServer ...
2
2500
by: Trevor Hughes | last post by:
Hello All Our organisation has recently upgraded its operating system to Windows 2000. Prior to this I was running Access 2000 databases on NT machines using the Access 2000 Runtime with no...
6
1564
by: ritesh | last post by:
Hi, I have been reading some text on C and C++ (i.e advanced books). One of the books mentioned that C++ requires a runtime support whereas C does not - what the author was trying to say was...
12
3444
by: Markus Ewald | last post by:
I'm just experimenting around with the VisualC++ 2005 Express Edition Beta and found some strange behavior for which I can't seem to find a workaround. What I've done is set up two static library...
16
2888
by: | last post by:
Hi all, I have a website running on beta 2.0 on server 2003 web sp1 and I keep getting the following error:- Error In:...
11
1820
by: scorpion53061 | last post by:
in my head...... I need my application to work with Office 97, 2000, XP and 2003 versions of MS Word and MS Excel. IN order to acomplish this I have to install in different folders: 1....
21
5204
by: Paul Edwards | last post by:
I have written a public domain (not GPL etc) C runtime library (PDPCLIB) for DOS, OS/2 and MVS. You can see it here: http://sourceforge.net/projects/pdos/ I now wish to port it to Win32, so...
2
2229
by: mohi | last post by:
hello every one , this may be very basic question and may be a bit out of topic ,, can anyone please tell me what are the functions of runtime library and are they the one which create the...
0
7014
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7229
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6905
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7395
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4609
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3108
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1429
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
667
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
311
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.