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 ...
随机推荐
- jquery 提交数据
目录 jquery ajax的应用 1 表单提交 2 ajax的提交(ajax post get) 普通的表单提交 <%@ page language="java" impo ...
- 基于visual Studio2013解决面试题之0604O(1)时间复杂度删除链表节点
题目
- Android 最火高速开发框架AndroidAnnotations使用具体解释
Android 最火的高速开发框架androidannotations配置具体解释文章中有eclipse配置步骤,Android 最火高速开发框架AndroidAnnotations简介文章中的简介, ...
- 杭电 1711 Number Sequence
Number Sequence Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) ...
- Effective C++_笔记_条款00_基本术语
(整理自Effctive C++,转载请注明.整理者:华科小涛@http://www.cnblogs.com/hust-ghtao/) 下面是每一位C++程序员都应该了解的C++词汇. 1 C++中 ...
- 进阶:案例六: Context Menu(静态 与 动态)
实现: 1.add: 2.delete 3.add2 实现步骤: 1.新建属性display_text 2.创建layout 3.代码部分: add事件: METHOD onactionadd . D ...
- 在WEB工程的web层中的编程技巧
本篇以看传智播客方立勋老师的<JDBC入门>之<实现客户关系管理案例>视频有感,从中提取方老师在设计管理系统的简单案例中对自己比较有用的部分,以便日后在开发过程中希望能有所帮助 ...
- android使用xfire webservice框架远程对sqlserver操作(包括增删改查)的实例!!已在真机上试验通过
前两天,公司有一个利用android远程操作sqlserver的项目,对此我是毫无头绪的,但也挺感兴趣的,于是开始上网搜索方法,网上有挺多方法了,发现使用webservice的挺多的,不过我对这些技术 ...
- CSipSimple最新版本号
要使用CSipSimple有两种方法:第一种是不编译jni,另外一种是编译jni. 这里介绍的是第一种:不编译jni. 首先,用SVNclient检出CSipSimple源代码:svn checkou ...
- 菜鸟从零学编程(七)——搭建一个完整的Java开发环境
作为一个Java程序员,配置一个java开发环境是必备的技能,今天给广大菜鸟初学者补上一课.环境的配置,大概就分三个1,JDK 2,Tomcat(或者其他的)3,eclipse(或者myeclipse ...