We recommend using Visual Studio 2017

Compiler Error C3507


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Compiler Error C3507.

a ProgID can have no more than 39 characters 'id'; nor contain any punctuation apart from '.'; nor start with a digit

The progid attribute has restrictions on the values that it can take.

The following sample generates C3507:

// C3507.cpp  
uuid("00000000-0000-0000-0000-000000000001") // C3507 expected  
struct CMyStruct {  
int main() {