因刚学用COM+组件技术.
我在用Delphi写Com组件的时候,定义一个方法,其中的参数是一种类类型.请问我如何把新的类型,增加到Type Library中.因为我在Delphi的View菜单下,Type Libray中,无法看到我的类类型.如:在一个文件中定义Customer实体对象的属性:Type
  TCustomer=Class
  private
   FCustomerCode:string;
   FAddress:string;
   .
   . 
  public
   property CustomerCode:String read FCustomer write FCustomer;
   property Address:string read FAddress write FAddress;
   .
   .
  end;..在另外的数据对象类中:
Type
    TdmCustomers = class(TMtsDataModule, IdmCustomers)
     .
     .//中间省略     protected
       procedure Add(Customer:TCustomer);<-----此处TCustomer类在
TypeLibrary里面看不见,所以无法在里面定义该参数,手写进去好象不行.
   
    紧急求助!!!!
     end;