Bug Bounty: 150 $ for solution PDFCreator on Windows Vista
Submitted by philip on Wed, 2007-09-12 14:16.
Hello,
as you all know, PDFCreator currently does not work properly under Windows Vista. The upcoming Version 0.9.5 will have basic Vista support, but the main problem has not been solved.
The problem is, that Vista has a strict security system, that does not allow the way PDFSpooler.exe tries to start PDFCreator under the context of a user.
Is there someone who has already done this under windows Vista?
We have the possibility to do this in C (not C# oder C++) oder in Visual Basic 6.
Any help, hints oder experience is appreciated here, as we have spent several days on this issue without a result.
We are offering a bounty of 150$ for the first one who can solve this.
regards,
Philip
Hi Philip,
I had to struggle just the same, but finally could solve the problem. What is happening is this:
Vista has a build in mechanism which - by ways unknown to me - checks each starting program if it might need administrative rights. This mechanism is not perfect and is the reason you see the Vista Security warning.
What you can do about it is to add the information to the executable what access rights are needed. This is done via the resource compiler rc.exe. You have to create a so called manifest file. This contains a section where the program access rights are defined:
After compiling the resource file to a res file, this has to be implemented and compiled with your project. Vista then sees the manifest and does not use his checking mechanism.
If you need a step by step description, please come back to me. Since this discovery all my programs are behaving well under Vista.
Now, where can I dig up the bounty :-)
Cheers,
Martin
PS I have send you a mail with the coding via this forum....