次の方法で共有


'Hello World' 定義ファイル

定義ファイルは、エントリ ポイント関数をエクスポートするために使用されます。 The hellowld.def file should contain the two following COM exports, DllGetClassObject and DllCanUnloadNow, which are described in the Microsoft Windows SDK documentation.

LIBRARY HELLOWLD

EXPORTS
     DllGetClassObject   PRIVATE
     DllCanUnloadNow     PRIVATE