用CPictureEx后老出现这些个错误 不知道为什么。大大们帮忙~
error C2146: syntax error : missing ';' before identifier 'm_gif'
error C2501: 'CPictureEx' : missing storage-class or type specifiers
error C2501: 'm_gif' : missing storage-class or type specifiers

解决方案 »

  1.   

    warning C4652: compiler option 'Generate Browser Info' inconsistent with precompiled header; current command-line option will override that defined in the precompiled header
    error C2065: 'm_gif' : undeclared identifier
     error C2228: left of '.Load' must have class/struct/union type
    error C2228: left of '.Draw' must have class/struct/union type
      

  2.   

    #include了没有CPictureEx类的头文件吗?
      

  3.   

    楼主是想实现在VC里显示gif的功能?
      

  4.   

    建议换个类, 用ImageEx替代CPictureEx, 因为后者有点小bug。