I have a print monitor that is installed for a custom Postscript printer
driver.
This print monitor needs to display a screen asking the user to name a file
and select some processing options during the call to LcmStartDocPort. It
also invokes a COM object that display several interactive screens to process
the file during the call to LcmEndDocPort.
The printer driver and monitor installs and runs on OSes Win2K and up. It
also installs on Vista, and it will properly interact with the user and
process files as designed.
However, on Vista the OS intercepts the dialog boxes and displays a dialog
titled "Interactive Services Dialog Detection". The message is that "The
program [my port monitor] may need information or permission to complete a
task." When the user clicks OK, the dialogs are displayed.
My questions:
1. How can I properly set permissions (programatically, during the
installation) on the port monitor so that it can interact in the user session
without the OS intercepting the dialog boxes?
2. Do these permissions need to be applied to the port monitor (a dll) or
to the spooler that invokes it?
Thanks,
Mike