Click here to Skip to main content
15,902,299 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Event driven, blocking Pipe for MFC? Pin
nobaq29-Dec-08 1:51
nobaq29-Dec-08 1:51 
QuestionVisual Studio 2008 dll creation Pin
Fred Andres28-Dec-08 9:34
Fred Andres28-Dec-08 9:34 
QuestionRe: Visual Studio 2008 dll creation Pin
CPallini28-Dec-08 10:20
mveCPallini28-Dec-08 10:20 
AnswerRe: Visual Studio 2008 dll creation Pin
Fred Andres28-Dec-08 10:30
Fred Andres28-Dec-08 10:30 
GeneralRe: Visual Studio 2008 dll creation Pin
CPallini28-Dec-08 10:40
mveCPallini28-Dec-08 10:40 
QuestionSimple IPC / Functioncall in different address space Pin
nobaq28-Dec-08 7:01
nobaq28-Dec-08 7:01 
AnswerRe: Simple IPC / Functioncall in different address space Pin
Code-o-mat28-Dec-08 10:57
Code-o-mat28-Dec-08 10:57 
GeneralRe: Simple IPC / Functioncall in different address space Pin
nobaq28-Dec-08 11:38
nobaq28-Dec-08 11:38 
Hi,

The main problem is that I have no experience with these. But at first glance they seem to be too complicated.

I need no Networking support, it should just go fast & simple. Sockets are really oversized for that.

Problem with shared memory: I need complex caching structures and synchronization.

I would seek for an IPC method that works very simple like a remote-process function call and which is blocking: I request something in my MFC app and get the answer directly; the DLL should be blocking while this process is done.

I have experimented with WM_COPYDATA. But here I need to create a dummy window inside my DLL, send WM_COPYDATA to my MFC app to request the data and in turn send another WM_COPYDATA back to the DLL with the actual data. Too much complexity and oversize Frown | :( I also need to copy the data a few times.

Named Pipes: I do not know them exactly but is this really simple for my case? How do I manage the server part in my MFC app? Do I need a separate thread for this? Does this work when there are requests done simultanely?

Niki
GeneralRe: Simple IPC / Functioncall in different address space Pin
Richard Andrew x6428-Dec-08 11:43
professionalRichard Andrew x6428-Dec-08 11:43 
GeneralRe: Simple IPC / Functioncall in different address space Pin
nobaq29-Dec-08 1:49
nobaq29-Dec-08 1:49 
Questionquestion about templates and iterators Pin
Green Fuze28-Dec-08 6:30
Green Fuze28-Dec-08 6:30 
AnswerRe: question about templates and iterators Pin
Stuart Dootson29-Dec-08 14:15
professionalStuart Dootson29-Dec-08 14:15 
QuestionHow to declare a global array of string inside of a IF Pin
Dark_eye28-Dec-08 6:04
Dark_eye28-Dec-08 6:04 
AnswerRe: How to declare a global array of string inside of a IF Pin
CPallini28-Dec-08 6:21
mveCPallini28-Dec-08 6:21 
GeneralRe: How to declare a global array of string inside of a IF Pin
Dark_eye28-Dec-08 19:22
Dark_eye28-Dec-08 19:22 
QuestionHow to get the main module of any process? Pin
kcynic28-Dec-08 3:56
kcynic28-Dec-08 3:56 
AnswerRe: How to get the main module of any process? Pin
Mark Salsbery28-Dec-08 4:40
Mark Salsbery28-Dec-08 4:40 
AnswerRe: How to get the main module of any process? [modified] Pin
kcynic28-Dec-08 15:37
kcynic28-Dec-08 15:37 
AnswerRe: How to get the main module of any process? Pin
Code-o-mat28-Dec-08 4:42
Code-o-mat28-Dec-08 4:42 
GeneralRe: How to get the main module of any process? Pin
kcynic28-Dec-08 15:41
kcynic28-Dec-08 15:41 
GeneralRe: How to get the main module of any process? Pin
Code-o-mat28-Dec-08 21:59
Code-o-mat28-Dec-08 21:59 
AnswerRe: How to get the main module of any process? Pin
Hamid_RT28-Dec-08 5:21
Hamid_RT28-Dec-08 5:21 
GeneralRe: How to get the main module of any process? Pin
kcynic28-Dec-08 15:44
kcynic28-Dec-08 15:44 
QuestionOverlapping controls Pin
Moak28-Dec-08 2:47
Moak28-Dec-08 2:47 
AnswerRe: Overlapping controls Pin
Mark Salsbery28-Dec-08 4:52
Mark Salsbery28-Dec-08 4:52 

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.