You probably need to declare area() as PASCAL calling convention and with the EXPORT macro so that it is, indeed, exported from your DLL. You'll also have to defeat C++ "name-mangling", so define it ...
一些您可能无法访问的结果已被隐去。
显示无法访问的结果一些您可能无法访问的结果已被隐去。
显示无法访问的结果