我遇到的问题就是同时指定了extern C和stdcall
另,在jiangsheng提供的链接中有这么一段话:
If you place the decorated names produced by the Visual C++ compiler into a .def file, applications that link to your DLL must also be built using the same version of Visual C++ so that the decorated names in the calling application match the exported names in the DLL's .def file.
这段话是什么意思?好像是说如果在def中指定了名称就要使用同样版本的VC来编译才不会出错?这是否仅仅是针对静态链接来说的?