Click here to Skip to main content
15,906,628 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Locking keyboard and mouse of a computer in the same LAN using C++ or Java Pin
Mark Salsbery4-Feb-07 11:54
Mark Salsbery4-Feb-07 11:54 
GeneralRe: Locking keyboard and mouse of a computer in the same LAN using C++ or Java Pin
Sara_fjr4-Feb-07 12:12
Sara_fjr4-Feb-07 12:12 
GeneralRe: Locking keyboard and mouse of a computer in the same LAN using C++ or Java Pin
Mark Salsbery4-Feb-07 12:22
Mark Salsbery4-Feb-07 12:22 
GeneralRe: Locking keyboard and mouse of a computer in the same LAN using C++ or Java Pin
Sara_fjr4-Feb-07 12:44
Sara_fjr4-Feb-07 12:44 
QuestionReadDirectoryChangesW() in threads [modified] Pin
Klempie4-Feb-07 2:31
Klempie4-Feb-07 2:31 
AnswerRe: ReadDirectoryChangesW() in threads Pin
Waldermort4-Feb-07 6:36
Waldermort4-Feb-07 6:36 
GeneralRe: ReadDirectoryChangesW() in threads Pin
Klempie4-Feb-07 7:18
Klempie4-Feb-07 7:18 
GeneralRe: ReadDirectoryChangesW() in threads Pin
Waldermort4-Feb-07 7:55
Waldermort4-Feb-07 7:55 
Open/create your file with CreateFile() and the shared access flags. Use the file like memory with CreateFileMapping() followed by MapViewOfFile(). You can now read and write using all the standard string functions and casting a pointer within the file to a char/wchar_t. The named part comes from a mutex. Use CreateMutex() with the same string name in both threads. To prevent reading and writing at the same time use WaitForSingleObject() before you try reading or writing.
GeneralRe: ReadDirectoryChangesW() in threads Pin
Klempie4-Feb-07 9:21
Klempie4-Feb-07 9:21 
GeneralRe: ReadDirectoryChangesW() in threads Pin
Waldermort4-Feb-07 10:00
Waldermort4-Feb-07 10:00 
Questionmainboard or bios serial number Pin
hameduser3-Feb-07 19:48
hameduser3-Feb-07 19:48 
AnswerRe: mainboard or bios serial number Pin
Hamid_RT3-Feb-07 23:48
Hamid_RT3-Feb-07 23:48 
QuestionInteractive service in windows Pin
rana743-Feb-07 18:46
rana743-Feb-07 18:46 
AnswerRe: Interactive service in windows Pin
ThatsAlok6-Feb-07 20:20
ThatsAlok6-Feb-07 20:20 
QuestionIncrementing and enum? Pin
Stick^3-Feb-07 15:58
Stick^3-Feb-07 15:58 
AnswerRe: Incrementing and enum? Pin
Michael Dunn3-Feb-07 19:17
sitebuilderMichael Dunn3-Feb-07 19:17 
QuestionDrag and Drop file onto Microsoft Word Pin
mahesh_patil1663-Feb-07 15:54
mahesh_patil1663-Feb-07 15:54 
QuestionOracleDataReader undeclared identifier error Pin
Reveille3-Feb-07 15:43
Reveille3-Feb-07 15:43 
AnswerRe: OracleDataReader undeclared identifier error Pin
Hamid_RT4-Feb-07 0:14
Hamid_RT4-Feb-07 0:14 
QuestionRandom Float number generator Pin
Ming Luo3-Feb-07 10:10
Ming Luo3-Feb-07 10:10 
AnswerRe: Random Float number generator Pin
Chris Losinger3-Feb-07 11:14
professionalChris Losinger3-Feb-07 11:14 
QuestionLNK2019 Error!!! Pin
arbster13-Feb-07 9:27
arbster13-Feb-07 9:27 
AnswerRe: LNK2019 Error!!! Pin
Mark Salsbery3-Feb-07 10:17
Mark Salsbery3-Feb-07 10:17 
AnswerRe: LNK2019 Error!!! Pin
Hamid_RT3-Feb-07 23:53
Hamid_RT3-Feb-07 23:53 
News64-bit puzzle [modified] Pin
Karpov20073-Feb-07 8:14
Karpov20073-Feb-07 8:14 

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.