小弟只懂olevariant类型,却不懂别的,用起来很麻烦。

解决方案 »

  1.   

    function myfunction:widestring(或integer,boolean);
      

  2.   

    int是Long
    string是BSTR
    bool是WORDBOOL
    或者这样Tools->Environment options->Type Library->Language设为Pascal
      

  3.   

    我按以下做
    int是Long
    string是BSTR
    bool是WORDBOOL
      

  4.   

    若参数作为函数返回值呢,则modifier应分别怎么设啊?type还是上面说的吗?modifier中的out是需要指针类型的。
      

  5.   

    MIDAS中,远程数据模块的接口方法若要返回int,string,bool等类型,则应该怎么设呢?//////////
    严格的说:
    string在MIDAS中是不能使用的必须上WideString
      

  6.   

    string在MIDAS中是不能使用的,
    必须是WideString
      

  7.   

    先选择LONG
    然后在LONG后直接加符号' *',成为
    LONG *