わいえむねっと

Contents
Categories
Calendar
2026/11
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
Monthly Archives
~2000/01
Recent Entries
RSS1.0
Templates
Information
Processed: 0.053 sec
Chashed: -
2008/03/06 Thu
寝る気がしなくてぽちぽちドットを打っていたら4時。なにをやっているんだ。小坂那也です。(挨拶) 総じて見積もりが甘すぎる。 三食山崎生活四日目。

・コッペパン つぶあん&マーガリン
・コロネ ビターチョコクリーム
・アップルパイ
2008/03/05 Wed
ありもしない希望にすがって生きていくのはもうよそう。小坂那也です。(挨拶)
つい昨日にあんぱんかじりながらてくてく歩いてただけで幸せ気分だった人とは思えまません。 故障した部品が送られてきました。
試験用。 三食山崎生活三日目。

・コッペパン ジャム&マーガリン
・イチゴスペシャル
・熟成やわらか蒸しケーキ
2008/03/04 Tue
あんぱんかじりながら朝の道を歩いていたら、なんだか幸せな気分になりました。小坂那也です。(挨拶)
どこまで安上がりにできてるんだこの人。 SPAM受信量が社内で15位らしいです。
同位は求人用の公開アドレスらしいです。
どういうことだ。
結構前からこの頻度なので、他の社員も自分と同じくらいSPAMきてるのかと思ってたら全然そんなことなかったらしい。
なーぜー。
あと、全SPAM中の実に46.9%が一人の社員宛てとかで噴いた。 性能に関して上流であれこれ言っているようなので下流提供部品を外して性能測定してみたら、処理時間が0msになって噴いた。 リーダー不在による対応に追われたり例によってのレポートをでっちあげたりしてたりでもうこんな時間。
だから自分の仕事をさせて下さいってば! 三食山崎生活二日目。

・高級つぶあん
・コッペパン つぶあん&マーガリン
・ホワイトデニッシュショコラ
2008/03/03 Mon
http://www.yamaza​kipan.co.j​p/campaign/2008/080115-bestselect​ion/index.html​
キャンペーンをやっていること自体は認識していたものの、キャンペーンの内容までは認識せずにスルーしていたのですが、先日飲んだ際に「ヤマザキパン携帯ストラップ」とかいうマニア垂涎のプレゼントが存在していたことを知らされてしまったので今週は三食山崎生活です。 今日も今日とてPerlがなかったら軽く死ねる量のログから情報を抽出してはレポートをでっちあげ。
だから自分の仕事をさせて下さいってば。 三食山崎生活初日。

・まるごとソーセージ
・高級つぶあん
・2色パン チョコ&クリーム
2008/03/02 Sun
なんかもう普通に死んでました。
普通ってなんだ。
普通の基準がわかりません。小坂那也です。(挨拶)
とりあえず死んだ目。 記憶のサルベージ作業。
2008/03/01 Sat
一路新橋。
シキさん幹事のいつものそれ。
乗り継ぎがうまくいかなくて5分ほど遅刻する。
はずだったのが新橋駅で迷ってさらに遅刻。
SL広場どころか日比谷口がまずどこ!

シ「どこにいるの!」
な「えー、あー、恵比寿口?」
シ「反対!!」

とかなんとか電話口で怒られて地上に出てみたら、すぐ日比谷口でした。
そんなこんなでようやく合流して。
上京してきた人がいると揶揄されて。 昨日の不完全燃焼分を取り戻すかのごとくウイスキーを飲み続ける。
飲み続けて飲み続けてぐだぐだのずるずるになっていたのでなにをしゃべっていたのかよく覚えていませんが、○んじゃえとか連呼しすぎていたような記憶がかすかに。
本当はそんなこと思っておりません。おりませんよ?
というか、この作品に登場する団体は全て架空のものです的なあれですよ。実在の団体とは関係ありません的なそれですよ。
あと、やまいちはえっちょい上に経歴詐称らしいので大変です。 ラーメン屋の記憶の断片。

・入ってきた側と反対側の席に
・右にンダ君、左にシキさん
・ネギの文字だけ見て注文
・ンダ君も同じのを注文していたような
・気が付いたらみんな食べ終わってて怒られた
・食べた記憶はない
で。
どういう風に乗り換えたのか記憶にないのですが、気が付いたら東府中だったので下車。ずるり途中下車。
途中というか目的地ですが。(ずるりはいいのか?)
行きとは違う経路で帰ってこなかったか、俺?帰巣本能は侮れない。
というか、こんなだから前歯折るんだこの人。
今日も元気。
2008/02/29 Fri
徹夜して。
早朝時間帯の空いた電車で寝こけて。
一之江の新居に荷物を投棄して。
本八幡で折り返して。
おにぎりと味噌汁で朝食を摂って。
最近よくある朝の風景。 委員会の懇親会。
要約すると酒。
要約しなくても酒。
つまり酒です。(しつこい)
珍しく頑張ってビールを処理していたせいで、焼酎やウイスキーがあまり飲めなくて不完全燃焼気味でした。
でしたが、なぜかやたらと98の話で盛り上がったので痛み分けだな!
なにがどう。
2008/02/28 Thu
マスク三日目ですよ!
うがいぐすりも導入ですよ! 精査精査また精査。
直して増やして削って直して。直して削って消しすぎて。
壊れたように笑いながら島を一周して。
今日も元気。
2008/02/27 Wed
出社したら机が割れていました。小坂那也です。(挨拶)
えええ!?
手前から奥まできれーいに天板に亀裂。
昨晩この席でいったい何が。
まぁいいかと席に着き、お茶をすする。 マスク二日目ですよ! レジストリリダイレクトをねじ伏せるメモ。

Registry changes in x64-based versions of Windows Server 2003 and in Windows XP Professional x64 Edition
http://support.mi​crosoft.co​m/kb/896459
Registry redirection
To support the coexistence of 32-bit and 64-bit COM registration and program states, the WOW64 subsystem presents 32-bit programs by using another view of the registry. The WOW64 subsystem uses registry redirection to intercept registry calls at the bit level. Registry redirection also makes sure that the registry calls are directed to the correct branches in the registry.

When you install a new program or when you run a program on a Windows x64 Edition computer, registry calls made by 64-bit programs access the HKEY_LOCAL_MACHINE\Software registry sub key without redirection. WOW64 intercepts registry calls to HKEY_LOCAL_MACHINE\Software that are made by 32-bit programs, and then redirects them to the HKEY_LOCAL_MACHINE\Software\WOW6432node sub key. By redirecting only the 32-bit program calls, WOW64 makes sure that programs always write to the appropriate registry sub key. Registry redirection does not require program code modification, and this process is transparent to the user.

API対応状況は

RegCreateKeyEx Function (Windows)
http://msdn2.micr​osoft.com/en-us/library/ms724844.a​spx
samDesired
A mask that specifies the access rights for the key. For more information, see Registry Key Security and Access Rights.

Requirements
Client Requires Windows Vista, Windows XP, or Windows 2000 Professional.
Server Requires Windows Server 2008, Windows Server 2003, or Windows 2000 Server.

RegOpenKeyEx Function (Windows)
http://msdn2.micr​osoft.com/en-us/library/ms724897.a​spx
samDesired
A mask that specifies the desired access rights to the key. The function fails if the security descriptor of the key does not permit the requested access for the calling process. For more information, see Registry Key Security and Access Rights.

Requirements
Client Requires Windows Vista, Windows XP, or Windows 2000 Professional.
Server Requires Windows Server 2008, Windows Server 2003, or Windows 2000 Server.

Registry Key Security and Access Rights (Windows)
http://msdn2.micr​osoft.com/en-us/library/ms724878.a​spx
KEY_WOW64_32KEY (0x0200) Indicates that an application on 64-bit Windows should operate on the 32-bit registry view. For more information, see Accessing an Alternate Registry View.
This flag must be combined using the OR operator with the other flags in this table that either query or access registry values.

Windows 2000: This flag is not supported.

KEY_WOW64_64KEY (0x0100) Indicates that an application on 64-bit Windows should operate on the 64-bit registry view. For more information, see Accessing an Alternate Registry View.
This flag must be combined using the OR operator with the other flags in this table that either query or access registry values.

Windows 2000: This flag is not supported.

RegDeleteKeyEx Function (Windows)
http://msdn2.micr​osoft.com/en-us/library/ms724847.a​spx
samDesired
An access mask the specifies the platform-specific view of the registry.

Value Meaning
KEY_WOW64_32KEY
0x0200
Delete the key from the 32-bit registry view.

KEY_WOW64_64KEY
0x0100
Delete the key from the 64-bit registry view.

Requirements
Client Requires Windows Vista or Windows XP Professional x64 Edition.
Server Requires Windows Server 2008 or Windows Server 2003 SP1.

となっており、

・RegCreateKeyExやRegOpenKeyExはsamDesiredの指定でリダイレクト回避可能だが、Windows 2000での動作が不定
・RegDeleteKeyExも同様だが、こちらはx64 EditionもしくはWindows Server 2003 SP1以降でないとAPIそのものが未サポート

とりあえず実験。空欄は未確認。

RegCreateKeyExRegCreateKeyEx(KEY_WOW64_64KEY)RegOpenKeyEx(KEY_WOW64_64KEY)
RegSetValueExRegSetValueExRegSetValueExRegDeleteKeyRegDeleteKeyEx(KEY_WOW64_64KEY)
2003(x64)SOFTWARE\Wow6432NodeSOFTWARESOFTWARESOFTWARE\Wow6432NodeSOFTWARE
2003(x32)SOFTWARESOFTWARE SOFTWARE 
XP(x32)SOFTWARESOFTWARE SOFTWARE×
2000SOFTWARESOFTWARE ××

どうもnot supportedなflagはただ無視されるというわけでもないようなので、x64かどうかを判別した上でセットするのが吉。
判別は

IsWow64Process Function (Windows)
http://msdn2.micr​osoft.com/en-us/library/ms684139.a​spx
Determines whether the specified process is running under WOW64.

で。

Requirements
Client Requires Windows Vista or Windows XP SP2.
Server Requires Windows Server 2008 or Windows Server 2003 SP1.

DLL Requires Kernel32.dll.

となっているので、Kernel32.dllをLoadLibraryしてGetProcAddresssすると吉。
2008/02/26 Tue
喉が腫れたのでマスク着用。
扁桃腺が脆弱なので、放っておくと血を吐きかねない。 What's New in WER (Windows)
http://msdn2.micr​osoft.com/en-us/library/bb513640(VS.85).aspx
Windows Server 2008 and Windows Vista SP1


The following list summarizes the new features of WER for Windows Server 2008 and Windows Vista Service Pack 1 (SP1).

WER can be configured so that full user-mode dumps are collected and stored locally after a user-mode application crashes. For more information, see Collecting User-Mode Dumps.

の

Collecting User-Mode Dumps (Windows)
http://msdn2.micr​osoft.com/en-us/library/bb787181(VS.85).aspx
These registry values represent the global settings. Per-process settings are also supported and will override the global settings. To create a per-process setting, create a new key under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Windows Error Reporting\LocalDumps with the application name (for example, App.exe) and add the desired registry values to this key.

あたりの動作を見るために、Windows Server 2008 RC1をダウンロード。

Windows Server 2008 Release Candidate 評価版ソフトウェア
http://www.micros​oft.com/japan/windowsser​ver2008/audsel.msp​x