Click here to Skip to main content
15,895,142 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: c code for image scaling Pin
Sameerkumar Namdeo11-Jul-08 18:59
Sameerkumar Namdeo11-Jul-08 18:59 
AnswerRe: c code for image scaling Pin
Ștefan-Mihai MOGA11-Jul-08 21:22
professionalȘtefan-Mihai MOGA11-Jul-08 21:22 
AnswerRe: c code for image scaling Pin
CPallini11-Jul-08 22:01
mveCPallini11-Jul-08 22:01 
QuestionWhich IPC mechanism should be used? Pin
Sameerkumar Namdeo11-Jul-08 18:06
Sameerkumar Namdeo11-Jul-08 18:06 
AnswerRe: Which IPC mechanism should be used? Pin
sudhir_Kumar11-Jul-08 19:52
sudhir_Kumar11-Jul-08 19:52 
GeneralRe: Which IPC mechanism should be used? Pin
Sameerkumar Namdeo11-Jul-08 20:05
Sameerkumar Namdeo11-Jul-08 20:05 
GeneralRe: Which IPC mechanism should be used? Pin
sudhir_Kumar11-Jul-08 20:55
sudhir_Kumar11-Jul-08 20:55 
AnswerRe: Which IPC mechanism should be used? Pin
Bram van Kampen12-Jul-08 14:35
Bram van Kampen12-Jul-08 14:35 
I have written software with your requirements, except that it could run on multiple networked machines. The approach I took was Named Pipes. I wrote a Generic Server, and a Generic Client, and, in effect, an RPC Procedure. In effect a 'SendMessage' procedure on the Client side, which gathered and wrapped all the Calling Info, created a Header, indicating where in the package each item resides, and, send it over the pipe. On the Server Side, you wait for the message, unwrap it, and present it to the function. For this to work, I created a MessageMap type of structure. For it to work better, Server and Client had only the Basic Bones in the Message Map for initial communication. At startup of the Client, it sends it's message map to the server, which the server registers.
When you have this Generic Server/Client system written, you make each app both a server and a client. Be sure though to make plenty of use of Synchronisation Objects.

N.B. The efford is always substantial, whatever route you take. I took this way because:
1. I considered RPC an overkill, and yet something else I had to learn and which Bill Gates could change on a whim.
2. Fully Debuggable, Very Few System calls you cannot debug into

Regards Smile | :)

Regards,

Bram van Kampen

QuestionURLDownloadToCacheFile problem - possible workarounds? Pin
x87Bliss11-Jul-08 11:11
x87Bliss11-Jul-08 11:11 
QuestionSECURITY_ATTRIBUTES in threading Pin
emmmatty111-Jul-08 8:03
emmmatty111-Jul-08 8:03 
AnswerRe: SECURITY_ATTRIBUTES in threading Pin
Peter Weyzen11-Jul-08 13:56
Peter Weyzen11-Jul-08 13:56 
AnswerRe: SECURITY_ATTRIBUTES in threading Pin
zildjohn0111-Jul-08 14:14
zildjohn0111-Jul-08 14:14 
QuestionCCheckListBox in release mode, Windows XP in Windows classic theme Pin
tsvdevteam11-Jul-08 5:31
tsvdevteam11-Jul-08 5:31 
Joke[OT] Re: CCheckListBox in release mode, Windows XP in Windows classic theme Pin
David Crow11-Jul-08 6:08
David Crow11-Jul-08 6:08 
AnswerRe: CCheckListBox in release mode, Windows XP in Windows classic theme Pin
bob1697211-Jul-08 7:42
bob1697211-Jul-08 7:42 
GeneralRe: CCheckListBox in release mode, Windows XP in Windows classic theme Pin
tsvdevteam11-Jul-08 9:03
tsvdevteam11-Jul-08 9:03 
GeneralRe: CCheckListBox in release mode, Windows XP in Windows classic theme Pin
Bram van Kampen12-Jul-08 14:47
Bram van Kampen12-Jul-08 14:47 
QuestionUpdate only a particial area of a View with UpdateAllViews(...) Pin
CrocodileBuck11-Jul-08 4:55
CrocodileBuck11-Jul-08 4:55 
AnswerRe: Update only a particial area of a View with UpdateAllViews(...) Pin
Mark Salsbery11-Jul-08 5:05
Mark Salsbery11-Jul-08 5:05 
AnswerRe: Update only a particial area of a View with UpdateAllViews(...) Pin
led mike11-Jul-08 5:18
led mike11-Jul-08 5:18 
GeneralRe: Update only a particial area of a View with UpdateAllViews(...) Pin
CrocodileBuck11-Jul-08 5:27
CrocodileBuck11-Jul-08 5:27 
GeneralRe: Update only a particial area of a View with UpdateAllViews(...) Pin
Mark Salsbery11-Jul-08 5:31
Mark Salsbery11-Jul-08 5:31 
GeneralRe: Update only a particial area of a View with UpdateAllViews(...) Pin
CrocodileBuck11-Jul-08 5:46
CrocodileBuck11-Jul-08 5:46 
GeneralRe: Update only a particial area of a View with UpdateAllViews(...) Pin
Mark Salsbery11-Jul-08 6:05
Mark Salsbery11-Jul-08 6:05 
GeneralRe: Update only a particial area of a View with UpdateAllViews(...) Pin
CrocodileBuck11-Jul-08 6:16
CrocodileBuck11-Jul-08 6:16 

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.