CreateProcessAsUser & Amyuni PDF Printer Driver

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
Newromancer
Posts: 1
Joined: Fri Jul 16 2004
Location: Austria

CreateProcessAsUser & Amyuni PDF Printer Driver

Post by Newromancer »

Our Company is using the Amyuni PDF Printer Driver and we have the following Problem:

For a number of reasons we are forced to start an Application with CreateProcessAsUser. This application is used to print reports.

Under NT4 we had no Problem at all, when the User where selecting the "PDF Export" the "Save As" Dialog poped up and generated the file.

Since we switched to XP however, the PDF-Export doesn't work that fine in a different user context.

If we run the program with "CreateProcessAsUser" the "Save As" Dialog popes up compleatly disguised. ( Too big and without Drives or folder to select. )

We run some more tests and tryed to start it with "CreateProcessWithLogonW", a new NT5.1 API that shall replace LogonUser and CreateProcessAsUser.
This time the "SaveAs" Dialog showed up normally, but after selecting a file and commiting the dialog the PDF Printer Driver stoped and kept hanging - no file was written.

Any Solutions?
Jose
Amyuni Team
Posts: 553
Joined: Tue Oct 01 2002
Contact:

Post by Jose »

Hello,

In researching your comments and I came across an article on MSDN which might assist you.

http://support.microsoft.com/default.as ... -us;165194

If the above article does not help and your maintenance period is still value please send an email to support@amyuni.com and we will take a closer look at this situation.

Thanks
Post Reply