C++ Preprosessor import
#import Attributes
Provides links to attributes used with the #import directive.
Microsoft Specific
The following attributes are available to the #import directive.
|
Attribute |
Description |
|---|---|
|
Renames C++ reserved words by appending two underscores (__) to the variable name to resolve potential name conflicts. |
|
|
Specifies that, when a type library is referenced with #import and itself references another type library, the compiler can do an implicit #import for the other type library. |
|
|
Specifies that the type library is written to the .tlh file with the attribute-generated code preserved. |
|
|
Excludes items from the type library header files being generated. |
|
|
Specifies a prefix to be used in naming high-level properties and methods. |
|
|
Specifies alternate prefixes for three property methods. |
|
|
Suppresses the generation of the .tlh header file (the primary header file). |
|
|
Disables automatic exclusion. |
|
|
Inserts its argument as source text into the type-library header. |
|
|
Tells the compiler to define and initialize GUID variables in old style, of the form LIBID_MyLib, CLSID_MyCoClass,IID_MyInterface, and DIID_MyDispInterface. |
|
|
Disables automatic exclusion. |
|
|
Changes the way the compiler generates wrapper functions for dual interface methods. |
|
|
Suppresses the generation of the .tli header, which contains the implementations of the wrapper member functions. |
|
|
Specifies that the namespace name is not generated by the compiler. |
|
|
Tells the compiler not to search the registry for type libraries. |
|
|
Has the same functionality as the no_namespace attribute but is used on type libraries that you use the #import directive with the auto_search attribute. |
|
|
Suppresses the creation of smart pointers for all interfaces in the type library. |
|
|
Tells the compiler to generate low-level wrapper functions for dispinterface methods and properties that callIDispatch::Invoke and return the HRESULT error code. |
|
|
Suppresses the generation of error-handling wrapper functions and property (C++) declarations that use those wrapper functions. |
|
|
Specifies a different prefix to avoid name collisions. |
|
|
Disables the use of COM support classes in the high-level wrapper functions and forces the use of low-level data types instead. |
|
|
Specifies alternate prefixes for three property methods. |
|
|
Works around name collision problems. |
|
|
Renames the namespace that contains the contents of the type library. |
|
|
Has the same functionality as the rename_namespaceattribute but is used on type libraries that you use the #import directive with the auto_search attribute. |
|
|
Allows for loading libraries other than the primary type library. |
END Microsoft Specific
C++ Preprosessor import的更多相关文章
- ES6模块import细节
写在前面,目前浏览器对ES6的import支持还不是很好,需要用bable转译. ES6引入外部模块分两种情况: 1.导入外部的变量或函数等: import {firstName, lastName, ...
- spring源码分析之@ImportSelector、@Import、ImportResource工作原理分析
1. @importSelector定义: /** * Interface to be implemented by types that determine which @{@link Config ...
- Python标准模块--import
1 模块简介 作为一个Python初学者,你首先要学会的知识就是如何引入其它模块或者包.但是,我发现有些开发者虽然使用Python很多年,依然不了解Python引入机制的灵活性.这篇文章,我们就会研究 ...
- css和@import区别用法
css和@import都是调用外部样式表的方法. 一.用法 (1)link: <link rel="stylesheet" type="text/css" ...
- 从爬取湖北某高校hub教务系统课表浅谈Java信息抓取的实现 —— import java.*;
原创文章与源码,如果转载请注明来源. 开发环境:Myeclipse,依赖包:apache-httpclient . Jsoup.base64 一.概述 整个系统用Java开发.我们现在要做的是类似于超 ...
- python from __future__ import division
1.在python2 中导入未来的支持的语言特征中division(精确除法),即from __future__ import division ,当我们在程序中没有导入该特征时,"/&qu ...
- python学习笔记-import utils报错
今天遇到一个坑爹的问题,查找了半天原因,终于解决了,在此特地记录一下. 运行环境:Windows eclipse 我在eclipse中配置了python的运行环境,在eclipse中编写python代 ...
- ImportError: cannot import name '_imagingtk'
问题描述 使用tkinter画pillow生成的图片时,在tkinter中抛出此异常. 解决方案 pip install -I --no-cache-dir Pillow 更新pillow 重启解决一 ...
- import renumber.py in pymol
cp renumber.py /usr/local/lib/python2.7/dist-packages/pymol import renumber or run /path/to/renumber ...
随机推荐
- hdu 1536 SG函数模板题
S-Nim Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Subm ...
- 后台调用外部程序的完美实现(使用CreateDesktop建立隐藏桌面)
最近在做的一个软件,其中有一部分功能需要调用其它的软件来完成,而那个软件只有可执行文件,根本没有源代码,幸好,我要做的事不难,只需要在我的程序启动后,将那个软件打开,在需要的时候,对其中的一个文本矿设 ...
- uva 11212
非原创!!! 原作者地址:http://www.hardbird.net/?p=238
- JavaScript快速入门(三)——JavaScript语句
JavaScript基本语句 基本概述 JavaScript是脚本语言,从上到下解释执行,最小单位为语句或语句块,每个语句以分号结尾,每个语句块以右大括号结尾. JavaScript可以将多条语句或语 ...
- jeecg智能开发平台参与-2013年度中国优秀开源项目评比
JEECG正在参与<2013年度中国十大优秀开源项目> 评比,如果大家觉得JEECG还不错, 请投出你宝贵的一票,给我们以支持吧!!! [目前排名第8位] https://code.csd ...
- [置顶] Codeforces 70D 动态凸包 (极角排序 or 水平序)
题目链接:http://codeforces.com/problemset/problem/70/D 本题关键:在log(n)的复杂度内判断点在凸包 或 把点插入凸包 判断:平衡树log(n)内选出点 ...
- Office 2013 正式版 下载地址 带正版验证
万众期待的正式版Office 2013 降临---英文版/中文简体版 英文版软件下载地址: office_professional_plus_2013_x86_dvd en_office_profes ...
- [计算机基础]URI与URL
URI : uniform resource identifier统一资源标示符用于指定Web资源的字符串,它定义了Web资源中的各个不同的部分.ex:http://example.org/absol ...
- c#(winform,webform通用)利用npoi将xls文件复制为xlsx文件(excel的修改,保存,包括excel2003-office2007+的处理)
1.程序界面 每次需要处理excel文件的时候,都是去百度找方案,真是气一头火,今天好好总结一下,下次就不用度娘了. 我是用winform来试验的,因为winform比较方便测试,实际上只要是在.ne ...
- mooon编译系统介绍(可复用Makefile)
mooon编译系统介绍(可复用Makefile).pdf(ChinaUnix下载) CSDN下载:http://download.csdn.net/detail/aquester/5626929 mo ...