Click here to Skip to main content
15,889,266 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: deque Pin
Maxwell Chen1-Mar-08 1:55
Maxwell Chen1-Mar-08 1:55 
GeneralRe: deque Pin
George_George29-Feb-08 21:45
George_George29-Feb-08 21:45 
Generalpow function has problem [modified] Pin
gentleguy28-Feb-08 14:41
gentleguy28-Feb-08 14:41 
GeneralRe: pow function has problem Pin
Robert Surtees28-Feb-08 15:12
Robert Surtees28-Feb-08 15:12 
GeneralRegistry and VISTA Pin
Bram van Kampen28-Feb-08 13:57
Bram van Kampen28-Feb-08 13:57 
GeneralRe: Registry and VISTA Pin
Maxwell Chen28-Feb-08 22:07
Maxwell Chen28-Feb-08 22:07 
GeneralRe: Registry and VISTA Pin
Bram van Kampen12-Mar-08 15:04
Bram van Kampen12-Mar-08 15:04 
AnswerRe: Registry and VISTA Pin
Maxwell Chen12-Mar-08 18:06
Maxwell Chen12-Mar-08 18:06 
Bram van Kampen wrote:
The Software I write is independent of the Microsoft Security Model. Typically all terminals installed under XP give all users administrator level control to the entire network. BTW None of the networks are connected to the Internet. Does that mean I have nothing to worry about, and that All will work as Advertised, or do I need to do something additional when I detect a Vista installation.


1. Under Vista, any ordinary program applications launched by mouse double-click or by pressing [Enter] key will be running in limited-user mode by default, even the user is of the "Administrators" group.

2. It has nothing related with network connections.

3. To make a program application have elevated privileges when being launched, we have to embed a manifest into the executable file to deal with UAC of Vista.

4. A manifest file is a source file written in XML syntax. To embed a manifest into an executable, you need to use "MT.exe" tool come with Visual C++ or SDK installation.

5. Here is the article about manifest and UAC of Vista. Making your application UAC aware[^]. And you may need to read more related articles. See those further readings in this article. And you may also search with Google for more source.

6. If you use the code sample of manifest in above article, the application might have problem under WinXP. To make it compatible with WinXP, you need to alter the syntax. See the "ms_asmv2" stuff in this article: Create and embed an application manifest[^].

7. This article talks even more about UAC: Understanding and configuring UAC in Vista[^].

  Maxwell Chen

GeneralRe: Registry and VISTA Pin
Bram van Kampen13-Mar-08 11:29
Bram van Kampen13-Mar-08 11:29 
GeneralRe: Registry and VISTA Pin
Maxwell Chen13-Mar-08 18:56
Maxwell Chen13-Mar-08 18:56 
GeneralRe: Registry and VISTA Pin
Bram van Kampen12-Mar-08 15:37
Bram van Kampen12-Mar-08 15:37 
GeneralRe: Registry and VISTA Pin
Mark Salsbery29-Feb-08 7:49
Mark Salsbery29-Feb-08 7:49 
GeneralRe: Registry and VISTA Pin
Bram van Kampen29-Feb-08 14:25
Bram van Kampen29-Feb-08 14:25 
GeneralRe: Registry and VISTA Pin
Bram van Kampen12-Mar-08 15:35
Bram van Kampen12-Mar-08 15:35 
GeneralRe: Registry and VISTA Solved Pin
Bram van Kampen13-Mar-08 11:34
Bram van Kampen13-Mar-08 11:34 
GeneralRe: Registry and VISTA Solved Pin
Mark Salsbery13-Mar-08 11:42
Mark Salsbery13-Mar-08 11:42 
Generalspecifying object type at compile time Pin
act_x28-Feb-08 12:50
act_x28-Feb-08 12:50 
GeneralRe: specifying object type at compile time Pin
Chris Losinger28-Feb-08 15:54
professionalChris Losinger28-Feb-08 15:54 
GeneralDialog Box Refresh Pin
RomTibi28-Feb-08 5:50
RomTibi28-Feb-08 5:50 
GeneralRe: Dialog Box Refresh Pin
led mike28-Feb-08 5:58
led mike28-Feb-08 5:58 
GeneralRe: Dialog Box Refresh Pin
RomTibi29-Feb-08 6:20
RomTibi29-Feb-08 6:20 
GeneralRe: Dialog Box Refresh Pin
led mike29-Feb-08 6:32
led mike29-Feb-08 6:32 
GeneralRe: Dialog Box Refresh Pin
RomTibi29-Feb-08 7:35
RomTibi29-Feb-08 7:35 
GeneralRe: Dialog Box Refresh Pin
RomTibi1-Mar-08 22:23
RomTibi1-Mar-08 22:23 
GeneralRe: Dialog Box Refresh Pin
led mike2-Mar-08 14:54
led mike2-Mar-08 14:54 

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.