Click here to Skip to main content
15,892,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: sometime trying to set bg-text color of static control doesn't work Pin
Hamid_RT20-Sep-08 18:48
Hamid_RT20-Sep-08 18:48 
GeneralRe: sometime trying to set bg-text color of static control doesn't work Pin
xanagan66620-Sep-08 19:10
xanagan66620-Sep-08 19:10 
QuestionRe: sometime trying to set bg-text color of static control doesn't work Pin
Mark Salsbery21-Sep-08 6:50
Mark Salsbery21-Sep-08 6:50 
AnswerRe: sometime trying to set bg-text color of static control doesn't work Pin
xanagan66621-Sep-08 13:25
xanagan66621-Sep-08 13:25 
QuestionManifest. MS XML Code Causes Win Program Loader Errors Pin
Bram van Kampen20-Sep-08 14:18
Bram van Kampen20-Sep-08 14:18 
AnswerRe: Manifest. MS XML Code Causes Win Program Loader Errors Pin
enhzflep20-Sep-08 14:41
enhzflep20-Sep-08 14:41 
GeneralRe: Manifest. MS XML Code Causes Win Program Loader Errors Pin
Bram van Kampen20-Sep-08 16:22
Bram van Kampen20-Sep-08 16:22 
AnswerRe: Manifest. MS XML Code Causes Win Program Loader Errors Pin
enhzflep20-Sep-08 20:06
enhzflep20-Sep-08 20:06 
Pleasure. Wink | ;)

Not really too sure what the problem is with that XML file, though on looking at this one I have here, I notice that you only have 1 pair of assemblyIdentity tags - I'm leaning away from it being a privilege escalation problem, but more towards the manifest being improperly formed.

Just found a blog that discusses manifests a little. I've tried the first one fro the page and it works fine. I then changed the requestedExecutionLevel to level="requireAdministrator", it still seems fine. Though I can run it with a guest account on xp - I don't know if this is the expected behaviour or not.

Here's the blog I mentioned:
http://blogs.msdn.com/cjacks/archive/2006/09/08/745729.aspx[^]


Here's the 1st manifest from that page:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
  <assemblyIdentity type="win32" processorArchitecture="*" version="1.0.0.0" name="MyApplication.exe"/>
  <description>My totally awesome application</description>
  <dependency>
    <dependentAssembly>
      <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" language="*" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" />
    </dependentAssembly>
  </dependency>
  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
    <security>
      <requestedPrivileges>
        <requestedExecutionLevel level="asInvoker"/>
      </requestedPrivileges>
    </security>
  </trustInfo>
</assembly>


Good luck.
GeneralRe: Manifest. MS XML Code Causes Win Program Loader Errors Pin
Bram van Kampen24-Sep-08 13:19
Bram van Kampen24-Sep-08 13:19 
QuestionCan't define keyboard hook ... ( code attached ) Pin
Yanshof20-Sep-08 9:30
Yanshof20-Sep-08 9:30 
QuestionRe: Can't define keyboard hook ... ( code attached ) Pin
Perspx20-Sep-08 9:34
Perspx20-Sep-08 9:34 
AnswerRe: Can't define keyboard hook ... ( code attached ) Pin
Yanshof20-Sep-08 9:43
Yanshof20-Sep-08 9:43 
GeneralRe: Can't define keyboard hook ... ( code attached ) Pin
Yanshof20-Sep-08 9:54
Yanshof20-Sep-08 9:54 
AnswerRe: Can't define keyboard hook ... ( code attached ) Pin
Perspx20-Sep-08 10:04
Perspx20-Sep-08 10:04 
GeneralRe: Can't define keyboard hook ... ( code attached ) Pin
Joseph Marzbani20-Sep-08 9:58
Joseph Marzbani20-Sep-08 9:58 
AnswerRe: Can't define keyboard hook ... ( code attached ) Pin
Hadi Dayvary20-Sep-08 10:08
professionalHadi Dayvary20-Sep-08 10:08 
GeneralRe: Can't define keyboard hook ... ( code attached ) Pin
Joseph Marzbani20-Sep-08 11:01
Joseph Marzbani20-Sep-08 11:01 
GeneralRe: Can't define keyboard hook ... ( code attached ) Pin
Bram van Kampen20-Sep-08 14:28
Bram van Kampen20-Sep-08 14:28 
GeneralRe: Can't define keyboard hook ... ( code attached ) Pin
Hamid_RT20-Sep-08 18:51
Hamid_RT20-Sep-08 18:51 
GeneralRe: Can't define keyboard hook ... ( code attached ) Pin
Joseph Marzbani21-Sep-08 13:48
Joseph Marzbani21-Sep-08 13:48 
Questioncalling a static member function Pin
steph520-Sep-08 9:12
steph520-Sep-08 9:12 
AnswerRe: calling a static member function [modified] Pin
Mark Salsbery20-Sep-08 10:15
Mark Salsbery20-Sep-08 10:15 
GeneralRe: calling a static member function Pin
steph520-Sep-08 15:02
steph520-Sep-08 15:02 
GeneralRe: calling a static member function Pin
Mark Salsbery21-Sep-08 15:08
Mark Salsbery21-Sep-08 15:08 
QuestionCFileFind Problem. Don't search the Subdirs. [Solved] Pin
fantasy121520-Sep-08 8:13
fantasy121520-Sep-08 8:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.