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 C2706

illegal __except without matching __try (missing '}' in__try block?)

The compiler did not find a closing brace for a __try block.

The following sample generates C2706:

int main() {
   __try {
      void f();
   // C4706  } missing here
   __except(GetExceptionCode() == 0x0) {
   }
}