哪位老大帮忙转换一下VB程序,我转的好像有点问题!

wanwangzhiwang 2004-04-05 09:20:50
Declare Function SQLAllocEnv Lib "db2cli" (phenv&) As Integer
Declare Function SQLAllocConnect Lib "db2cli" (ByVal henv&, phdbc&) As Integer
这是我转的
Function SQLAllocEnv(phenv:integer):word;stdcall; external 'db2cli.dll';
Function SQLAllocConnect(henv:integer; phdbc:integer) :word;stdcall; external 'db2cli.dll';

...全文
30 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
wanwangzhiwang 2004-04-05
  • 打赏
  • 举报
回复
怎么使用?有demo吗?
wanwangzhiwang 2004-04-05
  • 打赏
  • 举报
回复
楼上的老大,你给的这个好像正是我一直想要的,从哪里搞来的啊?
aiirii 2004-04-05
  • 打赏
  • 举报
回复
http://cvs.sourceforge.net/viewcvs.py/open-dbexpress/dbxoodbc/OdbcApi.pas?rev=1.7

就有你要的

10975037 2004-04-05
  • 打赏
  • 举报
回复
第二次回复的内空有点错误
Function SQLAllocEnv(phenv:integer):integer;external 'db2cli.dll' name 'SQLAllocEnv';
Function SQLAllocConnect(henv:integer; phdbc:integer):integer;external 'db2cli.dll' name 'SQLAllocConnect';
10975037 2004-04-05
  • 打赏
  • 举报
回复
Function SQLAllocEnv(phenv:integer):integer;external db2cli name 'SQLAllocEnv';
Function SQLAllocConnect(henv:integer; phdbc:integer):integer;external db2cli name 'SQLAllocConnect';


10975037 2004-04-05
  • 打赏
  • 举报
回复
Function SQLAllocEnv(phenv:integer):integer;stdcall; external 'db2cli.dll';
Function SQLAllocConnect(henv:integer; phdbc:integer) :integer;stdcall; external 'db2cli.dll';
wanwangzhiwang 2004-04-05
  • 打赏
  • 举报
回复
问题解决了,非常感谢aiirii(ari-爱的眼睛)

5,388

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 开发及应用
社区管理员
  • VCL组件开发及应用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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