а chr(0x00) в FormatStr будет 0 ?
------------ Дoбавленo в 20.11:
Netspirit, посмотри пожалуйста где накосячил, не работает почему то Add(Button,970283,209,140) { Left=5 Top=134 Width=143 Caption="add to tv (one time auth)" link(onClick,10172486:doEvent1,[]) } Add(TCP_Client,15472385,833,126) { Port=55000 link(onRead,11052970:doMessage,[]) link(onConnect,3083427:doOn,[(881,139)(881,188)]) link(IP,8600175:Text,[]) } Add(Edit,16717631,553,49) { Left=5 Top=86 Width=300 Text="iphone..iapp.samsung" } Add(Edit,14454047,441,399) { Left=5 Top=190 Width=300 Text="iphone.UE40ES6577.iapp.samsung" } Add(FormatStr,6943233,476,140) { DataCount=6 Mask="100 0%1 0%2%3 0%4%5 0%6" Point(FString) link(onFString,8450259:doWork1,[]) link(Str1,13983868:Var,[]) link(Str2,9313167:Var,[]) link(Str3,11215738:Var,[]) link(Str4,1114409:Var,[]) link(Str5,6619924:Var,[]) link(Str6,11732322:Var,[]) } Add(Message,11052970,896,126) { } Add(Edit,14099462,308,49) { Left=5 Top=38 Width=300 Text="192.168.2.67" } Add(Edit,3380350,364,49) { Left=5 Top=62 Width=300 Text="48-5B-39-F1-AB-16" } Add(Edit,13295836,420,49) { Left=5 Top=110 Width=300 Text="Samsung Remote" } Add(MultiElement,10185401,308,140) { link(Data1,14099462:Text,[]) link(onEvent1,15247552:doWork1,[]) } BEGIN_SDK Add(EditMulti,3600581,357,154) { EventCount=1 WorkCount=1 DataCount=1 VarCount=2 Width=307 Height=102 link(doWork1,7830696:doCharset,[(371,160)(371,188)]) link(Var1,16134254:Value,[(363,235)(587,235)]) link(Var2,513290:Value,[(370,243)(440,243)]) } Add(Charset,7830696,385,182) { Type=5 link(onCharset,513290:doValue,[]) link(Text,3600581:Data1,[(391,168)(363,168)]) } Add(Length,12683900,483,182) { link(onLength,10691832:doConvert,[]) } Add(Convertor,10691832,532,182) { Mode=4 link(onResult,16134254:doValue,[]) } Add(Memory,16134254,581,182) { link(onData,3600581:onEvent1,[(639,188)(639,160)]) } Add(Memory,513290,434,182) { link(onData,12683900:doLength,[]) } END_SDK Add(MultiElement,15247552,364,140) { link(onEvent1,9638973:doWork1,[]) link(Data1,3380350:Text,[]) } BEGIN_SDK Add(EditMulti,3101138,357,154) { EventCount=1 WorkCount=1 DataCount=1 VarCount=2 Width=307 Height=102 link(doWork1,14260338:doCharset,[(371,160)(371,188)]) link(Var1,12645920:Value,[(363,235)(587,235)]) link(Var2,12322025:Value,[(370,242)(440,242)]) } Add(Charset,14260338,385,182) { Type=5 link(onCharset,12322025:doValue,[]) link(Text,3101138:Data1,[(391,168)(363,168)]) } Add(Length,6451064,483,182) { link(onLength,229384:doConvert,[]) } Add(Convertor,229384,532,182) { Mode=4 link(onResult,12645920:doValue,[]) } Add(Memory,12645920,581,182) { link(onData,3101138:onEvent1,[(639,188)(639,160)]) } Add(Memory,12322025,434,182) { link(onData,6451064:doLength,[]) } END_SDK Add(LineBreak,8852108,308,210) { Caption="myip" Type=1 link(Data,10185401:Var1,[]) Primary=[13983868,168,-182] } Add(LineBreak,10862296,315,189) { Caption="myip" Type=1 link(Data,10185401:Var2,[]) Primary=[9313167,168,-147] } Add(LineBreak,16285976,364,210) { Caption="mac" Type=1 link(Data,15247552:Var1,[]) Primary=[11215738,126,-154] } Add(LineBreak,4878498,371,189) { Caption="mac" Type=1 link(Data,15247552:Var2,[]) Primary=[1114409,126,-119] } Add(MultiElement,9638973,420,140) { link(onEvent1,6943233:doString,[]) link(Data1,13295836:Text,[]) } BEGIN_SDK Add(EditMulti,7547278,357,154) { EventCount=1 WorkCount=1 DataCount=1 VarCount=2 Width=307 Height=102 link(doWork1,16237685:doCharset,[(371,160)(371,188)]) link(Var1,2273766:Value,[(363,235)(587,235)]) link(Var2,13492699:Value,[(370,242)(440,242)]) } Add(Charset,16237685,385,182) { Type=5 link(onCharset,13492699:doValue,[]) link(Text,7547278:Data1,[(391,168)(363,168)]) } Add(Length,1009197,483,182) { link(onLength,11495113:doConvert,[]) } Add(Convertor,11495113,532,182) { Mode=4 link(onResult,2273766:doValue,[]) } Add(Memory,2273766,581,182) { link(onData,7547278:onEvent1,[(639,188)(639,160)]) } Add(Memory,13492699,434,182) { link(onData,1009197:doLength,[]) } END_SDK Add(LineBreak,4464136,420,210) { Caption="rn" Type=1 link(Data,9638973:Var1,[]) Primary=[6619924,84,-126] } Add(LineBreak,7475206,427,189) { Caption="rn" Type=1 link(Data,9638973:Var2,[]) Primary=[11732322,84,-91] } Add(MultiElement,8450259,553,140) { link(onEvent1,7024098:doWork1,[]) link(Data1,16717631:Text,[]) } BEGIN_SDK Add(EditMulti,5751878,427,77) { EventCount=1 WorkCount=1 DataCount=1 VarCount=2 Width=209 Height=102 link(doWork1,16120734:doLength,[(441,83)(441,111)]) link(Var1,13840115:Value,[(433,158)(573,158)]) link(Var2,3156629:Var2,[]) } Add(Length,16120734,455,105) { link(onLength,5711335:doConvert,[]) link(Str,3156629:Var3,[(461,91)]) } Add(Convertor,5711335,511,105) { Mode=4 link(onResult,13840115:doValue,[]) } Add(Memory,13840115,567,105) { link(onData,5751878:onEvent1,[(617,111)(617,83)]) } Add(GetDataEx,3156629,434,86) { Angle=3 link(Data,5751878:Data1,[(433,91)]) } END_SDK Add(FormatStr,9360037,665,140) { DataCount=4 Mask="
|