I am having problem sending WM_COPYDATA message to a 16bit app. 
Author Message
 I am having problem sending WM_COPYDATA message to a 16bit app.

Unfortunately I have to talk to a 16 bit app.  I have gotten to the point
where I send  a WM_COPYDATA message to a 32 bit and it works great.  But
when I reversed the process of sending a WM_COPYDATA message to the 16 bit
app I get garbage in the data pointer.  I have checked the 32bit app and it
works fine with a 32bit app.  I'm sure I'm doing something wrong with the
pointers but I'm at a loss.

typedef struct tagCOPYDATASTRUCT
   DWORD dwData;
   DWORD cbData;
   VOID FAR *lpData;


          pMyCDS =  (LPCOPYDATASTRUCT) lParam;
          PtMyRec = pMyCDS->lpData;
          strcpy(MsgD, PtMyRec->result);
          dislog("Number is :%d",PtMyRec->x);

Mon, 05 Feb 2001 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Problem in sending WM_COPYDATA message

2. HELP, I am having problems with pointer...

3. I am having problems setting up that a specified dialog is displayed before any others

4. I am having problems with MFC42.dll file

5. Still got problems with WM_COPYDATA message !

6. Sending a message from VB-app to VC-app

7. Tlink problem in 16bit apps

8. (Urgent, plz help)Problem getting app pointer in VC1.52 (16bit)

9. Problem linking 16bit winsock app

10. Sending messages form one to another app ?? WM_COPYDATA how ?

11. WH_Shell, NTVDM, 16bit App, non-based window App...

12. sending messages between apps


Powered by phpBB® Forum Software