windows-vista

Elevating from low to medium integrity

旧街凉风 提交于 2021-02-07 03:51:55
问题 This is similar to " how create medium integrity level process from low integrity level process? ", but I'm coming from a slightly different angle. (And that isn't answered anyway.) :) If a file is saved as low integrity (typically from a low integrity app such as a browser) then it is marked with a Low Integrity Mandatory Label. (This label can also be applied with icacls /setintegritylevel low .) If such a file is executed, it becomes a low integrity process, understandably. Is there some

Elevating from low to medium integrity

半城伤御伤魂 提交于 2021-02-07 03:50:26
问题 This is similar to " how create medium integrity level process from low integrity level process? ", but I'm coming from a slightly different angle. (And that isn't answered anyway.) :) If a file is saved as low integrity (typically from a low integrity app such as a browser) then it is marked with a Low Integrity Mandatory Label. (This label can also be applied with icacls /setintegritylevel low .) If such a file is executed, it becomes a low integrity process, understandably. Is there some

Static build in Qt on Windows Vista

ぃ、小莉子 提交于 2020-02-05 06:26:45
问题 I am currently running Windows Vista Home Premium, and I have developed an application with my friend using Qt Creator. We are now trying to deploy our application as just one executable, so we are trying to do a static build. We have added CONFIG += static in our .pro file. We are using this documentation to help us: http://doc.trolltech.com/4.1/deployment-windows.html When I try to build QT, I use this command: configure -static -platform win32-msvc Then I get this error: Creating qmake...

How do I control my application's name in the UAC dialog?

偶尔善良 提交于 2020-02-01 02:49:06
问题 I would like to control the name of my application as it appears in the UAC dialog. Right now it shows up as something like "MyCompany.MyApp.exe"; I would prefer something like "MyApp Pro". In other words, I would like a short, friendly phrase instead of the raw EXE file name. I noticed that MMC.EXE appears in the UAC dialog as "Microsoft Management Console", so it seems to be possible. But how? There must be a build setting somewhere that controls this, I just can't seem to find it ... Edit:

Run with administrative permission issue

大兔子大兔子 提交于 2020-01-29 10:11:49
问题 I am using Windows Vista and I find something strange, I programatically invoke IE to open IE to access some local html page, the current user belongs to administrator group; I programatically invoke IE with RunAs parameter, and let IE to access access some local html page, the current user belongs to administrator group; I find (1) and (2) sometimes have different results (page content), especially when there is ActiveX or Silverlight plug-in in the local page. My confusion is, if the

Run with administrative permission issue

纵然是瞬间 提交于 2020-01-29 10:11:11
问题 I am using Windows Vista and I find something strange, I programatically invoke IE to open IE to access some local html page, the current user belongs to administrator group; I programatically invoke IE with RunAs parameter, and let IE to access access some local html page, the current user belongs to administrator group; I find (1) and (2) sometimes have different results (page content), especially when there is ActiveX or Silverlight plug-in in the local page. My confusion is, if the

Unable to attach to the process

廉价感情. 提交于 2020-01-22 23:07:07
问题 I am trying to debug a service in VS 2005 running. Service is running under SYSTEM username. I have opened VS as administrator. The error I am getting is: Unable to attach the process. The system cannot find the file specified I am running on Windows Vista. 回答1: Maybe the program you are trying to debug is using admin privileges but visual studio doesn't have admin rights. run visual studio as administrator, even if you are logged in as administrator it doesn't automatically have admin

Why would our Java app not display windows on secondary monitor?

故事扮演 提交于 2020-01-22 17:47:27
问题 We have a Java/Swing client that's been around for quite a few years. When I moved from XP to Vista (client ONLY runs on Windows), I noticed that whenever a new window is created (usually a JFrame descendant) on my secondary monitor, the window initially shows as blank, i.e. instead of showing the normal contents of the window, it's just a solid block of gray. If I then drag that window onto the primary monitor, the second it crosses the monitor boundary, it draws itself properly and I can

Why would our Java app not display windows on secondary monitor?

家住魔仙堡 提交于 2020-01-22 17:46:05
问题 We have a Java/Swing client that's been around for quite a few years. When I moved from XP to Vista (client ONLY runs on Windows), I noticed that whenever a new window is created (usually a JFrame descendant) on my secondary monitor, the window initially shows as blank, i.e. instead of showing the normal contents of the window, it's just a solid block of gray. If I then drag that window onto the primary monitor, the second it crosses the monitor boundary, it draws itself properly and I can

How do I prevent programmatically the “Program Compatibility Assistant” in Vista (and Windows 7) from appearing?

喜欢而已 提交于 2020-01-20 06:07:29
问题 I develop a C++ program which might use adobe flash, although it is not essential. I use CoCreateInstance to create the flash object, and if it fails, I know flash is not installed so I don't use it. However, in Vista (and I think Windows 7 as well), when flash is not installed, after leaving the application, the "Program Compatibility Assistant" pops up a message saying that "This program requires a missing Windows component" specifying the flash.ocx. Is there a way to prevent this message