Click here to Skip to main content
15,915,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to Add Color to a CList Box Value? Pin
jerry1211a30-Apr-04 1:27
jerry1211a30-Apr-04 1:27 
AnswerRe: How to Add Color to a CList Box Value? Pin
V.30-Apr-04 1:36
professionalV.30-Apr-04 1:36 
AnswerRe: How to Add Color to a CList Box Value? Pin
Mike Dimmick30-Apr-04 1:44
Mike Dimmick30-Apr-04 1:44 
QuestionDACL. Is it necessary to know ? Pin
30-Apr-04 1:25
suss30-Apr-04 1:25 
AnswerRe: DACL. Is it necessary to know ? Pin
Mike Dimmick30-Apr-04 1:52
Mike Dimmick30-Apr-04 1:52 
GeneralRe: DACL. Is it necessary to know ? Pin
Member 101882330-Apr-04 1:59
Member 101882330-Apr-04 1:59 
GeneralRe: DACL. Is it necessary to know ? Pin
David Crow30-Apr-04 3:11
David Crow30-Apr-04 3:11 
GeneralRe: DACL. Is it necessary to know ? Pin
Blake Miller30-Apr-04 6:09
Blake Miller30-Apr-04 6:09 
Here is a scenario where you must know DACL, because the NULL will not work.
If you have two processes, one of which is running as a service under the local system account, and you want each one to be able to open a mutex, but you do not want the mutex to have 'wide open' access, then you must apply a DACL. This is all well and good, but suppose the process which is running as a service created the mutex, and the other process is running under the security context of the logged on user. The logged on user process will not be able to open the mutex if it was created under the context of the service (which usually runs as local system) - it will get access denied. So, then you have to apply the correct kinds of DACL to not only secure the object, but to allow it to be opened by the correct types of users.
Typically, the NULL DACL will either assign the object the security context of the process which created it, or give the object access to 'everyone'. In some cases, like the one mentioned here, neither case is a workable solution, so a non-NULL DACL must be applied.

GeneralGetAddress of IPAddress Control crashing.. Pin
IrishSonic30-Apr-04 1:13
IrishSonic30-Apr-04 1:13 
GeneralRe: GetAddress of IPAddress Control crashing.. Pin
jmkhael30-Apr-04 1:53
jmkhael30-Apr-04 1:53 
GeneralRe: GetAddress of IPAddress Control crashing.. Pin
Mike Dimmick30-Apr-04 2:05
Mike Dimmick30-Apr-04 2:05 
GeneralFinding handles to dialogs Pin
V.30-Apr-04 0:51
professionalV.30-Apr-04 0:51 
GeneralRe: Finding handles to dialogs Pin
mangellj30-Apr-04 3:25
mangellj30-Apr-04 3:25 
GeneralRe: Finding handles to dialogs Pin
V.3-May-04 4:09
professionalV.3-May-04 4:09 
GeneralRe: Finding handles to dialogs Pin
David Crow30-Apr-04 3:30
David Crow30-Apr-04 3:30 
GeneralActive X subclassing Pin
rw10430-Apr-04 0:00
rw10430-Apr-04 0:00 
Generalinterop com client and .net server Pin
mrmgsm29-Apr-04 23:21
mrmgsm29-Apr-04 23:21 
GeneralRe: interop com client and .net server Pin
Mike Dimmick30-Apr-04 2:25
Mike Dimmick30-Apr-04 2:25 
GeneralDLL Help. At the end of my tether! Pin
xsive29-Apr-04 22:59
xsive29-Apr-04 22:59 
GeneralRe: DLL Help. At the end of my tether! Pin
Mike Dimmick30-Apr-04 2:19
Mike Dimmick30-Apr-04 2:19 
GeneralSize of CRichEditCtrl Pin
GermanGeorge29-Apr-04 22:27
GermanGeorge29-Apr-04 22:27 
GeneralRe: Size of CRichEditCtrl Pin
David Crow30-Apr-04 3:40
David Crow30-Apr-04 3:40 
GeneralRe: Size of CRichEditCtrl Pin
GermanGeorge2-May-04 20:00
GermanGeorge2-May-04 20:00 
GeneralFile Association Pin
Monty229-Apr-04 22:19
Monty229-Apr-04 22:19 
GeneralRe: File Association Pin
Monty230-Apr-04 2:41
Monty230-Apr-04 2:41 

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.