Compiler Error C2388
'symbol' : a symbol cannot be declared with both __declspec(appdomain) and __declspec(process)
The appdomain
and process
__declspec
modifiers cannot be used on the same symbol. The storage for a variable exists per process or per application domain.
For more information, see appdomain and process.
The following sample generates C2388:
// C2388.cpp
// compile with: /clr /c
__declspec(process) __declspec(appdomain) int i; // C2388
__declspec(appdomain) int i; // OK
Athugasemdir
https://aka.ms/ContentUserFeedback.
Væntanlegt: Á árinu 2024 munum við hætta með GitHub-mál sem ábendingaleið fyrir efni og skipta því út fyrir nýtt ábendingakerfi. Frekari upplýsingar er að finna hér:Senda inn og skoða endurgjöf fyrir