Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
C++ Specific
Specifies whether the type library is written to the .tlh file with the attribute-generated code preserved.
Syntax
#import type-library embedded_idl [ ( { "emitidl" | "no_emitidl" } ) ]
Parameters
"emitidl"
Type information imported from type-library is present in the IDL generated for the attributed project. This behavior is the default, and is in effect if you don't specify a parameter to embedded_idl.
"no_emitidl"
Type information imported from type-library isn't present in the IDL generated for the attributed project.
Example
// import_embedded_idl.cpp
// compile with: /LD
#include <windows.h>
[module(name="MyLib2")];
#import "\school\bin\importlib.tlb" embedded_idl("no_emitidl")
END C++ Specific