Compiler Error C3519
TOC
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

Compiler Error C3519

'invalid_param' : invalid parameter to embedded_idl attribute

A parameter was passed to the embedded_idl attribute of #import, but the compiler did not recognize the parameter.

The only parameters that are allowed for embedded_idl are emitidl and no_emitidl.

The following sample generates C3519:

// C3519.cpp
// compile with: /LD
[module(name="MyLib2")];
#import "C:\testdir\bin\importlib.tlb" embedded_idl("no_emitidcl")   
// C3519
#import "C:\testdir\bin\importlib.tlb" embedded_idl("no_emitidl")   
// OK
Show:
© 2016 Microsoft