ERROR LNK2001,UNRESOLVED EXTERNAL SYMBOL
INSIDE OLE 中的例三,(但此列于ole没有关系,)我编译时老是出error LNK2001:unresolved external symbol
__imp__myfunc@16,其中myfunc是我程序中实际调用的函数!
我查看msdn:可就有一段:
When compiling with /MD, a reference to "func" in your source becomes a reference "__imp__func" in the object since all the run-time is now held within a DLL. If you try to link with the static libraries LIBC.LIB or LIBCMT.LIB, you will get LNK2001 on __imp__func. If you try to link with MSVCxx.LIB when compiling without /MD you will not always get LNK2001, but you will likely have other problems.
还是搞不定!请帮忙,多谢