哪位大侠可以帮我把这段DELPHI的申明转成VB的,先谢谢啦

luoming 2002-12-07 01:09:09
procedure AT(my:dword;tak:integer);stdcall;external 'dll1.dll';

procedure rs(my:dword);stdcall;external 'dll1.dll';

procedure pu(my:dword);stdcall;external 'dll1.dll';

procedure pr(my:dword);stdcall;external 'dll1.dll';

procedure st(my:dword);stdcall;external 'dll1.dll';

function pson(my:dword):integer;stdcall;external 'dll1.dll';

procedure adv(my:dword;vl:boolean);stdcall;external 'dll1.dll';

function py(filename:pchar):dword;stdcall;external 'dll1.dll';

procedure crv(mystream:dword);stdcall;external 'dll1.dll';

function ov:boolean;stdcall;external 'dll1.dll';
...全文
55 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
luoming 2002-12-09
  • 打赏
  • 举报
回复
呵呵,不知道
tonylk 2002-12-08
  • 打赏
  • 举报
回复
pchar 好像应该是 (val x as char) 吧
luoming 2002-12-07
  • 打赏
  • 举报
回复
Public Declare sub AT Lib "dlll.dll" (my as long,tak as integer)
public declare sub rs lib "dlll.dll" (my as long)
public declare sub pu lib "dlll.dll" (my as long)
public declare sub pr lib "dlll.dll" (my as long)
public declare sub st lib "dlll.dll" (my as long)
public declare function pson lib "dlll.dll" (my as long) as integer
public declare adv rs lib "dlll.dll" (my as long,vl as integer)
public py sub rs lib "dlll.dll" (filename as string)
public declare sub crv lib "dlll.dll" (my as long)
public declare function ov lib "dlll.dll" as integer

自己解决
luoming 2002-12-07
  • 打赏
  • 举报
回复
to: tonylk

你还没看完,下面还有一些

在VB里怎么表示pchar类型呢
tonylk 2002-12-07
  • 打赏
  • 举报
回复
Public Declare sub AT Lib "dlll.dll" (my as long,tak as integer)

public declare sub rs lib "dlll.dll" (my as long)
luoming 2002-12-07
  • 打赏
  • 举报
回复
我不知道怎么转类型啊,请大侠指点
ehom 2002-12-07
  • 打赏
  • 举报
回复
你VB中怎么调用API?举一反三咯!
luoming 2002-12-07
  • 打赏
  • 举报
回复
怎么没有人回答啊

16,748

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 语言基础/算法/系统设计
社区管理员
  • 语言基础/算法/系统设计社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧