Integrate Office365 web apps with legacy windows application

Trygve Liland 21 Reputation points
2022-01-10T07:05:55.617+00:00

In our legacy windows desktop application written in C/C++ we allow the users to have result from reports displayed in Word or Excel. For Word the result are written to a RTF document and DDE are used to make Word open the file. For Excel we use DDE to create an empty sheet and POKE the data into the columns.
In order for this to work, the users need a locally installed Office365.

We want to be able to allow our users to use the Office365 web apps, and at first glance the WOPI looked like an API to use. When exploring the WOPI further, it seems to me that it is an API to use if I would take care of storage, not a API to integrate to the web apps.

My question is then if there are an API to use to allow a desktop application to authenticate the user and ask the O365 web apps to open/display/store a local file?

Windows 365 Enterprise
Word Management
Word Management
Word: A family of Microsoft word processing software products for creating web, email, and print documents.Management: The act or process of organizing, handling, directing or controlling something.
932 questions
Excel Management
Excel Management
Excel: A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.Management: The act or process of organizing, handling, directing or controlling something.
1,726 questions
0 comments No comments
{count} votes

Accepted answer
  1. Emily Hua-MSFT 27,651 Reputation points
    2022-01-11T03:10:06.237+00:00

    Hi @Trygve Liland

    Welcome to Q&A forum ~

    But your issues are more related to Microsoft 365 development which are out of our support scope.

    To help you better, I would suggest you post a new thread on following forums.
    Office developer community

    Thanks for your understanding.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.