delphi做的动态连接库:
 Function tagBlockRead(blockNo:integer;var readBuf:shortstring):integer;stdcall;external 'tagitfunction.dll' name 'tagBlockRead';
  Function tagBlockWrite(blockNo:integer; writeBuf:shortstring):integer;stdcall;external 'tagitfunction.dll' name 'tagBlockWrite';
在vb中如何写,vb中shortstring用string应该是不行的。核心问题:shortstring应该是一个256字节的数组,第一个字节指定串长度。
那么做调用参数时:
   1:msg:shortstring:调用的应该是字符串的拷贝。
   2:var msg:shortstring:调用的应该是地址。
上面的说法对吧!
对应vb中怎么解决这些参数调用问题!请指点!