最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

c++ winrt - Windows runtime component project doesn't generate cpp and h skeletons - Stack Overflow

programmeradmin0浏览0评论

In Visual Studio 2022, there is a C++ Windows Runtime Component Project. I can use this, I suppose, to generate a skeleton given a Windows MIDL file. Then I go in and fill in the skeleton with my implementation code. However, this doesn't work.

My IDL compiles but there's no generated files.

What am I missing?

The Generated Files filter in the below is empty.

Note that I answered this myself. Turns out that the filter in the solution doesn't necessary reflect the contents of the child folder.

In Visual Studio 2022, there is a C++ Windows Runtime Component Project. I can use this, I suppose, to generate a skeleton given a Windows MIDL file. Then I go in and fill in the skeleton with my implementation code. However, this doesn't work.

My IDL compiles but there's no generated files.

What am I missing?

The Generated Files filter in the below is empty.

Note that I answered this myself. Turns out that the filter in the solution doesn't necessary reflect the contents of the child folder.

Share Improve this question edited Mar 4 at 22:44 TJ Bandrowsky asked Mar 4 at 21:36 TJ BandrowskyTJ Bandrowsky 8929 silver badges15 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

In the unlikely event that readers may be as dense as I was on this matter, the deal is that the Generated Files filter that you see in the project doesn't actually have the stuff in it. You can see the results easily in file explorer.

发布评论

评论列表(0)

  1. 暂无评论