{"id":1441,"date":"2008-10-22T23:56:00","date_gmt":"2008-10-22T14:56:00","guid":{"rendered":"https:\/\/hdmr.org\/d\/?e=162"},"modified":"2008-10-22T23:56:00","modified_gmt":"2008-10-22T14:56:00","slug":"blogn-162","status":"publish","type":"post","link":"https:\/\/hdmr.org\/d\/?e=162","title":{"rendered":"Just in Time\u304c\u58f2\u308a\u306a\u306e\u306b\u4e8b\u524d\u30b3\u30f3\u30d1\u30a4\u30eb?"},"content":{"rendered":"<p>\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u958b\u767a\u4e2d\u3002<br \/>\u307e\u3041\u3044\u308d\u3044\u308d\u3084\u3063\u3066\u308b\u306e\u3060\u304c\u3001\u3053\u3046\u3044\u3046\u3057\u3087\u3046\u3082\u306a\u3044\u30af\u30e9\u30b9\u306f\u610f\u5916\u3068\u4fbf\u5229\u3002<br \/>IronPython\u3060\u304c\u3001C#\u3067\u3082\u540c\u69d8\u306e\u3053\u3068\u3060\u308d\u3046\u3002<\/p>\n<pre>class clicklunch(object):<br \/>  def __init__(self,lunch,option=''):<br \/>    self.lunch=lunch<br \/>    self.option=option<br \/>  def click(self,sender,e):<br \/>    p=System.Diagnostics.Process.Start(self.lunch,self.option)<br \/>    sender.Parent.Visible=0<br \/>    p.WaitForExit()<br \/>    sender.Parent.Visible=1<\/pre>\n<p>\u30dc\u30bf\u30f3\u306eClick\u306e\u30a4\u30d9\u30f3\u30c8\u306b\u3053\u306e\u30af\u30e9\u30b9\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306eclick\u30e1\u30bd\u30c3\u30c9\u3092\u8ffd\u52a0\u3057\u3066\u4f7f\u3044\u307e\u3059\u3002<br \/>\u9759\u7684\u30e1\u30bd\u30c3\u30c9\u3067\u306f\u3001\u8d77\u52d5\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u540d\u306a\u3069\u3092\u4fdd\u6301\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u3044\u3002<br \/>\u3060\u304b\u3089\u305d\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u540d\u306a\u3069\u3068\u3001\u30af\u30ea\u30c3\u30af\u6642\u306e\u52d5\u4f5c\u5185\u5bb9\u3092\u675f\u306d\u305f\u30af\u30e9\u30b9\u3092\u4f5c\u308b\u3068\u3002<br \/>\u307e\u3041\u307b\u304b\u306b\u3082\u3084\u308a\u65b9\u304c\u3042\u308a\u305d\u3046\u306a\u3082\u3093\u3060\u304c\u3001\u30b7\u30f3\u30d7\u30eb\u3067\u4fbf\u5229\u306a\u65b9\u6cd5\u304b\u306a\u3068\u3002<\/p>\n<hr \/>\n<p>\u6700\u8fd1IronPython\u3067\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u304f\u3053\u3068\u304c\u591a\u3044\u3002<br \/>\u30d7\u30ed\u30b0\u30e9\u30e0\u4f5c\u6210\u30fb\u5b9f\u884c\u3092\u7e70\u308a\u8fd4\u3059\u306e\u306b\u306f\u4fbf\u5229\u3002<br \/>C#\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u306b\u304b\u304b\u308b\u6642\u9593\u3050\u3089\u3044\u3067\u3001\u5b9f\u884c\u307e\u3067\u7d42\u308f\u308b\u3068\u3002<br \/>\u3068\u3053\u308d\u304c\u3001\u5b9f\u969b\u306b\u4f7f\u3046\u3068\u306a\u308b\u3068\u3061\u3087\u3063\u3068\u9045\u3044\u3002<br \/>\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3067ipy\u3068\u5b9f\u884c\u3057\u3066\u30015\u79d2\u3050\u3089\u3044\u305f\u3063\u3066\u304b\u3089\u52d5\u4f5c\u304c\u59cb\u307e\u308b\u3002<br \/>\u521d\u671f\u5316\u306b\u3057\u3066\u306f\u9577\u3059\u304e\u308b\u306a\u3041\u3068\u601d\u308f\u306a\u3044\u3053\u3068\u3082\u306a\u3044\u3002<br \/>.NET Framework\u3067\u52d5\u304f\u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u4e2d\u9593\u30b3\u30fc\u30c9\u3067\u66f8\u304b\u308c\u3066\u3044\u308b\u3002IL\u3067\u3059\u306d\u3002<br \/>\u3053\u306eIL\u3092\u306f\u3058\u3081\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3064\u3064\u52d5\u4f5c\u3092\u958b\u59cb\u3059\u308b\u3053\u3068\u306b\u306a\u308b\u306e\u3060\u304c\u3001<br \/>\u3053\u308c\u304c\u3061\u3087\u3063\u3068\u306f\u3058\u3081\u9045\u3044\u539f\u56e0\u3002<\/p>\n<hr \/>\n<p>\u3068\u3053\u308d\u3067\u3088\u304f\u3064\u304b\u3046DLL\u985e\u306f\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u305f\u72b6\u614b\u3067\u3082\u4fdd\u6301\u3055\u308c\u3066\u3044\u308b\u3002<br \/>\u901f\u304f\u52d5\u4f5c\u3055\u305b\u308b\u305f\u3081\u3067\u3059\u3088\u306d\u3002<br \/>\u3053\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u305f\u72b6\u614b\u3067\u4fdd\u6301\u3059\u308b\u305f\u3081\u306e\u30c4\u30fc\u30eb\u304c\u3042\u308a\u307e\u3059\u3088\u3068\u3002<br \/><a href=\"http:\/\/software.hi-gain.org\/software\/netrtune\/index.html\">.NET R-Tune<\/a><br \/>\u307e\u3041\u3053\u308c\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<br \/>\u8d77\u52d5\u3057\u3066\u3001Change\u3067\u4f7f\u3046.NET Framework\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u9078\u3076\u3002<br \/>.NET Framework 3.0\u30013.5\u3082\u5e83\u3044\u610f\u5473\u3067\u306f2.0\u3067\u3059\u3088\u3002<br \/>\u305d\u3057\u3066ipy.exe\u3001ipyw.exe\u3092\u30c9\u30e9\u30c3\u30b0\u30fb\u30a2\u30f3\u30c9\u30fb\u30c9\u30ed\u30c3\u30d7\u3002\u3059\u308c\u3070\u9ad8\u901f\u5316\u3055\u308c\u308b\u3068\u3002<br \/>\u307e\u3041\u3053\u306e\u8981\u9818\u3067\u3088\u304f\u4f7f\u3046.NET Framework\u4e0a\u3067\u52d5\u304f\u30bd\u30d5\u30c8\u30a6\u30a8\u30a2\u3092\u6295\u3052\u8fbc\u3080\u3068\u3044\u3044\u3068\u3002<\/p>\n<hr \/>\n<p>\u3053\u306e\u7d50\u679c\u304b\u306a\u308a\u901f\u304f\u306a\u3063\u305f\u3002\u30d7\u30ed\u30f3\u30d7\u30c8\u304c\u3067\u3066\u304f\u308b\u307e\u30672\u79d2\u3050\u3089\u3044\u306b\u77ed\u7e2e\u3055\u308c\u305f\u3002<br \/>\u5fae\u3005\u305f\u308b\u5dee\u3060\u304c\u3001\u3053\u308c\u3060\u3051\u3067\u3082\u5feb\u9069\u5ea6\u306f\u304b\u306a\u308a\u9055\u3044\u307e\u3059\u306d\u3002<br \/>py\u30d5\u30a1\u30a4\u30eb\u3092ipyw.exe\u306b\u95a2\u9023\u4ed8\u3051\u3057\u3066\u307f\u305f\u3002<br \/>ipyw.exe\u306f\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u7acb\u3061\u4e0a\u3052\u306a\u3044IronPython\u306e\u5b9f\u884c\u74b0\u5883\u3067\u3001<br \/>Windows\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u52d5\u4f5c\u3055\u305b\u308b\u306b\u306f\u4fbf\u5229\u3002<br \/>\u305f\u3060\u3001\u30c7\u30d0\u30c3\u30b0\u3059\u308b\u306b\u306f\u4e0d\u5411\u304d\u304b\u306a\u3002\u30a8\u30e9\u30fc\u3068\u304b\u304c\u8868\u793a\u3055\u308c\u306a\u3044\u3068\u304d\u304c\u3042\u308b\u304b\u3089\u3002<br \/>\u30c7\u30d0\u30c3\u30b0\u3059\u308b\u3068\u304d\u3068\u304b\u306f\u3001cmd\u304b\u3089ipy foo.py\u3068\u304b\u5b9f\u884c\u3059\u308b\u306e\u304c\u304a\u3059\u3059\u3081\u3002<br \/>\u3051\u3069\u5b9f\u7528\u7684\u306b\u4f7f\u3046\u3068\u304d\u306f\u3001IronPython\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u30c0\u30d6\u30eb\u30af\u30ea\u30c3\u30af\u3059\u308b\u3060\u3051\u3067\u52d5\u4f5c\u3059\u308b\u304b\u3089\u4fbf\u5229\u304b\u306a?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u958b\u767a\u4e2d\u3002\u307e\u3041\u3044\u308d\u3044\u308d\u3084\u3063\u3066\u308b\u306e\u3060\u304c\u3001\u3053\u3046\u3044\u3046\u3057\u3087\u3046\u3082\u306a\u3044\u30af\u30e9\u30b9\u306f\u610f\u5916\u3068\u4fbf\u5229\u3002IronPython\u3060\u304c\u3001C#\u3067\u3082\u540c\u69d8\u306e\u3053\u3068\u3060\u308d\u3046\u3002 class clicklunch(object): def __init__( [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1441","post","type-post","status-publish","format-standard","hentry","category-computer"],"_links":{"self":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts\/1441","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1441"}],"version-history":[{"count":0,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts\/1441\/revisions"}],"wp:attachment":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1441"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1441"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}