Click here to Skip to main content
15,914,413 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: template class inheritance issue Pin
George_George21-Sep-08 22:15
George_George21-Sep-08 22:15 
QuestionPortability problem Pin
Ali Tavakol20-Sep-08 20:27
Ali Tavakol20-Sep-08 20:27 
AnswerRe: Portability problem Pin
Cedric Moonen20-Sep-08 21:44
Cedric Moonen20-Sep-08 21:44 
QuestionWhen My program restore window from Tray, Why not bring to the top? Pin
fantasy121520-Sep-08 19:30
fantasy121520-Sep-08 19:30 
AnswerRe: When My program restore window from Tray, Why not bring to the top? Pin
PJ Arends21-Sep-08 6:56
professionalPJ Arends21-Sep-08 6:56 
QuestionRe: When My program restore window from Tray, Why not bring to the top? Pin
fantasy121521-Sep-08 16:43
fantasy121521-Sep-08 16:43 
AnswerRe: When My program restore window from Tray, Why not bring to the top? Pin
Malli_S21-Sep-08 19:26
Malli_S21-Sep-08 19:26 
Questionsometime trying to set bg-text color of static control doesn't work Pin
xanagan66620-Sep-08 17:56
xanagan66620-Sep-08 17:56 
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 

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.