I have a 32 bit MFC Print Application that uses StartDoc API for printing. In 32 bit OS, i didn't configure any Default Print Driver, then on File Print I selected Microsoft XPS Document Writer. A "Save as File" Dialog pops up which runs in the same Process as that of Application.
Now I have tried to run the same Application in 64 bit OS. Here also i didn't configure any Defualt Print Driver. On File Print I selected Microsoft XPS Document Writer. A "Save as File" Dialog pops up which runs in a different Process from the Application. In this sceneario, File Save As Dialog is becoming Modeless which is yeilding undesired results - I'm able to access the "Cancel Printing" dialog (the same cannot be accessed on 32-bit OS as File Save As is MODAL) and on clicking 'cancel' in this dialog, the Application hangs ( becomes unresponsive ). If i click close button of printing dialogue, application crashes.
If I now navigate to the "Save as File" Dialog, and click Cancel or Save, I can proceed.
How can I make "Save as File" Dialog modal in 64-bit OS?