The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: starzboy on June 18, 2009, 07:30:40 AM

Title: Vista UAC problem
Post by: starzboy on June 18, 2009, 07:30:40 AM
Hello
I have written a small program that will list informations of all files and running processes in windows with a specific extension, this program seems to work fine under win 2000 and XP, but in Vista even if i run it as Administartor it fails o work. Do I have to disable UAC to get this to work ?
Is there another way to get this working without disabling UAC ?

thankyou
Title: Re: Vista UAC problem
Post by: disintx on June 18, 2009, 08:12:47 AM
It might be that the APIs for this have changed; without code we can't really know for sure :)

What APIs in specific are you using? Have you tried debugging the app to see what actually happens? Maybe ollydbg can help you out a bit.
Title: Re: Vista UAC problem
Post by: BlackVortex on June 18, 2009, 08:52:21 AM
You mean, with UAC disabled it works ?
Title: Re: Vista UAC problem
Post by: Slugsnack on June 18, 2009, 09:35:35 AM
if running as admin doesn't work then i'm not sure UAC will help you that much. did you check if DEP is blocking it ? debug it and see which API call is failing or upload code here and most likely one of us can tell you
Title: Re: Vista UAC problem
Post by: starzboy on June 26, 2009, 10:39:11 AM
Hi
When UAC is turned off everything works fine.
Title: Re: Vista UAC problem
Post by: dedndave on June 26, 2009, 10:58:15 AM
i had a bit of a problem with this
or, rather, a friend had the problem with a program i wrote
he made a manifest file for it
i have not got so far as to learn how to do that, but i think this is what you may want
at least that should point you in the right direction