Click here to Skip to main content
13,739,227 members

C / C++ / MFC

 
GeneralRe: How to write more that ONE data byte into ioctl file? Pin
Vaclav_12-Apr-18 3:57
memberVaclav_12-Apr-18 3:57 
Questionapp is not running in debug mode Pin
9-Apr-18 20:39
member9-Apr-18 20:39 
AnswerRe: app is not running in debug mode Pin
Maciej Los9-Apr-18 21:01
protectorMaciej Los9-Apr-18 21:01 
AnswerRe: app is not running in debug mode Pin
Victor Nijegorodov9-Apr-18 22:46
memberVictor Nijegorodov9-Apr-18 22:46 
GeneralRe: app is not running in debug mode Pin
9-Apr-18 23:14
member9-Apr-18 23:14 
GeneralRe: app is not running in debug mode Pin
Victor Nijegorodov10-Apr-18 1:03
memberVictor Nijegorodov10-Apr-18 1:03 
QuestionInter Process Communication between C++ - C# Pin
ptr_Electron8-Apr-18 18:13
memberptr_Electron8-Apr-18 18:13 
AnswerRe: Inter Process Communication between C++ - C# Pin
Jochen Arndt8-Apr-18 21:26
mvpJochen Arndt8-Apr-18 21:26 
Logging will not be a performance issue if you do that in an own thread. That thread may be part of the application itself or another application.

Using another application with IPC makes it more complicated and requires that the other application is running. So I would not use another application if there is no need for other communications besides logging.

There might be even no need of using a thread when logging does not occur at high rates with large data. The log data has to be prepared anyway within the time critical thread. Using then a log file which stays open might be sufficient. If you are concerned about the file write times, use overlapped IO so that the writing is done by the system in the background (which is basically the same as suggested above: moving the operation to another thread).

I know that the above is not what you asked for but I think it is helpful and you might find out that using IPC is not necessary. When maximum performance is a must-have, you have to use one of the above mentioned methods (own thread or overlapped IO) anyway even with IPC.
AnswerRe: Inter Process Communication between C++ - C# Pin
Randor 9-Apr-18 10:03
professional Randor 9-Apr-18 10:03 
AnswerRe: Inter Process Communication between C++ - C# Pin
jschell14-Apr-18 5:48
memberjschell14-Apr-18 5:48 
QuestionHow cin.get() works in loop ? Pin
Tarun Jha7-Apr-18 3:32
memberTarun Jha7-Apr-18 3:32 
SuggestionRe: How cin.get() works in loop ? Pin
David Crow7-Apr-18 6:34
memberDavid Crow7-Apr-18 6:34 
AnswerRe: How cin.get() works in loop ? Pin
Richard MacCutchan7-Apr-18 20:55
protectorRichard MacCutchan7-Apr-18 20:55 
AnswerRe: How cin.get() works in loop ? Pin
Peter_in_27808-Apr-18 21:13
professionalPeter_in_27808-Apr-18 21:13 
AnswerRe: How cin.get() works in loop ? Pin
jfbode10291-Jun-18 12:16
memberjfbode10291-Jun-18 12:16 
QuestionCListCtrl with group view enabled and long subtitles Pin
Friedbert Widmann5-Apr-18 22:43
memberFriedbert Widmann5-Apr-18 22:43 
QuestionHow can I initialize an array of structs where the array size is set at compile time? Pin
arnold_w5-Apr-18 21:46
memberarnold_w5-Apr-18 21:46 
AnswerRe: How can I initialize an array of structs where the array size is set at compile time? Pin
Richard MacCutchan5-Apr-18 23:26
protectorRichard MacCutchan5-Apr-18 23:26 
GeneralRe: How can I initialize an array of structs where the array size is set at compile time? Pin
arnold_w6-Apr-18 0:31
memberarnold_w6-Apr-18 0:31 
GeneralRe: How can I initialize an array of structs where the array size is set at compile time? Pin
Jochen Arndt6-Apr-18 0:55
mvpJochen Arndt6-Apr-18 0:55 
GeneralRe: How can I initialize an array of structs where the array size is set at compile time? Pin
arnold_w6-Apr-18 1:30
memberarnold_w6-Apr-18 1:30 
AnswerRe: How can I initialize an array of structs where the array size is set at compile time? Pin
Jochen Arndt5-Apr-18 23:36
mvpJochen Arndt5-Apr-18 23:36 
GeneralRe: How can I initialize an array of structs where the array size is set at compile time? Pin
arnold_w6-Apr-18 0:32
memberarnold_w6-Apr-18 0:32 
GeneralRe: How can I initialize an array of structs where the array size is set at compile time? Pin
Jochen Arndt6-Apr-18 1:13
mvpJochen Arndt6-Apr-18 1:13 
AnswerRe: How can I initialize an array of structs where the array size is set at compile time? Pin
Joe Woodbury6-Apr-18 6:06
professionalJoe Woodbury6-Apr-18 6:06 

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.


Advertise | Privacy | Cookies | Terms of Service
Web01-2016 | 2.8.180920.1 | Last Updated 21 Oct 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid