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 C2143

syntax error : missing 'token1' before 'token2'

The compiler expected a specific token (a language element other than whitespace) and found another token instead.

Possible causes

See Knowledge Base article Q241706 for information on this error when using a function-try block.

Check the C++ Language Reference to determine where code is syntactically incorrect. Since the compiler may report this error after the line that causes the problem, check the few lines of code that precede the error.