Click here to Skip to main content
15,900,472 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: typedef Pin
Prasanth M V18-Feb-08 23:46
Prasanth M V18-Feb-08 23:46 
QuestionCRT Security and Gotcha Pin
suhast18-Feb-08 20:24
suhast18-Feb-08 20:24 
GeneralRe: CRT Security and Gotcha Pin
James R. Twine10-Mar-08 4:52
James R. Twine10-Mar-08 4:52 
GeneralE_NOINTERFACE Pin
john563218-Feb-08 19:59
john563218-Feb-08 19:59 
AnswerRe: E_NOINTERFACE Pin
Rajkumar R18-Feb-08 20:16
Rajkumar R18-Feb-08 20:16 
GeneralRe: E_NOINTERFACE Pin
john563218-Feb-08 20:34
john563218-Feb-08 20:34 
GeneralQuestion about Mutex and Atoms. [modified] Pin
User 238229218-Feb-08 19:55
User 238229218-Feb-08 19:55 
GeneralRe: Question about Mutex and Atoms. Pin
Iain Clarke, Warrior Programmer18-Feb-08 22:25
Iain Clarke, Warrior Programmer18-Feb-08 22:25 
I'm no huge expert, but I've just had a look at the documentation for CreateMutex...

Terminal Services: The name can have a "Global\" or "Local\" prefix to explicitly create the object in the global or session name space. The remainder of the name can contain any character except the backslash character (\). For more information, see Kernel Object Name Spaces. 

Windows XP: Fast user switching is implemented using Terminal Services sessions. The first user to log on uses session 0, the next user to log on uses session 1, and so on. Kernel object names must follow the guidelines outlined for Terminal Services so that applications can support multiple users. 


So, I'd guess you need to put Global\ in front of a mutex name for the same one to be accessed (and there used) by differing processes from differing users.

If you look online for the documentation, I'm sure you can see how they work for Vista too - but I'd be surprised if it's different.


As for atoms? They're all around us, maaaaaaaan. (OK, I don't know, but I imagine it's in MSDN too)


OT: Mine took ~2 weeks, but that wasn't recent.

Iain.

Iain Clarke appearing in spite of being begged not to by CPallini.

Generalimport address table (IAT) Pin
George_George18-Feb-08 19:32
George_George18-Feb-08 19:32 
GeneralRe: import address table (IAT) [modified] Pin
User 238229218-Feb-08 19:43
User 238229218-Feb-08 19:43 
GeneralRe: import address table (IAT) Pin
George_George18-Feb-08 20:10
George_George18-Feb-08 20:10 
GeneralRegistering an OCX Pin
Chandrasekharan P18-Feb-08 18:59
Chandrasekharan P18-Feb-08 18:59 
QuestionRe: Registering an OCX Pin
Rajesh R Subramanian18-Feb-08 19:18
professionalRajesh R Subramanian18-Feb-08 19:18 
GeneralRe: Registering an OCX Pin
Chandrasekharan P18-Feb-08 19:27
Chandrasekharan P18-Feb-08 19:27 
AnswerRe: Registering an OCX Pin
Rajesh R Subramanian18-Feb-08 19:39
professionalRajesh R Subramanian18-Feb-08 19:39 
GeneralRe: Registering an OCX Pin
Chandrasekharan P18-Feb-08 22:27
Chandrasekharan P18-Feb-08 22:27 
GeneralError C2440 in VC++. Pin
T.RATHA KRISHNAN18-Feb-08 18:57
T.RATHA KRISHNAN18-Feb-08 18:57 
AnswerRe: Error C2440 in VC++. Pin
Rajkumar R18-Feb-08 19:04
Rajkumar R18-Feb-08 19:04 
GeneralRe: Error C2440 in VC++. Pin
T.RATHA KRISHNAN18-Feb-08 19:26
T.RATHA KRISHNAN18-Feb-08 19:26 
GeneralRe: Error C2440 in VC++. Pin
Chandrasekharan P18-Feb-08 19:12
Chandrasekharan P18-Feb-08 19:12 
QuestionInterface excel-sheet with MFC SDI application(.exe) Pin
MuneesRaj18-Feb-08 18:20
MuneesRaj18-Feb-08 18:20 
GeneralRe: Interface excel-sheet with MFC SDI application(.exe) Pin
Rajesh R Subramanian18-Feb-08 18:36
professionalRajesh R Subramanian18-Feb-08 18:36 
AnswerRe: Interface excel-sheet with MFC SDI application(.exe) Pin
Rajkumar R18-Feb-08 18:51
Rajkumar R18-Feb-08 18:51 
QuestionRe: Interface excel-sheet with MFC SDI application(.exe) Pin
MuneesRaj18-Feb-08 21:35
MuneesRaj18-Feb-08 21:35 
QuestionHow to add a dialog from one project to another? Pin
hanlei000000000918-Feb-08 18:12
hanlei000000000918-Feb-08 18:12 

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.