How to Unlock MS Project Using C++

In order to unlock MS Project File, we’ll use

Aspose.Tasks for C++

API which is a feature-rich, powerful and easy to use document Unlock MS Project API for C++ platform. You can download its latest version directly, just open

NuGet

package manager, search for Aspose.Tasks.Cpp and install. You may also use the following command from the Package Manager Console.

Command


PM> Install-Package Aspose.Tasks

Steps to Unlock MS Project of MPP via C++

  • Upload MPP file using Project Class
  • Enter password details
  • The server processes the file and resets the password properties of the MPP file
  • Resave the project without a password
  • Send MPP file to the user

System Requirements

Aspose.Tasks for C++ supports on all major platforms and Operating Systems. Please make sure that you have the following prerequisites.

  • Microsoft Windows or a compatible OS with C++ Runtime Environment for Windows 32 bit, Windows 64 bit and Linux 64 bit.
  • Aspose.Tasks for C++ DLL referenced in your project.
 

Unlock the MPP files - C++

//Add Password Protection on C++ {need some code snippet}

// output_protected.mpp file is protected.
 
  • About Aspose.Tasks for C++ API

    Aspose.Tasks is a Microsoft Project API to view and convert project documents. One can load, create, modify and render Microsoft Project files to Primavera, Excel, PDF, HTML, images and XML formats. Aspose.Tasks is a standalone API and does not require Microsoft Project or any other software to be installed.

    Unlock MS Project via Online App

    Other Supported Unlock MS Project Tasks Files Formats

    Using C++, One can also manipulate MS Project Tasks Files of many other formats including.