hi
when I build a ppc 2003 program, the error below is launched.
1 fatal error C1189: #error : Please use the /MD switch for _AFXDLL builds d:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxver_.h 77
in afxver_.h
the error code line blew:
#if defined(_AFXDLL) && !defined(_DLL)
#error Please use the /MD switch for _AFXDLL builds(the error is here)
#endif
how to solution it
Thank you.

building error
eric_from_nj
You have linked MFC dynamically in your project but not using /MD switch. This switch is required for linking MFC dynamically. To set the switch do following:
Goto Project Properties->C/C++->Code Generation->Runtime Library. There choose Multi Threaded DLL (/MD) option.
This should solve your problem
Thanks,
Achal,
VSD, Microsoft
GeoComeProgrammer
hi Achal
I have passed the error as your way.
thank you.
but more other error is launched,
please see below,
how to solution them,
error C2733: second C linkage of overloaded function '_setmode' not allowed e:\ws\windows mobile\source code\video\h263\h263\test\decoder\io.h 177
error C2733: second C linkage of overloaded function '_setmode' not allowed e:\ws\windows mobile\source code\video\h263\h263\test\decoder\io.h 177
error C2733: second C linkage of overloaded function '_setmode' not allowed e:\ws\windows mobile\source code\video\h263\h263\test\decoder\io.h 177
error C2733: second C linkage of overloaded function '_setmode' not allowed e:\ws\windows mobile\source code\video\h263\h263\test\decoder\io.h 177
error C2733: second C linkage of overloaded function '_setmode' not allowed e:\ws\windows mobile\source code\video\h263\h263\test\decoder\io.h 177
error C2733: second C linkage of overloaded function '_setmode' not allowed e:\ws\windows mobile\source code\video\h263\h263\test\decoder\io.h 177
error C2733: second C linkage of overloaded function '_setmode' not allowed e:\ws\windows mobile\source code\video\h263\h263\test\decoder\io.h 177
error C2733: second C linkage of overloaded function '_setmode' not allowed e:\ws\windows mobile\source code\video\h263\h263\test\decoder\io.h 177
error C2733: second C linkage of overloaded function '_setmode' not allowed e:\ws\windows mobile\source code\video\h263\h263\test\decoder\io.h 177