哪位老大帮忙转换一下VB程序,我转的好像有点问题!
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';