Quite a lot of program blocks of my company use TAO as default IDL compiler, and the tool output *.hh as C++ header. I encountered a embarrassed situation when I using Visual C++ 2008 to navigate and edit the source code: the IDE can not recognize the *.hh as C++ header files, obviously, it is a bad message.

After a boring searching, I found how to resolve this issue:

1. Open you VC++ 2008 first.

2. Click menu “Tools-Options…”, it will open the “options”dialog.

3. Select “Projects and Solutions--VC++ Project Settings” in the left side tree, I have snag a screen-shot for you guys.

image

I think there is no need to explain how to set it unless you are not familiar with tools (Don’t you?). Then good luck!


Jeason Zhao (沈胜衣,斛律光) ------雪饮再现,一个人的江湖
我知道我是谁,我是沈胜衣,默默的活着,就像空气。