aygshell.h missing issue in Windows Embedded CE 6 SDK

当使用Visual Studio 2005 SP1在Windows Embedded CE 6上尝试构建MFC SmartDevice应用程序时,遇到无法打开'aygshell.h'文件的致命错误。本文探讨了解决该问题的几种可能方案,包括修改编译器的包含路径、将AYGSHELL组件添加到映像中,以及放弃MFC改用WTL。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

When I try to build a MFC Smart Device application on Windows Embedded CE 6 using Visual Studio 2005 SP 1. I get the following error.

C:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxce.h(41) : fatal error C1083: Cannot open include file: 'aygshell.h': No such file or directory

The reason of the error is in afxce.h file. VS 2005 try to include aygshell.h.
#include <aygshell.h>

Couple potential options maybe help.
1. At AYGSHELL component to the image.

2. Make aygshell.h and all its dependents available to the compiler in the include path.

It does work when I copy two files aygshell.h and winnetwk.h from
C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\Include

3. Give up MFC and use WTL.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值