export.h

来自「MFC DLL的编写和调用示例」· C头文件 代码 · 共 20 行

H
20
字号

#ifndef _EXPORTC_H
#define _EXPORTC_H

// this makes sure I am doing what I want
#ifdef DLGCPorting
#pragma message( "Warning! DLGCPorting already defined!" )
#undef DLGCPorting
#endif

#ifdef COMPILING_DLLC
#define DLGCPorting __declspec( dllexport )
#else
#define DLGCPorting __declspec( dllimport )
#endif

DLGCPorting int ShowDialogC( CString& text );

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?