在我的DLL的代码中,某个地方调用了GetMappedFileName这个函数,
编译链接的时候出现如下错误,
--------------------Configuration: FileHook - Win32 Release--------------------
Compiling...
FileHook.cpp
Linking...
Creating library Release/fpublic.lib and object Release/fpublic.exp
FileHook.obj : error LNK2001: unresolved external symbol _GetMappedFileNameA@16
Release/fpublic.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
Creating browse info file...
fpublic.dll - 2 error(s), 0 warning(s)
不知道是怎么回事,怎么解决呢?
高手指点,谢谢