Linker Error



In Visual Studio 2005 - Version 8.0.50727.762(SP.050727-7600) i am getting a
linker error LNK2019 followed by LNK2001 even thought the definition is very
much available.

One of the scenario

B.obj is using a function in A.obj both are of same project(dll). The
defintion is very much available, still it gives linker error.

May be this is the problem while Compiling A.obj (A.cpp and A.hh), the
output window shows Compiling A.hh, i am weird why A.hh is getting compiled.
Though i explicitily Compile A.cpp the output window shows compiling A.hh.

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question