Y
yaojiaqing
Unregistered / Unconfirmed
GUEST, unregistred user!
这是vb的声明:
Declare Sub MQPUTAny Lib "MQM.DLL" Alias "MQPUTstd@32" (ByVal Hconn As Long, ByVal Hobj As Long, MsgDesc As MQMD, PutMsgOpts As MQPMO, ByVal BufferLength As Long, Buffer As Any, CompCode As Long, Reason As Long)
请大家注意这几个字:Buffer As Any, 我靠 any ,也就是说什么都行。
我把它转成delphi, 类似这样: buffer pointer,或者 buffer variant , 可是都无法得到正确的结果。
到底应该怎么在delphi中把这个东西说清楚呢?
Declare Sub MQPUTAny Lib "MQM.DLL" Alias "MQPUTstd@32" (ByVal Hconn As Long, ByVal Hobj As Long, MsgDesc As MQMD, PutMsgOpts As MQPMO, ByVal BufferLength As Long, Buffer As Any, CompCode As Long, Reason As Long)
请大家注意这几个字:Buffer As Any, 我靠 any ,也就是说什么都行。
我把它转成delphi, 类似这样: buffer pointer,或者 buffer variant , 可是都无法得到正确的结果。
到底应该怎么在delphi中把这个东西说清楚呢?