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 C3204

you cannot call _alloca from within a catch block

This error occurs when you use a call to _alloca from within a catch block. For example, in the code fragment below, the call to SysAllocString will cause this error:

// compile with /GX
#include <malloc.h>

void ShowError(void)
{
   try
   {
   }
   catch(...)
   {
      _alloca(1);
   }
}