Linker Error


G

Guest

Hi,
I have a VC 6 project with a few C source code files,and one c++ source
file. When I refer to any function in the c++ file from the C file, i get a
Linker error saying that "error LNK2001: unresolved external symbol
_AddPicture" ( AddPicture) is the name of the function that i am referring
to. Function Protoypes and header files have been defined correctly.

Thanks and Regards
 
Ad

Advertisements

J

Jeff Partch [MVP]

Pravin Prabhu said:
Hi,
I have a VC 6 project with a few C source code files,and one c++ source
file. When I refer to any function in the c++ file from the C file, i get a
Linker error saying that "error LNK2001: unresolved external symbol
_AddPicture" ( AddPicture) is the name of the function that i am referring
to. Function Protoypes and header files have been defined correctly.
Do you use EXTERN_C ?
 
G

Guest

No i am not using EXTERN_C, am i supposed to use it ? how...

thanks
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

LINKER error 0
Linker errors 2
Linker error 1
Linker Error 4
Linker error 0
Linker error 0
Linker error 3
Linker Error 0

Top