Click here to Skip to main content
15,890,506 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: convert parameter from 'MSTR' to 'char*' Pin
CPallini25-Jan-13 10:57
mveCPallini25-Jan-13 10:57 
QuestionHow to calculate thumb's possion in CScrollBar ????? Pin
Bee cute23-Jan-13 23:26
Bee cute23-Jan-13 23:26 
Questionhow to designe my text of dialog box? Pin
VCProgrammer23-Jan-13 23:05
VCProgrammer23-Jan-13 23:05 
AnswerRe: how to designe my text of dialog box? Pin
Richard MacCutchan23-Jan-13 23:47
mveRichard MacCutchan23-Jan-13 23:47 
GeneralRe: how to designe my text of dialog box? Pin
VCProgrammer24-Jan-13 0:08
VCProgrammer24-Jan-13 0:08 
GeneralRe: how to designe my text of dialog box? Pin
Sivaraman Dhamodharan24-Jan-13 1:22
Sivaraman Dhamodharan24-Jan-13 1:22 
GeneralRe: how to designe my text of dialog box? Pin
Richard MacCutchan24-Jan-13 1:39
mveRichard MacCutchan24-Jan-13 1:39 
GeneralRe: how to designe my text of dialog box? Pin
VCProgrammer24-Jan-13 19:56
VCProgrammer24-Jan-13 19:56 
QuestionLinking Error Pin
john563223-Jan-13 22:26
john563223-Jan-13 22:26 
AnswerRe: Linking Error Pin
Richard MacCutchan23-Jan-13 22:58
mveRichard MacCutchan23-Jan-13 22:58 
GeneralRe: Linking Error Pin
john563223-Jan-13 23:18
john563223-Jan-13 23:18 
GeneralRe: Linking Error Pin
deardiary23-Jan-13 23:28
deardiary23-Jan-13 23:28 
GeneralRe: Linking Error Pin
Richard MacCutchan23-Jan-13 23:45
mveRichard MacCutchan23-Jan-13 23:45 
QuestionPlease help me to use the OpenCSG Library in MFC Pin
ansheng116198623-Jan-13 19:34
ansheng116198623-Jan-13 19:34 
QuestionHow to Handle Logoff event for console based application Pin
vermaashish_mca23-Jan-13 18:47
vermaashish_mca23-Jan-13 18:47 
AnswerRe: How to Handle Logoff event for console based application Pin
Richard MacCutchan23-Jan-13 22:56
mveRichard MacCutchan23-Jan-13 22:56 
QuestionVC++6.0 Interproc Communication Pin
Ylno22-Jan-13 21:59
Ylno22-Jan-13 21:59 
In .NET we have the System.IO namespace providing convenient classes for Sockects and Pipes which ay be used for interprocess communication. How can one implement this in oldskool VC6?

My requirements are as follows.

I am writing a plugin for some legacy software for which there is a SDK which I can only get to compile with VC++6.0 compiler. I want to interface this code with both .NET and JAVA. I was thinking of implementing either a Socket server or Namedpipe in C# to act a a bridge between the VC6 code and .NET/JAVA. Requests from VC6 would be in the form of byte[] arrays and the C# bridge would interpret these requests, route them and eventually reply to the VC6 code which is awaiting a response.

In summary I would like examples of the following in VC++6:
- Use of threads
- Socket/Pipes (or any other interproc comms method)
- Invoking a process (other than a shell call to an executable)

BTW non-MFC is required

Any suggestions would be great.

Best, Y
AnswerRe: VC++6.0 Interproc Communication Pin
«_Superman_»22-Jan-13 22:34
professional«_Superman_»22-Jan-13 22:34 
GeneralRe: VC++6.0 Interproc Communication Pin
Ylno22-Jan-13 23:38
Ylno22-Jan-13 23:38 
AnswerRe: VC++6.0 Interproc Communication Pin
David Knechtges23-Jan-13 3:05
David Knechtges23-Jan-13 3:05 
QuestionHow to retrieve the correct range message to update CStatusBar Pin
Vaclav_22-Jan-13 7:51
Vaclav_22-Jan-13 7:51 
AnswerRe: How to retrieve the correct range message to update CStatusBar Pin
«_Superman_»22-Jan-13 18:37
professional«_Superman_»22-Jan-13 18:37 
GeneralRe: How to retrieve the correct range message to update CStatusBar Pin
Vaclav_23-Jan-13 6:01
Vaclav_23-Jan-13 6:01 
AnswerRe: How to retrieve the correct range message to update CStatusBar Pin
Iain Clarke, Warrior Programmer23-Jan-13 20:55
Iain Clarke, Warrior Programmer23-Jan-13 20:55 
GeneralRe: How to retrieve the correct range message to update CStatusBar Pin
Vaclav_24-Jan-13 4:39
Vaclav_24-Jan-13 4:39 

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.