Page 1 of 1

SC CopyData enhanced question

Posted: 19 Apr 2013 05:57
by binocular222
Hi Don,

I tried new beta and my Autohotkey Program does not received WM_Copydata from XYplorer.
However, the returned message seems to have redundant (unreadable) characters in the trailing.
Maybe a leading zero on lp.data

Besides, the instruction in change log here http://www.xyplorer.com/xyfc/viewtopic. ... 550#p84875 might be incorrect.
<curitem> should be double quote instead of single quote.

Re: SC CopyData enhanced question

Posted: 19 Apr 2013 12:36
by admin
Well, I explained why it HAS to be single quoted. Have you read it?

Re: SC CopyData enhanced question

Posted: 19 Apr 2013 13:05
by binocular222
My Autohotkey application received resolved variable regardless <curitem> is quoted or not.
But my main concern is the trailing unreadable characters.
Does anyone using C+ or other programming language experience the same?

Re: SC CopyData enhanced question

Posted: 24 Apr 2013 06:10
by binocular222
Sorry Don for buzzing this topic again,
But I'm very close to successfully get WM_Copydata from XYplorer.
Can you check whether lpdata contains trailing unreadable characters/data?
The string I received from XYplorer contains from 0 to 8 trailing-excessive characters?!

Re: SC CopyData enhanced question

Posted: 24 Apr 2013 08:38
by admin
Not here.

What characters do you get?

Re: SC CopyData enhanced question

Posted: 24 Apr 2013 09:00
by binocular222
E:\7Utilities\XYplorer\XYplorer.exe虴佑皇௔皇ٺJ
C:\Program Files佑皇௔皇ٺJ
D:\Music\Nam佑皇௔皇ٺJ

Re: SC CopyData enhanced question

Posted: 24 Apr 2013 10:14
by admin
You know that .cbData contains the length of the data?

Re: SC CopyData enhanced question

Posted: 24 Apr 2013 10:47
by binocular222
Yes, here is the result:
lpdata: E:\7Utilities\XYplorer\XYplorer.exe装佑皇௔皇ٺJ cbData: 70
lpdata: C:\Program Files佑皇௔皇ٺJ cbData: 32
lpdata: D:\Music\Nam佑皇௔皇ٺJ cbData: 24

Apperantly, the lenght is not correct

Re: SC CopyData enhanced question

Posted: 24 Apr 2013 10:51
by admin
OK, what data are you sending to XY?

Re: SC CopyData enhanced question

Posted: 24 Apr 2013 10:53
by binocular222
Oh, I see it
String length = cbData / 2
Aghhhhhhhhh

Re: SC CopyData enhanced question

Posted: 24 Apr 2013 10:54
by admin
Aaah! Yes, I should have seen that too.