请问如何在给函数传递指针,就像WIN32API中有的函数传指针(200分)

  • 主题发起人 freeswordman
  • 开始时间
F

freeswordman

Unregistered / Unconfirmed
GUEST, unregistred user!
请问如何在给函数传递指针,就像WIN32API中有的函数传指针
Function PubFun1(const FirstP:^String;
const Secp:^String):String;
为什么出错
[Error] uEncrypt.pas(7): Identifier expected but '^' found
请问改如何处理
我的函数的参数是指针!
 
可以这样。
FirstP=^String;
Secp=^String;
然后
Function PubFun1(const xFirstP:FirstP;const xSecp:Secp):String;
begin
end;
 
顶部