नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
'identifier' : member of dll interface class may not be declared with dll interface
Remarks
You can declare a whole class, or certain members of a non-DLL interface class, with DLL interface. You cannot declare a class with DLL interface and then declare a member of that class with DLL interface.
Example
The following example generates C2487:
// C2487.cpp
// compile with: /c
class __declspec(dllexport) C
{
__declspec(dllexport) void func() {} // C2487
};
To resolve this error, remove the DLL interface on the class or the members.