「ライブラリの基礎 - DLLの作成(C/C++/MFC)」の版間の差分

ナビゲーションに移動 検索に移動
126行目: 126行目:
  }
  }
  </source>
  </source>
<br><br>
== DLLファイルの確認 ==
DLLファイルのエクスポートされた関数名は、dumpbinで確認することができる。<br>
<br>
PowerShellまたはコマンドプロンプトを起動して、以下のコマンドを実行する。<br>
この時、name項目に関数名が表示される。<br>
dumpbin.exe /EXPORTS <DLLファイル名>
# 出力
Microsoft (R) COFF/PE Dumper Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.
Dump of file <DLLファイル名>
File Type: DLL
Section contains the following exports for sample.dll
    00000000 characteristics
    49A74D91 time date stamp Fri Feb 27 01:18:57 2009
        0.00 version
          1 ordinal base
          1 number of functions
          1 number of names
    ordinal hint RVA      name
          1    0 00001034 FunctionName
  Summary
        1000 .data
        1000 .pdata
        1000 .rdata
        1000 .reloc
        1000 .text
<br><br>
<br><br>


案内メニュー