{"id":231,"date":"2008-05-05T09:07:22","date_gmt":"2008-05-05T09:07:22","guid":{"rendered":"http:\/\/6teen.ru\/?p=123"},"modified":"2008-05-05T09:07:22","modified_gmt":"2008-05-05T09:07:22","slug":"4362","status":"publish","type":"post","link":"http:\/\/pblog.ru\/lab\/?p=231","title":{"rendered":"\u0417\u0430\u043f\u0443\u0441\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0441 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u0435\u043c \u0435\u0451 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f (\u043c\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431)"},"content":{"rendered":"<p>\u0417\u0430\u043f\u0443\u0441\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0441 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u0435\u043c \u0435\u0451 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f (\u043c\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431)<br \/>\n<!--more--><\/p>\n<pre class=\"alt2\" style=\"margin:0px; padding:6px; border:1px inset; width:580px; height:320px; overflow:auto\"><div>\u0417\u0430\u043f\u0443\u0441\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0441 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u0435\u043c \u0435\u0451 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f (\u043c\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d \u0432 \u044d\u0442\u043e\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0435)\n\nprocedure TFMain.ShellExecute_AndWait(FileName: string);\nvar\n  exInfo: TShellExecuteInfo;\n  Ph: DWORD;\nbegin\n  FillChar(exInfo, SizeOf(exInfo), 0);\n  with exInfo do\n  begin\n    cbSize := SizeOf(exInfo);\n    fMask := SEE_MASK_NOCLOSEPROCESS or SEE_MASK_FLAG_DDEWAIT;\n    Wnd := GetActiveWindow();\n    ExInfo.lpVerb := 'open';\n    lpFile := PChar(FileName);\n    nShow := SW_SHOWNORMAL;\n  end;\n  if ShellExecuteEx(@exInfo) then\n  begin\n  Application.Minimize;\n  Ph := exInfo.HProcess;\n  end else\n    Exit;\n  while WaitForSingleObject(ExInfo.hProcess, 50) <> WAIT_OBJECT_0 do\n    Application.ProcessMessages;\n  CloseHandle(Ph);\nApplication.Restore;\nend;\n<\/div><\/pre>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0417\u0430\u043f\u0443\u0441\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0441 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u0435\u043c \u0435\u0451 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f (\u043c\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431)<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[431,440],"tags":[671,224,845,869,937,995],"_links":{"self":[{"href":"http:\/\/pblog.ru\/lab\/index.php?rest_route=\/wp\/v2\/posts\/231"}],"collection":[{"href":"http:\/\/pblog.ru\/lab\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/pblog.ru\/lab\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/pblog.ru\/lab\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/pblog.ru\/lab\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=231"}],"version-history":[{"count":0,"href":"http:\/\/pblog.ru\/lab\/index.php?rest_route=\/wp\/v2\/posts\/231\/revisions"}],"wp:attachment":[{"href":"http:\/\/pblog.ru\/lab\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=231"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/pblog.ru\/lab\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=231"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/pblog.ru\/lab\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}