नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
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