System.Types.hpp

System.Types.hpp(77): E2029 'TObject' must be a previously defined class or struct

 

 

class PASCALIMPLEMENTATION TBitConverter : public System::TObject
{
    typedef System::TObject inherited;

 

工程文件a.cbproj

<PropertyGroup Condition="'$(Base)'!=''">

<IncludePath>frm\;$(IncludePath)</IncludePath>

有这句就报错,没有就不报错。

排查完毕,原来是Frm文件夹里有个time.cpp,time.h与系统文件冲突了,修改文件名后正常。

posted on 2016-06-20 15:10  lypzxy  阅读(436)  评论(0编辑  收藏  举报