宏_CRTIMP分析

CRTIMP是C run time implement的简写,C运行库的实现的意思。

作为用户代码,不应该使用这个东西。

该参数决定 运行时 到底用 动态链接库 还是静态链接

 1 #ifndef _CRTIMP
 2 
 3 #ifdef _DLL
 4 
 5 #define _CRTIMP __declspec(dllimport)
 6 
 7 #else /* ndef _DLL */
 8 
 9 #define _CRTIMP 
10 
11 #endif /* _DLL */
12 
13 #endif /* _CRTIMP */
原文地址:https://www.cnblogs.com/prayer521/p/5755728.html