Click here to Skip to main content
15,895,192 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWhich IPC mechanism should be used? Pin
Sameerkumar Namdeo11-Jul-08 18:06
Sameerkumar Namdeo11-Jul-08 18:06 
AnswerRe: Which IPC mechanism should be used? Pin
sudhir_Kumar11-Jul-08 19:52
sudhir_Kumar11-Jul-08 19:52 
GeneralRe: Which IPC mechanism should be used? Pin
Sameerkumar Namdeo11-Jul-08 20:05
Sameerkumar Namdeo11-Jul-08 20:05 
GeneralRe: Which IPC mechanism should be used? Pin
sudhir_Kumar11-Jul-08 20:55
sudhir_Kumar11-Jul-08 20:55 
AnswerRe: Which IPC mechanism should be used? Pin
Bram van Kampen12-Jul-08 14:35
Bram van Kampen12-Jul-08 14:35 
QuestionURLDownloadToCacheFile problem - possible workarounds? Pin
x87Bliss11-Jul-08 11:11
x87Bliss11-Jul-08 11:11 
QuestionSECURITY_ATTRIBUTES in threading Pin
emmmatty111-Jul-08 8:03
emmmatty111-Jul-08 8:03 
AnswerRe: SECURITY_ATTRIBUTES in threading Pin
Peter Weyzen11-Jul-08 13:56
Peter Weyzen11-Jul-08 13:56 
Without context, I wasn't sure what you were talking about. Googling your statement, reveals that this is part of "CreateThread".

Is that what you are asking about?

It sounds like you can pass security rights to a thread and give it the same rights you have acquired somewhere else?

From: http://msdn.microsoft.com/en-us/library/ms682453(VS.85).aspx[^]

HANDLE WINAPI CreateThread(
__in_opt LPSECURITY_ATTRIBUTES lpThreadAttributes,
__in SIZE_T dwStackSize,
__in LPTHREAD_START_ROUTINE lpStartAddress,
__in_opt LPVOID lpParameter,
__in DWORD dwCreationFlags,
__out_opt LPDWORD lpThreadId
);


lpThreadAttributes [in, optional]
A pointer to a SECURITY_ATTRIBUTES structure that determines whether the returned handle can be inherited by child processes. If lpThreadAttributes is NULL, the handle cannot be inherited.

The lpSecurityDescriptor member of the structure specifies a security descriptor for the new thread. If lpThreadAttributes is NULL, the thread gets a default security descriptor. The ACLs in the default security descriptor for a thread come from the primary token of the creator.

Windows XP/2000: The ACLs in the default security descriptor for a thread come from the primary or impersonation token of the creator. This behavior changed with Windows XP SP2 and Windows Server 2003. For more information, see Remarks

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
Peter Weyzen<br />
Staff Engineer<br />
<a href="http://www.soonr.com">SoonR Inc -- PC Power delivered to your phone</a>

AnswerRe: SECURITY_ATTRIBUTES in threading Pin
zildjohn0111-Jul-08 14:14
zildjohn0111-Jul-08 14:14 
QuestionCCheckListBox in release mode, Windows XP in Windows classic theme Pin
tsvdevteam11-Jul-08 5:31
tsvdevteam11-Jul-08 5:31 
Joke[OT] Re: CCheckListBox in release mode, Windows XP in Windows classic theme Pin
David Crow11-Jul-08 6:08
David Crow11-Jul-08 6:08 
AnswerRe: CCheckListBox in release mode, Windows XP in Windows classic theme Pin
bob1697211-Jul-08 7:42
bob1697211-Jul-08 7:42 
GeneralRe: CCheckListBox in release mode, Windows XP in Windows classic theme Pin
tsvdevteam11-Jul-08 9:03
tsvdevteam11-Jul-08 9:03 
GeneralRe: CCheckListBox in release mode, Windows XP in Windows classic theme Pin
Bram van Kampen12-Jul-08 14:47
Bram van Kampen12-Jul-08 14:47 
QuestionUpdate only a particial area of a View with UpdateAllViews(...) Pin
CrocodileBuck11-Jul-08 4:55
CrocodileBuck11-Jul-08 4:55 
AnswerRe: Update only a particial area of a View with UpdateAllViews(...) Pin
Mark Salsbery11-Jul-08 5:05
Mark Salsbery11-Jul-08 5:05 
AnswerRe: Update only a particial area of a View with UpdateAllViews(...) Pin
led mike11-Jul-08 5:18
led mike11-Jul-08 5:18 
GeneralRe: Update only a particial area of a View with UpdateAllViews(...) Pin
CrocodileBuck11-Jul-08 5:27
CrocodileBuck11-Jul-08 5:27 
GeneralRe: Update only a particial area of a View with UpdateAllViews(...) Pin
Mark Salsbery11-Jul-08 5:31
Mark Salsbery11-Jul-08 5:31 
GeneralRe: Update only a particial area of a View with UpdateAllViews(...) Pin
CrocodileBuck11-Jul-08 5:46
CrocodileBuck11-Jul-08 5:46 
GeneralRe: Update only a particial area of a View with UpdateAllViews(...) Pin
Mark Salsbery11-Jul-08 6:05
Mark Salsbery11-Jul-08 6:05 
GeneralRe: Update only a particial area of a View with UpdateAllViews(...) Pin
CrocodileBuck11-Jul-08 6:16
CrocodileBuck11-Jul-08 6:16 
GeneralRe: Update only a particial area of a View with UpdateAllViews(...) Pin
Mark Salsbery11-Jul-08 6:29
Mark Salsbery11-Jul-08 6:29 
GeneralRe: Update only a particial area of a View with UpdateAllViews(...) Pin
CrocodileBuck11-Jul-08 6:33
CrocodileBuck11-Jul-08 6:33 
GeneralRe: Update only a particial area of a View with UpdateAllViews(...) Pin
Mark Salsbery11-Jul-08 6:36
Mark Salsbery11-Jul-08 6:36 

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.