none
Using PasswordVault in Java app RRS feed

  • Question

  • I need to use PasswordVault in a Java application. The project is already using JNA, so that would be a natural way to do it, but I cannot figure out how to add PasswordVault to the JNA path.

    Thanks in advance!

    Friday, October 6, 2017 5:45 PM

All replies

  • For help with writing your JNA you'll need to post on a Java forum. For help with calling WinRT API from desktop apps in general please post in the desktop forums (I'll move this for you).

    If you can use C++/WinRT or C++/Cx in your JNA then calling WinRT API is pretty straightforward. If you can't and need to use pure C++ then you'll need to manage the COM wrappers yourself which is much more complicated. There are a few samples which demonstrate calling WinRT API from desktop apps which you can look at to get started (most use C# or C++/Cx). One example is at https://code.msdn.microsoft.com/windowsdesktop/sending-toast-notifications-71e230a2

    • Proposed as answer by Hart Wang Friday, October 13, 2017 9:30 AM
    Friday, October 6, 2017 9:20 PM
  • Hi,

    Thank you for posting here.

    Could you please tell me what type of your project or error message?

    I agree with Rob Caplan. if you are writing JNA you'll need to post on a Java forum. The forum is about java forum.

    I will move the case to off-topic forum.

    http://www.javaprogrammingforums.com/

    Best Regards,

    Hart

    Note: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; Therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.


    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.



    • Edited by Hart Wang Wednesday, October 11, 2017 9:33 AM
    • Proposed as answer by Hart Wang Friday, October 13, 2017 9:30 AM
    Tuesday, October 10, 2017 8:07 AM