L
lewisksh
hi, i have 1 MFC project which is written using VC++2003 but i need to
migrate to VC++2005. The program (VC++2003) is working fine. but there
is erros occur when running in VC++2005, and i just able to figure out
that the problem was come from the following code.
# ifdef WIN32
# if defined(MPSC_EXPORT)
# define MPSC_API __declspec( dllexport )
# elif defined(MPSC_IMPORT)
# define MPSC_API __declspec( dllimport )
# else /* for static libraries */
# define MPSC_API
# endif
# else /* !MD_WIN32 */
# define MPSC_API
# endif
would any one can tell me why this coding will be the problem for my
program?
thanks
migrate to VC++2005. The program (VC++2003) is working fine. but there
is erros occur when running in VC++2005, and i just able to figure out
that the problem was come from the following code.
# ifdef WIN32
# if defined(MPSC_EXPORT)
# define MPSC_API __declspec( dllexport )
# elif defined(MPSC_IMPORT)
# define MPSC_API __declspec( dllimport )
# else /* for static libraries */
# define MPSC_API
# endif
# else /* !MD_WIN32 */
# define MPSC_API
# endif
would any one can tell me why this coding will be the problem for my
program?
thanks