在Windows 7上为Windows 8平板电脑开发C ++ / CLI项目 [英] Developing C++/CLI project for Windows 8 Tablet on Windows 7

查看:163
本文介绍了在Windows 7上为Windows 8平板电脑开发C ++ / CLI项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个原生C ++的代码库。最近我把一个Windows 8平板电脑加入我们部署到的系统。

I have a code base of native C++. Recently I incorporated a Windows 8 tablet into the system that we deploy to.

我有一个.NET托管的DLL访问平板电脑方向传感器。这个托管代码由非托管类包装,我可以从本地C + +访问。

I have a .NET managed DLL that accesses the Tablet orientation sensor. This managed code is wrapped by an unmanaged class that I can access from the native C++.

问题是,我无法运行和调试我的Windows 7 / VS2010框,而不会在开始时遇到访问冲突。

The problem is that I cannot run and debug the code on my Windows 7/VS2010 box without getting an Access Violation at the outset. No breakpoints are even hit before the exception.

在Windows 7 / VS2010框上调试时是否有办法忽略托管DLL?

Is there a way to ignore the managed DLL while debugging on the Windows 7/VS2010 box?

推荐答案

延迟加载是您的朋友。请阅读MSDN文档,从链接器支持延迟加载的DLL 开始。

Delay loading is your friend. Read the MSDN documentation, starting with Linker Support for Delay-Loaded DLLs.

这篇关于在Windows 7上为Windows 8平板电脑开发C ++ / CLI项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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