Hello there,
I have an MFC application in which I have declared a Global Object say "obj" in a file called MiRec2PC.cpp now I want to use this object in a C file.
I have used an approach in which I include the header file in which the structure of that particular object is declared. I also use a keyword "extern" with that obj when I use it . but still the compiler is showing a link error:
LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library httpApplication.obj : error LNK2001: unresolved external symbol _m_iRecordInst Debug/MiRec2PC.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. Creating browse info file... MiRec2PC.exe - 2 error(s), 12 warning(s)
Regards
Umair