Click here to Skip to main content
15,898,373 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: error in m_DateStart.SetFormat("MM/dd/yyy"); [modified] Pin
Tara149-Jul-06 21:16
Tara149-Jul-06 21:16 
QuestionFAX management programatically Pin
Rilhas9-Jul-06 3:11
Rilhas9-Jul-06 3:11 
QuestionADO.NET in MFC 6 Pin
Shai`tan9-Jul-06 2:42
Shai`tan9-Jul-06 2:42 
AnswerRe: ADO.NET in MFC 6 Pin
Nemanja Trifunovic9-Jul-06 3:12
Nemanja Trifunovic9-Jul-06 3:12 
QuestionCTabCtrl with centre justified tabs. Pin
Yokeldj9-Jul-06 1:41
Yokeldj9-Jul-06 1:41 
QuestionsharingViolation error Pin
paperke679-Jul-06 1:22
paperke679-Jul-06 1:22 
AnswerRe: sharingViolation error [modified] Pin
bob169729-Jul-06 9:15
bob169729-Jul-06 9:15 
GeneralRe: sharingViolation error Pin
earl10-Jul-06 5:02
earl10-Jul-06 5:02 
OP: That's a terrible design.

You could, alternatively, do something like a circular buffer of files:
writer writes file data0001
reader reads data0001 and deletes

writer knows it last wrote data0001 so next time it writes data0002, on up to, say, 1000 then loops back to 0.

reader always deletes. This way, the two apps shouldn't get into a race over the same file.

Alternatively, there is a whole body of stuff called IPC for getting data from one process into another. The ones that come to mind are pipes, sockets, and perhaps mailslots.

earl
GeneralRe: sharingViolation error Pin
bob1697210-Jul-06 10:52
bob1697210-Jul-06 10:52 
GeneralRe: sharingViolation error Pin
earl10-Jul-06 11:13
earl10-Jul-06 11:13 
QuestionCRichEdit right click Pin
YaronNir8-Jul-06 22:48
YaronNir8-Jul-06 22:48 
QuestionCreating a custom control? Pin
Lord Kixdemp8-Jul-06 16:45
Lord Kixdemp8-Jul-06 16:45 
AnswerRe: Creating a custom control? Pin
Sarath C9-Jul-06 0:50
Sarath C9-Jul-06 0:50 
GeneralRe: Creating a custom control? [modified] Pin
Lord Kixdemp9-Jul-06 14:12
Lord Kixdemp9-Jul-06 14:12 
QuestionHelp calling and using a functions in visual c++ 6 Pin
method0078-Jul-06 12:35
method0078-Jul-06 12:35 
QuestionProblem with 2DGraph of Nikolai Teofilov Pin
ensger8-Jul-06 8:15
ensger8-Jul-06 8:15 
AnswerRe: Problem with 2DGraph of Nikolai Teofilov Pin
Jun Du8-Jul-06 9:46
Jun Du8-Jul-06 9:46 
Questionhow to detect internet connection availability ? Pin
tns_ranjith8-Jul-06 4:20
tns_ranjith8-Jul-06 4:20 
AnswerRe: how to detect internet connection availability ? Pin
includeh108-Jul-06 6:16
includeh108-Jul-06 6:16 
AnswerRe: how to detect internet connection availability ? Pin
PJ Arends8-Jul-06 7:44
professionalPJ Arends8-Jul-06 7:44 
QuestionAvailable/installed RAM Pin
RomTibi8-Jul-06 3:10
RomTibi8-Jul-06 3:10 
AnswerRe: Available/installed RAM Pin
Gary R. Wheeler8-Jul-06 3:54
Gary R. Wheeler8-Jul-06 3:54 
GeneralRe: Available/installed RAM Pin
RomTibi8-Jul-06 5:59
RomTibi8-Jul-06 5:59 
Questionseparating strings [modified] Pin
Tara148-Jul-06 3:01
Tara148-Jul-06 3:01 
AnswerRe: separating strings Pin
Gary R. Wheeler8-Jul-06 3:59
Gary R. Wheeler8-Jul-06 3:59 

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.