编译的时候:
Compiling resources...
E:\Program Files\Microsoft Visual Studio\VC98\MFC\INCLUDE/l.chs\afxres.rc (120): error RC2151 : cannot reuse string constants, 61446(0xF006) - "Picture Files (*.bmp, *.jpg; *.jpeg, *.gif, *.pcx, *.tga, *.png)|*.bmp; *.jpg; *.jpeg; *.gif; *.pcx; *.tg
a; *.png|
Bitmap Files (*.bmp)|*.bmp|
JPEG Files (*.jpg;*.jpeg)|*.jpg; *.jpeg|
Gif Files (*.gif)|*.gif|
Png Files (*.png)|*.png|
Pcx Files (*.pcx)|*.pcx|
Tga Files (*.tga)|*.tga|
All Files (*.*)|*.*||" already defined. Cannot add 61446(0xF006) - "一未命名文件".
Error executing rc.exe.PicViewer.exe - 1 error(s), 0 warning(s)
Compiling resources...
E:\Program Files\Microsoft Visual Studio\VC98\MFC\INCLUDE/l.chs\afxres.rc (120): error RC2151 : cannot reuse string constants, 61446(0xF006) - "Picture Files (*.bmp, *.jpg; *.jpeg, *.gif, *.pcx, *.tga, *.png)|*.bmp; *.jpg; *.jpeg; *.gif; *.pcx; *.tg
a; *.png|
Bitmap Files (*.bmp)|*.bmp|
JPEG Files (*.jpg;*.jpeg)|*.jpg; *.jpeg|
Gif Files (*.gif)|*.gif|
Png Files (*.png)|*.png|
Pcx Files (*.pcx)|*.pcx|
Tga Files (*.tga)|*.tga|
All Files (*.*)|*.*||" already defined. Cannot add 61446(0xF006) - "一未命名文件".
Error executing rc.exe.PicViewer.exe - 1 error(s), 0 warning(s)
把你的IDS_PICFORMAT的ID值改一下就可以...