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

C / C++ / MFC

 
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 
Hi,

I'm trying to resolve a Manifest issue. Member 'enhzflep' suggested some time ago that mainifest XML Code does not have to be included in the exe, but that it can be added as a separate XML file (MyProg.exe.Manifest) as an afterthought, rather than compiling it into the code.


I Proposed the following for an exe called Softguard Utility Program.
As soon as the Windows Loader sees this Manifest, it balks with Win32 error 140001. If I rename the exe file, it runs.
I'm doing at least something right in that the Windows Loader responds. The question is, What's wrong with the XML Code that makes the loader
balk. Better, How do I debug this issue. The Loader fails before the Debugger Starts.

Contents of MyProg.Exe.manifest
<pre><code><?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="1.0.0.0"
processorArchitecture="X86"
name="SgBackup"
type="win32"/>
<description>Softguard Utility Program</description>
<!-- Softguard Utility Program -->
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2>
<security>
<requestedPrivileges>
<requestedExecutionLevel
level="requireAdministrator"
uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly></code></pre>


thanks Smile | :) Smile | :)

Bram van Kampen

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 
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 

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.