Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing xxx.lib version

Status
Not open for further replies.

cadbilbao

Programmer
Apr 9, 2001
233
ES
Hi!

Working VC++6.0 SP5 on NT4.0 SP6a

I was working with a xxx.lib (Project > Settings > Link).
Recently this .lib file has changed, and there is a new
version with the same name.

I simply overwrite the file, and I mantain the link to it.

But I find that VC++ is maintaing (I do not know how) the
previous version of xxx.lib, because if I call a new function
included in the current version, I get an error.

How can I solve this?

Thanks in advance.
 
Have you checked the link path in VC++ settings? Maybe it's getting it from an unexpected directory.

Chip H.
 
Visual C++ creates an enourmous .pch(precompiled header) file and .obj files.
You must delete them all, or you must choose Rebuild All from the Build menu.

(Make a backup copy first)
If this does not work try to delete the .ops,.ncb and .aps files from outside the project, when the project is closed.


Hope this helps,s-) Blessed is he who in the name of justice and good will, shepards the week through the valley of darknees...
 
Also, Make sure you did not copy the dll's to the debug/release folders as I belive it will check there first.

Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top