![]() |
#2
Cking2007-10-17 13:31
|
// MyCFuncs.h
#ifdef __cplusplus-------0
extern "C" { // only need to export C interface if
// used by C++ source code
#endif --------1
__declspec( dllimport ) void MyCFunc();
__declspec( dllimport ) void AnotherCFunc();
#ifdef __cplusplus --------2
}
#endif ------3
以上程序中,0处是和3对应。1和2怎么对应啊?是不是1和2 写反了?应该先有if,然后有end?
谢谢啊!