Hi all,
I just installed Pelles C 6 on windows 7. On every start of the IDE (poide.exe) the UAC comes up and ask me, if I really want to start this program. Is there any workround on this issue ?
Thanks for your help
Stefan
Quote from: stefan on December 17, 2009, 08:15:14 PM
Hi all,
I just installed Pelles C 6 on windows 7. On every start of the IDE (poide.exe) the UAC comes up and ask me, if I really want to start this program. Is there any workround on this issue ?
Thanks for your help
Stefan
Well, that's rather a Windows 7 question than a problem of Pelle's C. See http://technet.microsoft.com/en-us/library/cc709691%28WS.10%29.aspx#BKMK_S2 for details....
Ralf
QuoteWell, that's rather a Windows 7 question than a problem of Pelle's C. See http://technet.microsoft.com/en-us/library/cc709691%28WS.10%29.aspx#BKMK_S2 for details....
Ralf
Yes, maybe, but PellesC 5 is working perfect, no UAC at all. So anything in the 6th version must have been changed that causes windows to ask.
Did nobody else notice this behavior ?
Thanks for the link, mybe it will solve my problem
Stefan
Hi all,
nobody ? Am I the only one who has this problem ? :'(
I tested it on 2 computers with the same result. Login in as administrator or run pelles c as administrator does not solve this problem. Also logged in as administrator the UAC ask me if I really want to execute this unknown program.
As pelles C 5 is working perfectly on the same computer, I think it must be a bug in Pelles C 6 if installed on windows 7.
Please can anyone check this.
kind regards
Stefan
Hi All,
i got the same request when i try to start poide64.exe (6.0.4.0) on Windows 7 Professional 64 bit system.
I also think that may be a version 6 issue but I can't find a way to bypass UAC screen.
Btw, this issue also prevent to launch poide64.exe from inside VisualStudio (very important to me because working on an application ported to VS C++ but with the original RC file from Pelles IDE; VS can compile but can't open Pelles RC files correctly).
If I find a solution, I'll post here... in the mean any solution is welcome!
Thanks for you help
Silvio
Hi All,
I also got the same message on Windows 7.
I also got it in Windows Vista.
Galapagos
Quote from: stefan on December 17, 2009, 08:15:14 PM
Hi all,
I just installed Pelles C 6 on windows 7. On every start of the IDE (poide.exe) the UAC comes up and ask me, if I really want to start this program. Is there any workround on this issue ?
Thanks for your help
Stefan
I believe this is about the manifest in the program's resource section.
Most Win7 programs have a manifest like this....
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity type="win32" name="AutoLogon" version="1.0.0.0" processorArchitecture="X86" />
<description>Auto logon tool</description>
- <dependency>
- <dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0"
processorArchitecture="X86" publicKeyToken="6595b64144ccf1df" language="*" />
</dependentAssembly>
</dependency>
- <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
- <security>
- <requestedPrivileges>
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
Basically there are two execution levels "AsInvoker" and "HighestAvailable" ... if a program is going to shell out to other programs such as poreg you need to use the "HighestAvaialble" to get the launcher to work.
The easy solution is to turn off UAC if you are going to be entering and leaving POIDE frequently. With it off everything runs without annoyance. Of course you can turn it back on after....
From poide.exe
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
type="win32"
name="Pelles C IDE"
version="6.0.0.0"
processorArchitecture="x86"
/>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="x86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel
level="highestAvailable"
uiAccess="false"
/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
Quote from: timovjl on June 29, 2010, 03:29:26 PM
From poide.exe
Exactly... Mine is "HighestAvailable" as well...
That's going to trigger the UAC every time, unless UAC is turned off.
I'm currently develping on Win7 and turning off UAC (Control Panel->Action Center->UAC) does stop the IDE from prompting. Of course it has to be turned on sometimes for testing software but for the most part it's pure annoyance, one of Microsoft's worst ideas (and they've had some doozies).
In my own code I almost always us the "AsInvoker" level. This requires no elevation from an admin level account and does not trigger UAC when my programs launch.
BTW... Pelles C seems to work really well under Win7... but is in need of up to date library and header files. It will compile successfully any level of windows api code up to XP-sp3 with it's current libraries, which is just fine considering that XP is still very much alive and well as the OS of choice for HTPC connaseurs.