Hello,
I have a little problem in my project. I have build static library(e.g. test.lib) . Included it into my binary project linker and included #include "test.h"
into stdafx.h
. But when binary starts to build, C error occurs on CSomeObject
test:
"error C2146: syntax error : missing ';' before identifier 'test'".
What could be wrong? I have also included to my binary project CSomeObject.h
? Also maybe someone could explain how compiler works with includes? Thnx in advance :)