我有一个原生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项目
发布评论