admin管理员组

文章数量:1401122

I have a header file I generate in a Visual Studio project which contains some #defines for use in some resources.

I can add the header file to the resource-only include list in a .rc file and it allows this.

If I want to compile the .rc file, I need to right click on the file, and set Properties->Resources->Additional Include directories to the path of my generated include file.

This works fine.

I've tried setting the include path in Project->Properties->Resources->General instead, and that doesn't compile.

However, in either case, attempting to edit the file in the visual studio resource editor results in failure saying the .h file can't be found.

I'm not sure how to get round this.

本文标签: How do I persuade the visual studio resource editor to honour extra include pathsStack Overflow