Skip to main content
December 2, 2016
Question

open save file dialog

  • December 2, 2016
  • 1 reply
  • 452 views

I am developing a plug-in using acrobat sdk with visual c++ 2010. I want to using SaveFileDialog save file. How to doing it?

i hope you'll get a good answer.

This topic has been closed for replies.

1 reply

Legend
December 2, 2016

I may be wrong but I think SaveFileDialog is a managed method from .NET. It is best to forget everything you know about .NET methods because there is a world of pain waiting for you if you try to squeeze them into the unmanaged (C++) world of Acrobat.

Instead you need to find and use the C++ methods of the unmanaged Windows API. There are many similarities, but not always exact equivalents. Unfortunately it is an enormous API which has evolved over many years and there is a lot to learn.

Microsoft want non-managed code to use the "Common Item Dialog". I don't like this and use the old methods such as GetSaveFileName.