using extern between two projects of the same solution

Hi All,

I want to use a C function of one project into other. Both these projects are parts of the same solution, but they are independent of each other. So, how can we do this ?

I tried using 'extern C' and linking the C header file. But, for both the options I am getting the same linking error. The code gets compiled giving linking error as "undefined symbol 'function_name'".

Any help would be greatly appreciated.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!