How to debug a program as admin within Visual Studio
Posted
by
brian
on Super User
See other posts from Super User
or by brian
Published on 2010-06-20T19:48:09Z
Indexed on
2011/11/27
1:53 UTC
Read the original article
Hit count: 551
I'm running VS2K8 in Win7 64-bit. I'm logged in as admin and I'm running it as admin, but the program I'm working on fails with access denied when I call a restricted API. If run the program from Explorer with "Run as Administrator" it works.
I was under the belief that VS2K8 debugs programs with whatever rights VS2K8 itself is running with. As it stands I can't debug my application due to this and I'm at a loss as to what's going on.
© Super User or respective owner