VB6中 dim str as string*100, 在vs2005中相应的声明是怎样的?
VB6中有一个函数返回固定长度的字串到缓冲区.
declare function f lib "abc.dll " (byval re as string) as integer
dim intA as integer
dim str as string*100
intA=f(str)
现在需要改用vs2005,相应的调用是怎样的?
谢谢.
[解决办法]
<VBFixedString(100)> Static Dim str As String
[解决办法]
FY_Only_VB() 正确,写在方法外