Linker Error

  • Thread starter Thread starter Alamelu
  • Start date Start date
A

Alamelu

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.
 
Back
Top