首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > VB Dotnet >

VB6中 dim str as string*100, 在vs2005中相应的声明是怎样的?该如何解决

2012-03-19 
VB6中 dim str as string*100, 在vs2005中相应的声明是怎样的?VB6中有一个函数返回固定长度的字串到缓冲区

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() 正确,写在方法外

热点排行