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 C2027

use of undefined type 'type'

A type cannot be used until it is defined. To resolve the error, be sure the type is fully defined before referencing it. The following sample generates C2027:

class D;

/* resolve the error by defining the class
class D {
public:
   void func() {
   }
};
*/

void main() {
   D *pD;
   pD->func();   // C2027
}