frogpelt
frogpelt

Reputation: 151

Developing C++/CLI project for Windows 8 Tablet on Windows 7

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

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++.

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.

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

Upvotes: 0

Views: 205

Answers (1)

Ben Voigt
Ben Voigt

Reputation: 283694

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

Upvotes: 1

Related Questions