Но работает как-бы не медленнее чем с записью в файл ...
Интересно в чем дело ?
Add(MainForm,18141,123,140)
{
Left=310
Top=283
Width=738
Height=384
Caption="5.3"
Point(Close)
link(onCreate,18378:doEvent2,[(167,160)(167,132)(139,132)(139,104)])
link(Close,2526734:GetData,[(129,107)(110,107)])
}
Add(ChildPanel,18876,53,105)
{
@Hint=#32: Панель управления и "ВебСервер"|
@Color=255
link(onEvent1,18378:doEvent1,[(121,111)(121,97)])
link(onEvent2,87406:doEvent,[(111,116)(111,202)])
link(onEvent3,7361912:doSwitch,[(101,129)(101,286)(58,286)(58,461)])
link(Data1,5091049:Var,[(59,84)(48,84)])
link(Data2,2060452:Var,[(66,84)(69,84)])
AddHint(172,-68,196,13,@Hint)
}
BEGIN_SDK
Add(EditMulti,73583,3,3)
{
EventCount=3
WorkCount=1
DataCount=3
VarCount=5
Width=904
Height=319
link(doWork1,16249923:doText,[(16,33)(16,188)])
link(Var1,16249923:Text,[(9,247)(32,247)])
link(Var2,1511723:Checked,[(16,267)(71,267)])
link(Var3,5759222:Checked,[(29,274)(153,274)])
link(Var4,11302169:Checked,[(36,283)(216,283)])
link(Var5,8840632:Position,[(45,294)(392,294)])
}
Add(Panel,68008,28,127)
{
Width=722
Height=55
Align=2
Font=[Arial,8,0,0,1]
Point(doColor)
}
Add(ChanelToIndex,32148,147,49)
{
Count=5
link(onIndex,73583:onEvent2,[(182,55)(182,16)])
}
Add(Button,41799,70,56)
{
Left=110
Top=5
Width=75
Font=[Arial,8,0,0,1]
Caption="Hide"
link(onClick,32148:doWork2,[])
}
Add(Button,60593,24,16)
{
Left=5
Top=5
Width=20
Font=[Arial,8,0,0,1]
Caption="->"
link(onClick,73583:onEvent1,[(131,9)])
}
Add(Button,13483,70,91)
{
Left=190
Top=5
Width=75
Font=[Arial,8,0,0,1]
Caption="Show"
link(onClick,32148:doWork3,[(121,97)(121,69)])
}
Add(Button,69494,70,21)
{
Left=30
Top=5
Width=75
Font=[Arial,8,0,0,1]
Caption="Close"
link(onClick,32148:doWork1,[(121,27)(121,55)])
}
Add(Button,9237645,70,133)
{
Left=265
Top=5
Caption="Capture"
link(onClick,32148:doWork4,[(131,139)(131,76)])
}
Add(Button,9149992,91,224)
{
Left=325
Top=5
Caption="Found"
link(onClick,32148:doWork5,[(139,230)(139,83)])
}
Add(Edit,16249923,26,182)
{
Left=390
Top=5
Width=110
Text="WMR Str"
}
Add(CheckBox,1511723,70,182)
{
Left=505
Top=5
Caption="Auto"
link(onCheck,73583:onEvent3,[(189,188)(189,23)])
}
Add(CheckBox,5759222,147,231)
{
Left=560
Top=5
Width=35
Caption="FS"
}
Add(FormatStr,12898161,798,70)
{
DataCount=1
Mask="HTTP/1.1 200 OK\r\nContent-Type: image/jpeg\r\nContent-Length: %1\r\nConnection: close\r\n\r\n"
Point(FString)
link(onFString,3322281:doWork,[])
link(Str1,73583:Data2,[(804,19)(147,19)])
}
Add(StreamConvertor,3708782,763,189)
{
Mode=6
Point(Data)
link(onResult,7108863:doWork,[])
link(Data,73583:Data1,[(769,37)(151,37)])
}
Add(TCP_Server,9120016,539,105)
{
Port=178
Point(doCloseAll)
link(onRead,1388064:doEvent1,[])
}
Add(Hub,1388064,693,105)
{
OutCount=3
link(onEvent1,12898161:doString,[(736,111)(736,76)])
link(onEvent2,3708782:doConvert,[(753,118)(753,195)])
link(onEvent3,9120016:doCloseAll,[(718,125)(718,167)(529,167)(529,132)])
}
Add(LineBreakEx,3322281,847,70)
{
Caption="send"
}
Add(LineBreakEx,14280256,476,119)
{
Caption="send"
Type=1
link(OnEvent,9120016:doSend,[])
}
Add(LineBreakEx,7108863,840,189)
{
Caption="send"
}
Add(CheckBox,11302169,210,238)
{
Left=608
Top=5
Caption="HTTP"
link(onCheck,15474801:doSwitch,[(317,244)(317,104)])
}
Add(Switch,15474801,329,98)
{
Point(onOn)
Point(onOff)
link(onOn,9120016:doOpen,[])
link(onOff,9120016:doClose,[])
}
Add(Label,6374807,322,245)
{
Left=50
Top=35
Width=56
Height=17
Caption="Quality Jpg"
}
Add(TrackBar,8840632,386,245)
{
Left=120
Top=25
Width=260
HintPosition=0
Max=100
Position=75
}
Add(InfoTip,1149765,462,49)
{
Info=#19:Как-бы веб-сервер |
Width=435
Height=193
}
END_SDK
Add(IndexToChanel,87406,308,196)
{
Count=5
Point(Index)
link(onEvent1,5901:doClose,[(394,202)(394,240)(445,240)(445,230)])
link(onEvent2,50041:doWork1,[])
link(onEvent3,50041:doWork2,[])
link(onEvent4,12678596:doData,[(386,242)(386,265)])
link(onEvent5,5459224:doEnum,[(368,254)(368,426)])
}
Add(MultiElementEx,494139,266,105)
{
@Hint=#24:Формирование списка окон|
@Color=43775
link(onEventData,52907:doAdd,[(376,111)(376,48)])
link(onFString,14833197:doAdd,[(334,118)(334,146)])
}
BEGIN_SDK
Add(EditMultiEx,7556502,21,21)
{
WorkCount=#6:doEnum|
EventCount=#11:onEventData|9:onFString|
link(doEnum,7059:doEnum,[(35,27)(35,55)])
}
Add(FormatStr,8535,175,49)
{
Mask="%1 - %2"
link(onFString,7556502:onFString,[(264,55)(264,34)])
link(Str2,7059:ClassName,[(188,39)(163,39)(163,117)(62,117)])
}
Add(WinEnum,7059,49,49)
{
VisibleOnly=1
Point(ClassName)
link(onFindWindow,2077:doEvent1,[])
}
Add(Hub,2077,91,49)
{
link(onEvent1,8535:doString,[])
link(onEvent2,5568525:doData,[])
}
Add(DoData,5568525,119,56)
{
link(onEventData,7556502:onEventData,[(241,62)(241,27)])
link(Data,7059:Handle,[(125,44)(95,44)(95,93)(55,93)])
}
END_SDK
Add(LineBreak,9717234,59,518)
{
@Hint=#29: Зашита от сбоя привыходе |
Caption="+Sheld"
link(Out,14094907:doWork3,[(127,524)])
Primary=[8699763,87,-476]
}
Add(StrList,52907,455,42)
{
}
Add(Hub,18378,151,91)
{
InCount=2
OutCount=3
link(onEvent1,52907:doClear,[(293,97)(293,55)])
link(onEvent2,14833197:doClear,[(228,104)(228,153)])
link(onEvent3,494139:doEnum,[])
}
Add(WinTools,5901,455,203)
{
link(Handle,6804028:Var2,[])
}
Add(ChanelToIndex,50041,406,203)
{
Count=4
link(onIndex,5901:doVisible,[])
}
Add(ChildPanelEx,14833197,371,140)
{
@Hint=#16:Список процессов|
@Color=85
link(onClick,5977427:doEvent1,[(411,146)(411,132)])
AddHint(-151,26,109,13,@Hint)
}
BEGIN_SDK
Add(EditMultiEx,8602565,21,21)
{
WorkCount=#5:doAdd|7:doClear|
EventCount=#7:onClick|
VarCount=#6:String|5:Array|
link(doAdd,74780:doAdd,[(35,27)(35,55)])
link(doClear,74780:doClear,[(35,34)(35,62)])
link(String,74780:String,[(27,165)(76,165)])
link(Array,74780:Array,[(44,192)(69,192)])
}
Add(Panel,656075,168,126)
{
Top=55
Width=240
Height=290
Align=1
}
Add(ListBox,74780,49,49)
{
Top=30
Width=274
Height=217
Align=5
Font=[Arial,8,0,0,1]
Point(String)
link(onClick,8602565:onClick,[(201,62)(201,27)])
}
END_SDK
Add(ArrayRW,26538,455,133)
{
link(Array,15923548:Var2,[])
}
Add(HubEx,14094907,123,469)
{
link(onEvent,9989187:doStop,[])
}
Add(Image,13631593,727,98)
{
Left=240
Top=55
Width=482
Height=290
Align=5
link(onClick,3211863:doWork2,[(768,104)(768,160)])
}
Add(ScreenShort,47616,619,203)
{
link(onCapture,8492355:doWork3,[(659,209)])
}
Add(GetDataEx,6804028,455,175)
{
link(Data,26538:Item,[])
}
Add(MultiElementEx,5459224,441,413)
{
@Hint=#12:Поиск строки|
@Color=5636095
link(Array,9912768:Var,[(447,385)(419,385)])
link(Target,9314218:Var,[])
link(Array1,9292654:Var,[(461,378)(496,378)])
link(onEvent,5616459:doValue,[(551,419)(551,321)])
AddHint(21,53,85,13,@Hint)
}
BEGIN_SDK
Add(EditMultiEx,3137153,21,21)
{
WorkCount=#7:doWork2|6:doEnum|
EventCount=#7:onEvent|
DataCount=#5:Array|6:Target|6:Array1|
Width=398
Height=235
link(doWork2,290405:doWork2,[(307,27)(307,142)])
link(doEnum,11925794:doEnum,[(34,61)(34,106)])
}
Add(Position,273378,196,100)
{
link(onSearch,14700487:doCompare,[])
link(Str,12753063:Item,[(202,85)(158,85)(158,144)(125,144)])
link(Target,3137153:Target,[(209,61)(62,61)])
}
Add(If_else,14700487,238,100)
{
Op2=Integer(1)
link(onTrue,16531488:doData,[(289,106)(289,176)])
}
Add(ArrayEnum,11925794,49,100)
{
link(onItem,12753063:doRead,[])
link(Array,3137153:Array,[(55,90)(48,90)])
}
Add(ArrayRW,12753063,119,100)
{
link(onRead,273378:doSearch,[])
link(Array,3137153:Array1,[(125,33)(68,33)])
link(Index,11925794:Index,[(132,88)(97,88)(97,144)(62,144)])
}
Add(DoData,16531488,294,170)
{
link(onEventData,290405:doWork3,[(335,176)])
link(Data,11925794:Item,[(300,151)(55,151)])
}
Add(HubEx,290405,331,136)
{
Angle=3
link(onEvent,3137153:onEvent,[(335,50)])
}
END_SDK
Add(LineBreak,688670,53,233)
{
Caption="FS+"
Type=1
link(Data,18876:Var1,[])
Primary=[9314218,395,103]
}
Add(GetDataEx,430544,756,506)
{
Angle=1
link(Data,7357075:Stream,[(811,511)])
}
Add(Hub,4729527,679,441)
{
OutCount=3
link(onEvent1,7357075:doClear,[(749,447)(749,468)])
link(onEvent2,11265600:doData,[(711,454)(711,608)])
link(onEvent3,14525780:doSaveToStream,[(742,461)(742,587)])
}
Add(GetDataEx,15923548,455,105)
{
link(Data,52907:Array,[(461,96)(475,96)])
}
Add(LineBreak,13637666,525,98)
{
Caption="AH"
Type=1
link(Data,15923548:Var3,[(531,86)(497,86)(497,110)])
Primary=[9912768,-112,238]
}
Add(ScreenShort,1702941,748,238)
{
link(onCapture,8492355:doWork1,[(817,244)(817,230)(695,188)])
link(Handle,5616459:Value,[(754,226)(719,226)(719,359)(691,359)])
}
Add(HubEx,8492355,655,182)
{
Angle=3
link(onEvent,13631593:doLoad,[(659,90)(710,90)(710,104)])
}
Add(LineBreak,1330563,81,158)
{
Caption="Q"
Type=1
link(Data,18876:Var5,[])
Primary=[415218,703,373]
}
Add(LineBreak,9340138,378,182)
{
Caption="AS"
Type=1
link(Data,14833197:Array,[])
Primary=[9292654,112,147]
}
Add(Timer,9989187,140,462)
{
Interval=50
Enable=1
link(onTimer,11872925:doEvent1,[])
}
Add(Switch,7361912,70,455)
{
Point(onOn)
Point(onOff)
link(onOn,9989187:doTimer,[])
link(onOff,14094907:doWork2,[])
}
Add(Hub,11872925,189,462)
{
link(onEvent1,12808415:In,[(215,468)(215,433)(177,433)(177,398)])
link(onEvent2,1563683:doWork,[(215,475)(215,535)(156,535)(156,594)])
}
Add(LineBreak,11005527,720,168)
{
Caption="CF"
link(Out,3211863:doWork3,[(791,174)])
Primary=[15237827,-377,385]
}
Add(Memory,5616459,685,315)
{
@Hint=#5:Буфер|
Point(Data)
link(onData,12814096:doWork3,[(731,321)])
AddHint(-82,-49,47,13,@Hint)
}
Add(LineBreak,1408269,657,238)
{
Caption="A"
link(Out,12814096:doWork2,[])
Primary=[12808415,-468,154]
}
Add(HubEx,12814096,727,238)
{
link(onEvent,1702941:doCapture,[])
}
Add(Check,1563683,168,588)
{
link(onEvent,4191104:doEvent1,[])
}
Add(DoData,12678596,434,259)
{
link(onEventData,3437152:doEvent1,[])
link(Data,6804028:Var3,[(440,246)(503,246)(503,180)])
}
Add(Hub,3437152,478,259)
{
link(onEvent1,47616:doCapture,[(556,265)(556,209)])
link(onEvent2,5459224:doWork2,[(504,272)(504,304)(399,304)(399,419)])
}
Add(LineBreak,8422573,74,183)
{
Caption="Ht"
Type=1
link(Data,18876:Var4,[])
Primary=[14418387,199,426]
}
Add(Hub,5977427,420,126)
{
link(onEvent1,14337503:doData,[(440,132)(440,90)])
link(onEvent2,26538:doRead,[])
}
Add(DoData,14337503,385,84)
{
link(onEventData,18876:doWork1,[(46,90)(46,111)])
link(Data,14833197:String,[(391,69)(356,69)(356,184)(377,184)])
}
Add(EventFromData,2526734,104,42)
{
link(onEvent,8699763:In,[])
}
Add(PictureStream,6814538,850,119)
{
FileName="1.jpg"
link(Bitmap,5605794:Var3,[(863,107)])
}
Add(HubEx,3211863,787,154)
{
Angle=3
link(onEvent,6814538:doSave,[(791,132)])
}
Add(If_else,6960274,273,553)
{
Op2=Integer(1)
link(onTrue,15237827:In,[])
link(Op1,176617:Var,[])
}
Add(LineBreak,4854913,67,212)
{
Caption="FF"
Type=1
link(Data,18876:Var3,[])
Primary=[176617,206,313]
}
Add(LineBreak,15638328,651,541)
{
Caption="St"
Type=1
link(Data,430544:Var1,[(657,511)])
Primary=[5091049,-609,-499]
}
Add(LineBreak,15273997,826,539)
{
Caption="Size"
Type=1
link(Data,7357075:Size,[(832,527)(818,527)])
Primary=[2060452,-763,-476]
}
Add(Hub,4191104,231,588)
{
link(onEvent1,6960274:doCompare,[(249,594)(249,559)])
link(onEvent2,8831304:doCompare,[(259,601)(259,643)])
}
Add(MemoryStream,7357075,805,455)
{
}
Add(Jpeg,14525780,777,567)
{
Quality=1
Point(doSaveToStream)
Point(Stream)
Point(doLoadFromBitmap)
Point(Quality)
link(Stream,430544:Var2,[(783,549)(762,549)])
link(Quality,415218:Var,[])
}
Add(DoData,11265600,728,602)
{
link(onEventData,14525780:doLoadFromBitmap,[(768,608)(768,594)])
link(Data,9846334:Var,[(734,592)(650,592)])
}
Add(GetDataEx,5605794,829,102)
{
Angle=3
link(Data,13631593:ImageBitmap,[(773,107)(773,146)(733,146)])
}
Add(LineBreak,5176461,623,455)
{
Caption="Http"
link(Out,4729527:doEvent1,[(668,461)(668,447)])
Primary=[3937622,-273,182]
}
Add(If_else,8831304,273,637)
{
Op2=Integer(1)
link(onTrue,3937622:In,[])
link(Op1,14418387:Var,[])
}
Add(InfoTip,15461493,595,413)
{
Info=#34:Подготовка данных для HTTP запроса|
Width=309
Height=256
}
Add(InfoTip,12460114,35,364)
{
Info=#36:Таймер для динамического обновления |
Width=295
Height=319
}
Add(InfoTip,13067335,588,56)
{
Info=#15:Захват графики |
Width=351
Height=312
}
Add(LineBreak,6913329,829,175)
{
Caption="BMP"
Type=1
link(Data,5605794:Var2,[])
Primary=[9846334,-185,392]
}
Зы
Караул ! Форум опять "ест посты" (Отправляются через раз)