See MS samples for Office Interop with MFC, like How to automate Microsoft Word to perform a mail merge using Visual C++ and MFC
or in C++/Win32 I use #import to generate interfaces (with MSO.DLL, MSWORD.OLB)
using Microsoft.Office.Interop.Word.dll from MFC application in cpp
Elinor Ginzburg
106
Reputation points
Hello,
I'm using Windows 10, Visual Studio 2019 community, and I'm writing a dialog-based MFC application in c++.
I want to use Microsoft.Office.Interop.Word.dll in order to save all specified parameters by the user into a pdf file, but I'm having trouble understanding how to used this dll from c++ code, since most of the guides are C# oriented.
perhaps someone has an advice for me? where can I read more about it? how can I use this dll in c++ code to create the desired pdf?
I've been battling with this for a while, any help will be appreciated.
Thank you!
1 answer
Sort by: Most helpful
-
Castorix31 83,206 Reputation points
2021-08-31T12:42:54.697+00:00