#ifndef __TESTMSG__ #define __TESTMSG__ int WINAPI Dll_TestMessageBox(); #endif |
#include "StdAfx.h" #include "TestMsg.h" int WINAPI Dll_TestMessageBox() { return AfxMessageBox("このメッセージボックスはDLL内の関数から呼び出されています"); } |
EXPORTS ; 明示的なエクスポートはここへ記述できます Dll_TestMessageBox @1 |
#include " \ add additional includes here" |
CClassDlg dlg; dlg.DoModal(); |