Click here to Skip to main content
       

C / C++ / MFC

 
Hint: For improved responsiveness ensure Javascript is enabled and choose 'Normal' from the Layout dropdown and hit 'Update'.
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page  Show 
AnswerRe: Is there a reason you would initialise variables like this?memberEugen Podsypalnikov25 Jul '12 - 7:42 
AnswerRe: Is there a reason you would initialise variables like this?memberMalli_S25 Jul '12 - 20:58 
QuestionShellExecute() launch .CHM and PDF file not work in Window 7memberAndraw11124 Jul '12 - 7:31 
QuestionRe: ShellExecute() launch .CHM and PDF file not work in Window 7memberDavidCrow24 Jul '12 - 8:06 
AnswerRe: ShellExecute() launch .CHM and PDF file not work in Window 7memberAndraw11124 Jul '12 - 8:13 
GeneralRe: ShellExecute() launch .CHM and PDF file not work in Window 7memberenhzflep24 Jul '12 - 8:28 
GeneralRe: ShellExecute() launch .CHM and PDF file not work in Window 7memberAndraw11124 Jul '12 - 8:51 
GeneralRe: ShellExecute() launch .CHM and PDF file not work in Window 7memberenhzflep24 Jul '12 - 9:07 
GeneralRe: ShellExecute() launch .CHM and PDF file not work in Window 7memberAndraw11124 Jul '12 - 9:45 
GeneralRe: ShellExecute() launch .CHM and PDF file not work in Window 7memberenhzflep24 Jul '12 - 9:58 
AnswerRe: ShellExecute() launch .CHM and PDF file not work in Window 7memberTopCoder2324 Jul '12 - 10:04 
GeneralRe: ShellExecute() launch .CHM and PDF file not work in Window 7mvpRichard MacCutchan24 Jul '12 - 11:09 
GeneralRe: ShellExecute() launch .CHM and PDF file not work in Window 7memberTopCoder2324 Jul '12 - 23:37 
True, Windows 7 UAC (User Account Control) screws things up.
 
http://en.wikipedia.org/wiki/User_Account_Control[^] says this about ShellExecute:
 
ShellExecute(hwnd, "runas", "C:\\Windows\\Notepad.exe", 0, 0, SW_SHOWNORMAL);
 
In the absence of a specific directive stating what privileges the application requests, UAC will apply heuristics, to determine whether or not the application needs administrator privileges. For example, if UAC detects that the application is a setup program, from clues such as the filename, versioning fields, or the presence of certain sequences of bytes within the executable, in the absence of a manifest it will assume that the application needs administrator privileges.
GeneralRe: ShellExecute() launch .CHM and PDF file not work in Window 7memberAndraw11125 Jul '12 - 5:31 
GeneralRe: ShellExecute() launch .CHM and PDF file not work in Window 7 [modified]memberTopCoder2325 Jul '12 - 6:49 
GeneralRe: ShellExecute() launch .CHM and PDF file not work in Window 7memberAndraw11125 Jul '12 - 9:51 
GeneralRe: ShellExecute() launch .CHM and PDF file not work in Window 7memberAndraw11125 Jul '12 - 10:28 
GeneralRe: ShellExecute() launch .CHM and PDF file not work in Window 7memberCharles Oppermann25 Jul '12 - 7:23 
GeneralRe: ShellExecute() launch .CHM and PDF file not work in Window 7memberAndraw11125 Jul '12 - 9:55 
SuggestionRe: ShellExecute() launch .CHM and PDF file not work in Window 7memberCharles Oppermann26 Jul '12 - 3:39 
GeneralRe: ShellExecute() launch .CHM and PDF file not work in Window 7memberAndraw11126 Jul '12 - 4:35 
SuggestionRe: ShellExecute() launch .CHM and PDF file not work in Window 7memberCharles Oppermann26 Jul '12 - 6:04 
GeneralRe: ShellExecute() launch .CHM and PDF file not work in Window 7memberAndraw11126 Jul '12 - 6:56 
GeneralRe: ShellExecute() launch .CHM and PDF file not work in Window 7memberAndraw11126 Jul '12 - 5:54 
SuggestionRe: ShellExecute() launch .CHM and PDF file not work in Window 7memberCharles Oppermann25 Jul '12 - 6:59 
QuestionHow to test firewire communication using C program ?memberCode_Demon_198524 Jul '12 - 4:58 
GeneralRe: How to test firewire communication using C program ?mvpCPallini24 Jul '12 - 6:35 
QuestionHow to Undo drawing a line in MFC.?membermbatra3124 Jul '12 - 1:02 
AnswerRe: How to Undo drawing a line in MFC.?memberEugen Podsypalnikov24 Jul '12 - 3:14 
AnswerRe: How to Undo drawing a line in MFC.?memberAlan Balkany24 Jul '12 - 4:02 
GeneralSDI application with 3 views [SOLVED] [modified]memberekinnh23 Jul '12 - 22:23 
GeneralRe: SDI application with 3 viewsmemberEugen Podsypalnikov24 Jul '12 - 0:06 
GeneralRe: SDI application with 3 viewsmemberEugen Podsypalnikov24 Jul '12 - 0:17 
GeneralRe: SDI application with 3 viewsmemberMohibur Rashid25 Jul '12 - 14:45 
GeneralRe: SDI application with 3 viewsmemberVaclav_Sal25 Jul '12 - 16:51 
GeneralRe: SDI application with 3 viewsmemberekinnh26 Jul '12 - 18:13 
GeneralRe: SDI application with 3 viewsmemberVaclav_Sal27 Jul '12 - 2:42 
GeneralRe: SDI application with 3 viewsmemberekinnh31 Jul '12 - 22:13 
GeneralRe: SDI application with 3 viewsmembersunilkpv26 Jul '12 - 2:09 
Question[Hook HW interrupts in flat mode with DOS32/A]memberliaoo23 Jul '12 - 16:42 
AnswerRe: [Hook HW interrupts in flat mode with DOS32/A]memberenhzflep23 Jul '12 - 19:01 
GeneralRe: [Hook HW interrupts in flat mode with DOS32/A]memberliaoo23 Jul '12 - 19:47 
GeneralRe: [Hook HW interrupts in flat mode with DOS32/A]memberenhzflep23 Jul '12 - 20:23 
GeneralRe: [Hook HW interrupts in flat mode with DOS32/A]memberliaoo23 Jul '12 - 22:02 
AnswerRe: [Hook HW interrupts in flat mode with DOS32/A]memberTopCoder2323 Jul '12 - 20:10 
GeneralRe: [Hook HW interrupts in flat mode with DOS32/A]memberliaoo23 Jul '12 - 22:05 
QuestionMSDN 2010, scanf_smembermrby12323 Jul '12 - 7:13 
AnswerRe: MSDN 2010, scanf_smemberAlbert Holguin23 Jul '12 - 7:26 
AnswerRe: MSDN 2010, scanf_smvpCPallini23 Jul '12 - 22:12 
GeneralProgrammatically setting power manager suspend timeouts in Windows CE5.0 [SOLVED] [modified]memberSidProgrammer22 Jul '12 - 21:21 

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


Advertise | Privacy | Mobile
Web02 | 2.6.130516.1 | Last Updated 23 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid