Click here to Skip to main content
16,006,845 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: import lib file in VC.Net Pin
casper23410-May-04 4:51
casper23410-May-04 4:51 
GeneralRe: import lib file in VC.Net Pin
HENDRIK R10-May-04 6:08
HENDRIK R10-May-04 6:08 
GeneralRe: import lib file in VC.Net Pin
robert_s10-May-04 4:40
robert_s10-May-04 4:40 
GeneralRe: import lib file in VC.Net Pin
casper23410-May-04 5:05
casper23410-May-04 5:05 
GeneralRe: import lib file in VC.Net Pin
robert_s10-May-04 12:06
robert_s10-May-04 12:06 
GeneralActiveX window remains on top Pin
Abhi Lahare10-May-04 1:19
Abhi Lahare10-May-04 1:19 
GeneralCreateProcessAsUser() Pin
RickardIsraelsson10-May-04 0:57
RickardIsraelsson10-May-04 0:57 
GeneralRe: CreateProcessAsUser() Pin
Mike Dimmick10-May-04 1:32
Mike Dimmick10-May-04 1:32 
LogonUser in Windows 2000 requires that you have the Trusted Computing Base privilege, which by default means that only processes running as LocalSystem (also shown as SYSTEM) get to call it.

Windows XP and Server 2003 no longer require this privilege; however, you still need privileges typically only granted to Administrators and to SYSTEM in order to call CreateProcessAsUser.

Instead, I suggest using CreateProcessWithLogonW. This function communicates with the RunAs service, which has the necessary privileges. The command line runas tool is effectively just a wrapper around CreateProcessWithLogonW.

Stability. What an interesting concept. -- Chris Maunder
GeneralProblem with Static control Pin
nguyenvhn10-May-04 0:20
nguyenvhn10-May-04 0:20 
GeneralRe: Problem with Static control Pin
David Crow10-May-04 2:47
David Crow10-May-04 2:47 
GeneralRe: Problem with Static control Pin
nguyenvhn10-May-04 15:15
nguyenvhn10-May-04 15:15 
GeneralRe: Problem with Static control Pin
David Crow11-May-04 1:52
David Crow11-May-04 1:52 
GeneralRe: Problem with Static control Pin
vividtang10-May-04 17:15
vividtang10-May-04 17:15 
GeneralUsing a Managed dll in Unmanaged code Pin
Majid Shahabfar10-May-04 0:09
Majid Shahabfar10-May-04 0:09 
GeneralRe: Using a Managed dll in Unmanaged code Pin
Anthony_Yio10-May-04 1:04
Anthony_Yio10-May-04 1:04 
QuestionMaximum ARRAY SIZE? Pin
zaferaslan10-May-04 0:03
zaferaslan10-May-04 0:03 
AnswerRe: Maximum ARRAY SIZE? Pin
Jens Doose10-May-04 0:13
Jens Doose10-May-04 0:13 
GeneralRe: Maximum ARRAY SIZE? Pin
zaferaslan10-May-04 0:21
zaferaslan10-May-04 0:21 
GeneralRe: Maximum ARRAY SIZE? Pin
Jens Doose10-May-04 0:31
Jens Doose10-May-04 0:31 
GeneralRe: Maximum ARRAY SIZE? Pin
zaferaslan10-May-04 0:41
zaferaslan10-May-04 0:41 
AnswerRe: Maximum ARRAY SIZE? Pin
David Crow10-May-04 2:49
David Crow10-May-04 2:49 
GeneralRe:David - Maximum ARRAY SIZE? Pin
zaferaslan10-May-04 3:14
zaferaslan10-May-04 3:14 
GeneralRe:David - Maximum ARRAY SIZE? Pin
David Crow10-May-04 3:35
David Crow10-May-04 3:35 
GeneralRe:David - Maximum ARRAY SIZE? Thanks Pin
zaferaslan10-May-04 20:26
zaferaslan10-May-04 20:26 
AnswerRe: Maximum ARRAY SIZE? Pin
Bob Stanneveld10-May-04 8:23
Bob Stanneveld10-May-04 8:23 

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.