Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WM_COPYDATA example (access application outside application)
#3
Thank you very much!
This will help!

EDIT, update for others who want to experiment with xyplorer, use like this:

Macro XYplorer
Code:
Copy      Help
int w=win("XYplorer" "ThunderRT6FormDC") ;; window must be declared like this, or else it does not work

if(!w)    
,ret
,
;BSTR b="f:\__windows_folders\_user\desk\test.xys"  ;; If you want to use external XYplorer script
BSTR b="::msg ''Hello world!''" ;; If you want to run XYplorer script directly

COPYDATASTRUCT cds
cds.dwData=4194305
cds.lpData=b.pstr
cds.cbData=b.len*2+2

SendMessage(w WM_COPYDATA 0 &cds)


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)