Search code examples
c++windowsvisual-studio-2012wpd

What are the requirements(pre_installations) of a windows portable devices application to run on windows?


Actually i have written a dll using WPD api to manipulate windows phone. Then i imported this dll in a java project using jna. All works fine on the system having complete c++ developement environment and Window development kit installed on it. But when this java application is made run on client system, which don't have c++ development environment(visual studio, WDK etc), it crashes at the time of wpd dll loading. My question is that, what are the pre installations necessory for wpd application to run on client systems. Off course we do not want to force the users to install visual studios and windows developement kit to use our application. Any help will be appreciated.


Solution

  • Download visual c++ redistributable for the visual studio version you use, which I guess it's 2012

    Download it here:: http://www.microsoft.com/en-us/download/details.aspx?id=30679

    Then install it on the computer you want to run the wpd app...you don't have to install visual studio on it...just the libraries..