473,746 Members | 2,247 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

fatal error LNK1104: cannot open file

Hi,
I have a C# project that have a C++ .net DLL as a reference. Everything
is working okay, except when I try to rebuild only the C++ DLL I
receive the error: fatal error LNK1104: cannot open file.
Any Solutions ?

-- Dani

Dec 8 '05 #1
2 2662
Hi,

Maybe the file is in use, sometimes I get this error when I build a solution
, it said that cannot write the output.

Try to delete it manually.

In the worst case you can download an utility from sysinternals.co m that
says what program have open what file

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"danip" <da***@ecmed.co m> wrote in message
news:11******** **************@ g47g2000cwa.goo glegroups.com.. .
Hi,
I have a C# project that have a C++ .net DLL as a reference. Everything
is working okay, except when I try to rebuild only the C++ DLL I
receive the error: fatal error LNK1104: cannot open file.
Any Solutions ?

-- Dani

Dec 8 '05 #2
Hi,
The file is not in use, it's just a refernce in another project in the
solution. So I'm deleting the file from the project, build it, and add
it again. I just want to avoid all this.
-- Dani

Dec 8 '05 #3

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

Similar topics

1
3081
by: Mike | last post by:
The error during build in VC++: LINK : fatal error LNK1104: cannot open file "/blah/blah/blah.lib" the issue: I've inherited this cource code from another company and the company had their dir. stucture as /blah/blah/blah.lib but I need to have my build point to /yeah/yeah/yeah.lib how can I have it point to the other dir stucture? Where can I change this? I've checked the project dsw, dsp and mak files. Please help!
1
2896
by: Durga | last post by:
HI, I am converting VC++ 6.0 to .NET 2003. But I am getting linker error. Error: MyApplication fatal error LNK1104: cannot open file 'libci.lib'. MyApplication has OpenSSL, MFC and win 32 console based application. How do I resolve this problem?
1
7354
by: Hunter | last post by:
Hi all, I'm a C newbie in a desperate need of help. My background isn't programming but engineering, so my programming skills are somewhat limited (I am able to write simple single-threaded progs in C, but hardly more than that). It just happened that my work requires me to take a program and strip it off all kind of GUI, make it just a simple command prompt thingie. And so I did, more or the less. Now, I didn't remove any includes or...
2
12097
by: Hunter | last post by:
Hi all, I'm a C newbie in a desperate need of help. My background isn't programming but engineering, so my programming skills are somewhat limited (I am able to write simple single-threaded progs in C, but hardly more than that). It just happened that my work requires me to take a program and strip it off all kind of GUI, make it just a simple command prompt thingie. And so I did, more or the less. Now, I didn't remove any includes or...
1
3007
by: bhushan11 | last post by:
hello sir i am searching in your site but i dont get how to place question about visual c++. so i am post this vc++ question in .net , sorre about that i am working on visual c++ lang. but i nave some problem. Linking... LINK : fatal error LNK1104: cannot open file "ProfUIS223md.lib" Error executing link.exe.
3
12316
by: curious2007 | last post by:
#include "chartdir.h" int main(int argc, char *argv) { // The data for the bar chart double data = {85, 156, 179.5, 211, 123}; // The labels for the bar chart const char *labels = {"Mon", "Tue", "Wed", "Thu", "Fri"};
5
18223
by: ramrooney | last post by:
hi, i am trying to port my project from vc 6.0 to visual studio 2005 i getting the error fatal error LNK1104: cannot open file 'mfc42d.lib' can anyone tell me how to rectify this error..???
0
2944
by: Apocalypse | last post by:
I have installed Visual Studio 2005 just now. When I compile and link a empty console application : #include "stdafx.h" int _tmain(int argc, _TCHAR* argv) { return 0; } There is an Link error:fatal error LNK1104: Can not open fileˇ°MSVCRTD.libˇ±. I have not changed any config. I searched my computer,but there is no file
1
9578
by: 2abstract12 | last post by:
Hi I am trying to build a bluetooth application to send and recieve data using microsoft sample code. When i compile the code, there are no error but when i try to build one i am getting this strange link error. I am using Visual 2008 on Vista. My file path is \Documents\Visual Studio 2008\a1\a1\Debug. Additional dependencies --- $(WindowsSdkDir). I did google the error and there are suggestions to put the path name in brackets. I...
0
8795
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9346
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9279
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6763
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6057
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4827
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3287
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 we have to send another system
2
2759
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2195
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.