News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Vista UAC problem

Started by starzboy, June 18, 2009, 07:30:40 AM

Previous topic - Next topic

starzboy

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

disintx

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.

BlackVortex

You mean, with UAC disabled it works ?

Slugsnack

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

starzboy

Hi
When UAC is turned off everything works fine.

dedndave

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