タグ

ブックマーク / learn.microsoft.com (86)

  • Preventing Hangs in Windows Applications - Win32 apps

    Affected Platforms Clients - Windows 7 Servers - Windows Server 2008 R2 Description Hangs - User Perspective Users like responsive applications. When they click a menu, they want the application to react instantly, even if it is currently printing their work. When they save a lengthy document in their favorite word processor, they want to continue typing while the disk is still spinning. Users get

    Preventing Hangs in Windows Applications - Win32 apps
    kobake
    kobake 2013/03/26
  • /Zm (Specify precompiled header memory allocation limit)

    Determines the amount of memory that the compiler allocates to construct precompiled headers. Syntax /Zmfactor Arguments factor A scaling factor percentage that determines the amount of memory that the compiler uses to construct precompiled headers. The factor argument is a percentage of the default size of a compiler-defined work buffer. The default value of factor is 100 (percent), but you can s

    /Zm (Specify precompiled header memory allocation limit)
    kobake
    kobake 2013/03/05
  • コンソール ウィンドウ ハンドルを取得する - Windows Server

    この記事では、コンソール ウィンドウ ハンドル (HWND) を取得する方法について説明します。 適用対象: Windows Server 2012 R2 元の KB 番号: 124103 概要 コンソール アプリケーションに関連付けられているウィンドウを操作すると便利な場合があります。 Win32 API には、コンソール アプリケーションに関連付けられているウィンドウ ハンドルを取得するための直接メソッドは用意されません。 ただし、 を呼び出 FindWindow()すことでウィンドウ ハンドルを取得できます。 この関数は、クラス名またはウィンドウ名に基づいてウィンドウ ハンドルを取得します。 を呼び出 GetConsoleTitle() して、現在のコンソール タイトルを決定します。 次に、現在のコンソール タイトルを に指定 FindWindow()します。 詳細 複数のウィンドウ

    コンソール ウィンドウ ハンドルを取得する - Windows Server
    kobake
    kobake 2012/09/21
  • Microsoft Win32 と Microsoft .NET Framework API との対応

    Microsoft .NET Framework and Microsoft Visual Studio User Education Teams Microsoft Corporation January 2004 Applies to: Microsoft® .NET Framework version 1.0 or 1.1 Microsoft Visual Studio® .NET Microsoft Win32® functions Summary: This article identifies the Microsoft .NET Framework version 1.0 or 1.1 APIs that provide similar functionality to Microsoft Win32 functions. One or more relevant .NET 

    Microsoft Win32 と Microsoft .NET Framework API との対応
    kobake
    kobake 2012/08/30
  • TCPView for Windows

    概要 TCPView はネットワークの接続状況を確認するためのツールで、netstat コマンドを実行することで得られる結果をリアルタイムで取得することができます。TCPView.exe はダブルクリックして実行することで、利用開始できます。 画面構成 TCPView の画面構成は netstat コマンドを実行したときの画面に非常に似ており、ネットワーク上のコンピューターとの接続状況 (プロトコル種類、ローカルアドレス、リモート アドレス) や待ち受け状況などが表示されます。ただし、netstat コマンドとは異なり、ネットワーク接続を利用しているプロセスの名前が同時に表示されます。そのため、TCPView では特定のネットワーク接続を利用しているプロセスを簡単に確認できます。 使用法 TCPView はネットワーク接続の一覧を参照するだけでなく、接続を終了させることが可能です。接続を終

    TCPView for Windows
    kobake
    kobake 2012/06/07
  • Visual Basic .NET または C# コードのリバース エンジニアリングを防ぐ -- MSDN Magazine, 2003 年 11 月

    ページのトップへ 9. 難読化ツールの欠点 難読化、特に名前の変更は、複雑なアプリケーションでは扱いにくく、構成の変更には影響を受けやすくなります。難読化を注意深く行わないと、アプリケーションの機能を停止する可能性があります。ここでは、難読化ツールを使用している際の一般的な問題点の一部を説明します。 まず、アプリケーションに厳密な名前が付けられたアセンブリが含まれているときは、少し多くの作業が必要になります。厳密な名前が付けられたアセンブリには、デジタルに署名されており、このデジタル署名により、ランタイムはアセンブリが署名後に変更されているかどうかを判断できます。署名は、RSA 公開/秘密キー ペアの秘密キーを使用した SHA1 ハッシュ署名です。署名と公開キーはどちらもアセンブリのメタデータに埋め込まれています。難読化ツールはアセンブリを変更するので、難読化後に署名が行われるのが基です

    Visual Basic .NET または C# コードのリバース エンジニアリングを防ぐ -- MSDN Magazine, 2003 年 11 月
    kobake
    kobake 2012/03/04