:Visual Studio C ++ Win 32应用程序给出错误“来自HRESULT的异常:0x80041FE2” [英] :Visual Studio C++ Win 32 App gives error "Exception from HRESULT:0x80041FE2"

查看:241
本文介绍了:Visual Studio C ++ Win 32应用程序给出错误“来自HRESULT的异常:0x80041FE2”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


Visual Studio Set Up&错误问题

Visual Studio Set Up & Error Question


嗨!


我在设置Visual Studio时遇到问题正确。

I'm having trouble getting Visual Studio set up properly.


我下载并安装了Visual Studio Community昨天。我正在运行Windows 10。

I downloaded and installed Visual Studio Community yesterday. I am running Windows 10.


After我启动程序,单击文件,启动新程序,然后单击模板和C ++。

我的C ++课程讲师告诉我们选择Win32应用程序在我们点击C ++之后的下拉菜单中,
但是没有列出Win32。我尝试点击"点击此处联机并查找模板"并找到了一个名为
" StandardCppWin32App"的模板。

After I launch the program, I click File, Start New Program, then Templates, and C++. My C++ course instructor told us to select the Win32 app from the drop-down menu after we click C++, however Win32 is not listed. I tried clicking "Click here to go online and find templates" and found a template called "StandardCppWin32App".


我的C ++课程讲师告诉我他相信"StandardCppWin32App"是正确的模板,但是当我尝试点击StandardCppWin32App时,它会给我以下错误消息"HRESULT异常:0x80041FE2"。

My C++ course instructor told me that he believes "StandardCppWin32App" is the correct template but when I try clicking StandardCppWin32App it gives me the following error message "Exception from HRESULT: 0x80041FE2".


你能帮助解决这个问题吗?

Can you someone help resolve this issue?


谢谢,


Kelly

Kelly

推荐答案

嗨凯利,

欢迎来到MSDN论坛。

Welcome to MSDN forum.

首先,请确保您已安装常用工具for visual c ++ 2015(转到控制面板 - >程序 - >程序和功能 - >右键单击visual studio 2015->更改 - >修改)

如果你仍然无法得到它,请修复视觉工作室。

什么是abo你的默认模板?

如果你也遇到默认模板的问题 我需要你的帮助来收集完整的安装日志。请使用
http://aka.ms/vscollect 收集安装日志。使用它之后,你会在%temp%文件夹下找到vslogs.zip。请将文件上传到
https://onedrive.live.com/ 并在此处分享链接。

If you also get issue with default templates, I need your help to collect the complete installation log. Please use http://aka.ms/vscollect to gather the installation logs. After using it, you will find vslogs.zip under %temp% folder. Please upload the file to https://onedrive.live.com/ and share the link here.

祝你好运,

Joyce


这篇关于:Visual Studio C ++ Win 32应用程序给出错误“来自HRESULT的异常:0x80041FE2”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆