Click here to Skip to main content
15,913,941 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalmemory conflict on Win2000 and WinXP Pin
ppp00125-Mar-04 21:19
ppp00125-Mar-04 21:19 
GeneralRe: memory conflict on Win2000 and WinXP Pin
Tim Smith26-Mar-04 4:28
Tim Smith26-Mar-04 4:28 
GeneralRe: memory conflict on Win2000 and WinXP Pin
ppp00126-Mar-04 7:39
ppp00126-Mar-04 7:39 
GeneralCScrollView Pin
Member 95412325-Mar-04 21:02
Member 95412325-Mar-04 21:02 
GeneralQuery Service , Help required!!!! Pin
rohit.dhamija25-Mar-04 20:48
rohit.dhamija25-Mar-04 20:48 
GeneralRe: Query Service , Help required!!!! Pin
22491725-Mar-04 22:05
22491725-Mar-04 22:05 
QuestionHow to declare 2d vector and insert data... Pin
Ming Yan25-Mar-04 20:23
Ming Yan25-Mar-04 20:23 
Generalpassing structures across processes Pin
Raghunandan S25-Mar-04 20:02
Raghunandan S25-Mar-04 20:02 
Hi All,
I have a structure of CString variabls.I need to pass this variable from one application to other application.I was trying WM_COPYDATA message to pass the data but i'm unable to receive the structure in the destination process.can someone help me out in this.

my code looks like this

typedef struct
{
CString name;
Cstring job;
} Raghu;

Raghu raghu;
raghu.name = "Raghu";
raghu.job = "none";

COPYDATASTRUCT datastruct;
datastruct.lpdata = (void*)&raghu;
datastrcut.cbdata=raghu.name .getlength() + raghu.job.getlength();//is this correct way??

::SendMessage(HWND_BROADCAST, WM_COPYDATA, (WPARAM)this->GetSafeHwnd(), (LPARAM)&datastruct);

Thanks in advance
GeneralRe: passing structures across processes Pin
El'Cachubrey25-Mar-04 20:32
El'Cachubrey25-Mar-04 20:32 
GeneralRe: passing structures across processes Pin
autodebug25-Mar-04 20:34
autodebug25-Mar-04 20:34 
GeneralRe: passing structures across processes Pin
Raghunandan S25-Mar-04 21:55
Raghunandan S25-Mar-04 21:55 
GeneralRe: passing structures across processes Pin
wb26-Mar-04 0:33
wb26-Mar-04 0:33 
GeneralGetDlgCtrlID returns zero Pin
Mehran Ziadloo25-Mar-04 19:36
Mehran Ziadloo25-Mar-04 19:36 
Generaloverloading [] for a struct Pin
monrobot1325-Mar-04 18:46
monrobot1325-Mar-04 18:46 
GeneralRe: overloading [] for a struct Pin
Taka Muraoka25-Mar-04 18:58
Taka Muraoka25-Mar-04 18:58 
GeneralRe: overloading [] for a struct Pin
Prakash Nadar25-Mar-04 19:15
Prakash Nadar25-Mar-04 19:15 
GeneralRe: overloading [] for a struct Pin
Maxwell Chen25-Mar-04 19:27
Maxwell Chen25-Mar-04 19:27 
GeneralRe: overloading [] for a struct Pin
Michael Dunn25-Mar-04 19:29
sitebuilderMichael Dunn25-Mar-04 19:29 
GeneralRe: overloading [] for a struct Pin
monrobot1325-Mar-04 21:07
monrobot1325-Mar-04 21:07 
GeneralRunning Application Pin
Anonymous25-Mar-04 17:04
Anonymous25-Mar-04 17:04 
GeneralRe: Running Application Pin
Monty225-Mar-04 19:45
Monty225-Mar-04 19:45 
GeneralRe: Running Application Pin
Dimitris Vasiliadis24-May-04 12:55
Dimitris Vasiliadis24-May-04 12:55 
GeneralCryptography in VC++ 6 Pin
kempyeng25-Mar-04 16:39
kempyeng25-Mar-04 16:39 
GeneralRe: Cryptography in VC++ 6 Pin
markgr25-Mar-04 19:24
markgr25-Mar-04 19:24 
GeneralRe: Cryptography in VC++ 6 Pin
22491725-Mar-04 20:11
22491725-Mar-04 20:11 

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.