1
Vote

Re. Problem on Vista x64?

description

It appears likely that the issue you’re seeing is due to your attempting to access WPD through the 32-bit interop assemblies that we’d created for this project. These interop assemblies (Interop.PortableDeviceApiLib.dll and Interop.PortableDeviceTypes.dll) may need to be re-created with 64-bit tools.
 
Refer to the “Accessing the WPD API through .Net” section of the whitepaper which you can download from the Source Code tab. (This section describes what we’d done to generate the 32-bit assemblies.)

comments