zxhproj v 2.2
zxhproj

zxhDllExport.h

00001 
00002 /*=========================================================================
00003 
00004   Program:   ZXH Registration Software
00005   Author:    Xiahai Zhuang
00006   Module:    $RCSfle: zxhDllExport.h    $
00007   Language:  C++
00008   Date:      $Date: From  2004-01 $
00009   Version:   $Revision: 1.0, 2.0 $
00010 
00011 =========================================================================*/
00012 // .NAME zxhDllExport - maitain marcro for dllexport
00013 // .SECTION Description
00014 //
00015 
00016 #ifndef _zxhDllExport_h
00017 #define _zxhDllExport_h
00018 
00019 //#define ZXH_FOR_DLL_EXPORT//if compile dll then define
00020 //#define ZXH_FOR_DLL_INPORT //header for using dll
00021 
00022 #ifdef ZXH_FOR_DLL_EXPORT//if compile dll then define
00023 #define ZXH_DLL_EXPORT __declspec( dllexport )// compile dll
00024 #else
00025 
00026 #ifdef ZXH_FOR_DLL_INPORT //header for using dll
00027 #define ZXH_DLL_EXPORT __declspec( dllimport )//use dll
00028 #else
00029 #define ZXH_DLL_EXPORT
00030 #endif
00031 
00032 #endif //ZXH_FOR_DLL_EXPORT
00033 
00034 #endif//_zxhDllExport_h
 All Classes Namespaces Functions Variables Typedefs