I have a C static library that I need to link to a new DLL i'm creating. I'm using Visual Studio 2005, and created a console application that outputs a DLL. But when I try to compile I get unresolved external linker errors:
Error 2 error LNK2019: unresolved external symbol "signed char __cdecl start_api(int)" (?start_api@@YACH@Z) referenced in function "bool __cdecl start_core(int)" (?start_core@@YA_NH@Z) CoreWrapper.obj
The DLL/LIB and header file for this static library are located in specific folders on the hard drive and i've linked them to the current project thru my project settings, so it should know where to look for them. Does it matter that this is C code and my project is a C++ DLL? I'm new to linking to DLL's so any help would be useful.