一个设计dll动态库的问题
我原来使用一个c文件做dll动态库,没问题;后来我使用了两个c源文件来做,编译没错,只是在调用时编译也没错,只是在运行出错,提示如下:
Linking...
smmapi_dll.obj : error LNK2001: unresolved external symbol _test
Debug/smmapi_dll.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
smmapi_dll.exe - 2 error(s), 0 warning(s)
不知道什么原因??