07-23-2013, 05:59 PM
Look in MSDN.
wParam must be sender window handle or 0.
lParam must be &cds.
cds.cbData must be specified. It is length of string, probably +1.
Macro Macro2104
Maybe the string must be Unicode UTF-16.
Macro Macro2104
wParam must be sender window handle or 0.
lParam must be &cds.
cds.cbData must be specified. It is length of string, probably +1.
Macro Macro2104
int hwnd=win("XYplorer")
if(!hwnd)
,ret
str s="/script=''f:\__windows_folders\_user\desk\test.xys''"
COPYDATASTRUCT cds
cds.dwData=4194305
cds.lpData=s
cds.cbData=s.len+1
SendMessage(hwnd WM_COPYDATA 0 &cds)
Maybe the string must be Unicode UTF-16.
Macro Macro2104