The Error 'error LNK2019 unresolved external symbol' occurs when the linker
finds the declaration(signature) of a function, variable or class but it
fails to find the implementation of it.
So, all you have to do is to find the implementation and link it.(either
'.obj' or '.lib')
"Giuliano Lodts" wrote in message
news:F2070277CF499CF8F444D036FBC52F46@in.WebX.maYIadrTaRb...
> Still have problems when I want to include a headerfile.
>
> When I add -#include "stdafx.h" - at the top of the file 'Mysub.cpp', I
> get an error
>
> (error LNK2019 unresolved external symbol).
>
> When I don't add -#include "stdafx.h" - at the top of the file
'Mysub.cpp',
> I get an error
>
> (fatal error LNKC1010: unexpected end of file while looking for
precompiled
> header directive.
>
> This drives me crazy.
>
>
> --
> Greetz,
>
> Giuliano
>
>