在Windows 7上为Windows 8平板电脑开发C ++ / CLI项目

编程入门 行业动态 更新时间:2024-10-27 20:26:04
本文介绍了在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项目

本文发布于:2023-11-13 01:26:55,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1583032.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:平板   上为   项目   电脑   Windows

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!