读书人

VB中的字符类型解决方法

发布时间: 2012-04-02 19:58:59 作者: rapoo

VB中的字符类型

Delphi函数中用到 PChar

在VB 中用什么类型?

Delphi 中声明:

function fGetStr(Str: PChar): PChar;
begin
Result := Str;
end;

VB怎么调用?

[解决办法]
string
[解决办法]
你是什么调试的??
dim xx as string
xx = "Hello "


[解决办法]
Delphi 中声明:
function fGetStr(Str: PChar): PChar;
begin
Result := Str;
end;
---------------------------------------
'VB怎么调用?翻译成VB就是
Function fGetStr(byval sStr as string) as string
fGetStr= sStr
End Function

读书人网 >VB

热点推荐