Hi,
Please bear with me, I am new to Visual C++.Net. I have included two projects to a blank solution, one a static class library (named Vending Machine Library), the other a Windows Forms Application (named Vending Machine Controls). In the property pages of the Forms Application, in General under C/C++ folder of Configuration Properties I have typed the relative path to the static library folder:
../ Vending Machine Library
Also under Configuration Properties, under Linker folder, under Input, for Additional Dependencies I have typed the relative path to the Debug build of the static library folder:
../ Vending Machine Library /Debug/ Vending Machine Library.lib
Despite all this I get the linker error: “fatal error LNK1104: cannot open file '../Vending.obj' Vending Machine Controls. I have no idea what the error means and how to rectify it. I wonder if anyone has any suggestions? I would be very grateful.
Bechir BejaouiPosted Apr 11, 2008, 5:34 AM
Verifey if you have missed a necessary header within your project.
Verifey if your both projects are compiled with the same mode I mean for example Multithread static, STATThread and so forth if itisn't the case then modify the sattues so that they become both multithred then recompile the solution.
In certain circonstance when projects are converted from a version to another version VB 2003 - 2005 - 2008 certain libraries become neutral files so browse and verify if it is the case.