在运行时报错参数类型错。
java代码如下:
                  long tonyone =10000;
                 Variant t = new Variant(tonyone);
                 long tony1 =t.VariantByref;
                 
                 long tonytwo = 11000;
                 Variant o = new Variant(tonytwo);
                 long  tony2=o.VariantByref;
                 
                 double tonythree =1.0;
                 Variant y        = new Variant(tonythree);
                 double tony3     =y.VariantByref;      
           long tonylong = Inerobjuse.call(Inerobjuse,"GetTransactionStatistics",tony1,tony2,tony3).getLong();
急急!!!!!!!急急!!!!!!!急急!!!!!!!接口函数VB写的如下:
Public Function GetTransactionStatistics( _
   ByRef passedTrans As Long, _
   ByRef failedTrans As Long, _
   ByRef hitsPerSec As Double _
) As LongParameters
passedTrans 
Output argument - Number of transactions that passed 
failedTrans 
Output argument - Number of transactions that failed 
hitsPerSec 
Output argument - Hits per second