From: lukaszt on
Hi !

I wrote a little driver (based on Bitmap example from WDK) that captures
printing and sends images thru NamedPipes to user application - this works.

Now, I want to be able to give a possibility to select to which application
data will be sent.
example: user prints document, my driver checks for running user
applications (using named pipes etc.) then, it shows a message to the user -
combobox and user can choose app., the printing/sending follows.


I have a problem with communicating with user, how to display a dialog to
user from printing driver ?
where to look for solution/example ?
From: Mike [MSFT] on
Which Apps would understand the data you are sending? Why not write the
data to a file that any App can just open? Seems like a pull model is
better than a push model for something like this. If you prefer you can
also use the registry (or any other file on disk) to specify who the data
should go to.

-Mike

"lukaszt" <lukaszt(a)discussions.microsoft.com> wrote in message
news:F902AF00-F977-42B0-8271-1F85061C6CCC(a)microsoft.com...
> Hi !
>
> I wrote a little driver (based on Bitmap example from WDK) that captures
> printing and sends images thru NamedPipes to user application - this
> works.
>
> Now, I want to be able to give a possibility to select to which
> application
> data will be sent.
> example: user prints document, my driver checks for running user
> applications (using named pipes etc.) then, it shows a message to the
> user -
> combobox and user can choose app., the printing/sending follows.
>
>
> I have a problem with communicating with user, how to display a dialog to
> user from printing driver ?
> where to look for solution/example ?