就是按你说的方法,在INC文件中加入以下代码呀!
唉,分都给了你,你还没有搞掂?
{$IFDEF VER150} { Borland Delphi 7.0 }
{$DEFINE DELPHI4}
{$DEFINE DELPHI5}
{$DEFINE DELPHI6}
{$DEFINE DELPHI7}
{$IFDEF BCB} { Borland C++Builder 6.0 }
{$DEFINE CBUILDER3}
{$DEFINE CBUILDER4}
{$DEFINE CBUILDER5}
{$DEFINE CBUILDER6}
{$ObjExportAll On}
{$ENDIF}
{$ENDIF}