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

VB中的字符类型解决方法

2012-04-02 
VB中的字符类型 Delphi函数中用到PChar在VB中用什么类型?Delphi中声明:functionfGetStr(Str:PChar):PChar

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

热点排行