NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Error C2836

cannot export 'identifier': a previous declaration did not export it

The given identifier is declared to be exported, but a previous declaration does not export it. Declarations of an identifier must be all external or all nonexternal.

Example

extern int i;         // i not exported
int    __declspec(dllexport) i;    // error, i exported