1

Topic: To deceive IntelliSense in MS VS

There is at me a library, general-purpose for Win32 environments and WDM (a kernel mode). File set one, full conditional compilation, and the version for the user and nuclear modes gather in projects with appropriate parameters in one solution' (VS 2008, before was 2005). For Win32-projects the macro _W32App, for WDM - _WdmDriver is defined. In heading files on them other macroes, for convenience are defined also. And here IntelliSense to which has more than mind in more suitable cases, not clear to me in the image traces definiteness of "primary" macroes. In one cases he considers that is defined _W32App, and does "inactive" the code for Win32, in others - on the contrary, but never considers their defined simultaneously. And in "the inactive" code, accordingly, do not work neither autoend of names, nor the menu of members, helps on functions. As though him so to deceive, that by operation with the code he considered defined both macroes?

2

Re: To deceive IntelliSense in MS VS

Hello, Evgenie Muzychenko, you wrote: I eat> As though it so to deceive that by operation with the code he considered defined both macroes? I think somehow so, did not test: #if defined (_W32App) || defined (__ INTELLISENSE __) #endif

3

Re: To deceive IntelliSense in MS VS

Hello, Senyai, you wrote: S> S>#if defined (_W32App) || defined (__ INTELLISENSE __) S>#endif S> VS 2008 does not support __ INTELLISENSE __. And it would be quite good.