Click here to Skip to main content
15,914,642 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralVB Active X Dll Pin
ahartoch31-Oct-01 6:50
ahartoch31-Oct-01 6:50 
GeneralRe: VB Active X Dll Pin
Michael P Butler31-Oct-01 6:55
Michael P Butler31-Oct-01 6:55 
GeneralRe: VB Active X Dll Pin
Carlos Antollini31-Oct-01 7:17
Carlos Antollini31-Oct-01 7:17 
GeneralPreventing MDI Child Wnd Resizing Pin
Chambers31-Oct-01 6:49
Chambers31-Oct-01 6:49 
GeneralRe: Preventing MDI Child Wnd Resizing Pin
Steen Krogsgaard1-Nov-01 1:35
Steen Krogsgaard1-Nov-01 1:35 
GeneralRe: Preventing MDI Child Wnd Resizing Pin
Chambers1-Nov-01 2:15
Chambers1-Nov-01 2:15 
GeneralRe: Preventing MDI Child Wnd Resizing Pin
Steen Krogsgaard1-Nov-01 2:47
Steen Krogsgaard1-Nov-01 2:47 
GeneralSending string between two apps Pin
31-Oct-01 6:08
suss31-Oct-01 6:08 
Hi
I'm already getting mad, I hope someone can help me Big Grin | :-D

I want to send a sting beween two applications.
What I have so far is:

const UINT WM_MYAPP = RegisterWindowMessage("unique id");
.
.
.
char server[] = "something";
char ip[] = "111.222.333.444";

PostMessage(HWND_BROADCAST, WM_MYAPP, (WPARAM)server, (LPARAM)ip);


But in newsgroups I read that I is not possible to exchange strings using this method.
Here http://www.codeproject.com/threads/ipc_tute.asp is a good example that works but it uses memory mapped files and is a bit too complex for my purpose.

Is there no easier way to exchange strings between two applications?


regards Smile | :)
GeneralRe: Sending string between two apps Pin
#realJSOP31-Oct-01 6:12
professional#realJSOP31-Oct-01 6:12 
GeneralRe: Sending string between two apps Pin
31-Oct-01 6:26
suss31-Oct-01 6:26 
GeneralRe: Sending string between two apps Pin
31-Oct-01 6:50
suss31-Oct-01 6:50 
GeneralRe: Sending string between two apps Pin
#realJSOP31-Oct-01 7:10
professional#realJSOP31-Oct-01 7:10 
GeneralRe: Sending string between two apps Pin
31-Oct-01 7:21
suss31-Oct-01 7:21 
GeneralRe: Sending string between two apps Pin
#realJSOP31-Oct-01 8:11
professional#realJSOP31-Oct-01 8:11 
GeneralRe: Sending string between two apps Pin
Chris Losinger31-Oct-01 6:14
professionalChris Losinger31-Oct-01 6:14 
GeneralRe: Sending string between two apps Pin
Nish Nishant31-Oct-01 6:18
sitebuilderNish Nishant31-Oct-01 6:18 
GeneralRe: Sending string between two apps Pin
#realJSOP31-Oct-01 7:11
professional#realJSOP31-Oct-01 7:11 
GeneralRe: Sending string between two apps Pin
Chris Losinger31-Oct-01 7:38
professionalChris Losinger31-Oct-01 7:38 
GeneralRe: Sending string between two apps Pin
#realJSOP31-Oct-01 8:26
professional#realJSOP31-Oct-01 8:26 
GeneralRe: Sending string between two apps Pin
Carlos Antollini31-Oct-01 9:08
Carlos Antollini31-Oct-01 9:08 
GeneralRe: Sending string between two apps Pin
31-Oct-01 9:12
suss31-Oct-01 9:12 
GeneralRe: Sending string between two apps Pin
Carlos Antollini31-Oct-01 9:24
Carlos Antollini31-Oct-01 9:24 
GeneralRe: Sending string between two apps Pin
1-Nov-01 2:23
suss1-Nov-01 2:23 
GeneralRe: Sending string between two apps Pin
Nish Nishant31-Oct-01 17:52
sitebuilderNish Nishant31-Oct-01 17:52 
Questionhow to detect dialog's actual control? Pin
31-Oct-01 5:30
suss31-Oct-01 5:30 

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.