View Single Post
Old 11-28-2007   #2 (permalink)
Dzomlija


Windows Vista x64 Ultimate
 
 

Re: How to elevate integrity level of a process

Quote  Quote: Originally Posted by Darshan Tilak View Post
Hi,

I have written an application (win32 exe) that calls GetActiveObject() to
get an object of Microsoft Excel. I use a batch file to launch this exe.
This worked fine on XP, but the call returns a failure when used on Windows
Vista. I found some answers for the same that suggest to elevate the process
integrity level.

So I have the following questions:
-- How to elevate a processs integrity level? (where can i find the relevent
information?)
-- Will I have to change my application code to achieve this?
-- Can a not simply make changes to the batch file, that calls the exe, to
elevate the process integrity level?


(I hope this is the right forum to ask this question. It will be really
helpful if anyone can point me in the right direction.)

Thanks,
Darshan
Try running the batch file from an elevated command prompt.
My System SpecsSystem Spec