Re: VC++ 6.0 Project Settings question
- From: Norman Bullen <norm@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 03 Mar 2006 14:33:39 GMT
Eric wrote:
I have 2 projects in a VC 6.0 workspace. One is a C++ static library.
The other is an executable that is dependent on the static lib. In the
Linker options for the executable, I have included the library name
into Object/library modules. In addition, I have given the executable
project a dependency on the static lib. However, when I modify the
static lib and batch build the projects, the executable will not
relink! Is there something I am missing here? Shouldn't it relink if
a dependency changed??
Two things to do:
- Select the Project/Dependencies menu item to open the Project Dependencies dialog. In this dialog select your EXE project as the "project to modify" and check the box next to the LIB project in the "Dependent on" window.
- It sounds like you added your LIB file to the list of Object/library modules in the Project Settings dialog Link tab. Remove it from there. (That list is for "system" libraries that the compiler can consider to be static.) Now go to the "FileView" tree window and expand the tree so you can see the components of your EXE project. Your library may be there already due to the first step; if it's not, use the Add Files to Project menu item from the context menu to navigate to your library and add it.
Norm
--
--
To reply, change domain to an adult feline.
.
- References:
- VC++ 6.0 Project Settings question
- From: Eric
- VC++ 6.0 Project Settings question
- Prev by Date: Re: CreateWindowEx for RICHEDIT_CLASS returns ERROR_ACCESS_DENIED
- Next by Date: Platform SDK: IP Helper Problem
- Previous by thread: VC++ 6.0 Project Settings question
- Next by thread: VC++ Project Settings/Dependency issue
- Index(es):
Relevant Pages
|