在c语言中用function (int ^par)很方便,查过好多资料没找到Delphi的用法,今晚没事突然想起用Delphi万能指针Pointer(无类型指针)应该可以代替。测试一下通过。PRocedure xx(a:pchar);vartm:^TAdodataset;begintm:=Pointer(a);...end;procedure bb;vartm:TAdodataset;begintm...xx(@tm);end;