المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : using static library for C code in Visual studio 2005



C++ Programming
09-12-2012, 05:12 PM
Hi,

I am working on a simple win32 console based application in C in visual studio2005.
My application uses a third party static library.
So I have included the path of the library and the library in additional dependencies for linker input.

My code compiles and works fine if I compile this code as C++ code.
But If I want to compile this as C code, for the same library functions, I am getting unresolved external symbols.
Can any one please let me know, if I have to change anything for this library to compile as C code.?
Regards,
Sunil Kumar