Hi All , We want to access the functions from a c++ dll. This dll is not a COM dll. With this dll function (ISO14229_DiagnosticSessionControl_10) we are able to communicate to the dll but the return for the 4th argument array is always getting as 0. Any solution for this...? iRecLen = c_int() byRecBuf = [c_ubyte()]*10
iReply = LoadDll_ProtocolAccess32.ISO14229_DiagnosticSessionControl_10(iChannelHandle , 0x01, byref(iRecLen), byref(byRecBuf[0])) print iReply if iReply == 0: print "Session Control Successful" print byRecBuf[0].value,byRecBuf[1].value,byRecBuf[2].value,byRecBuf[3].value,byRe cBuf[4].value else: print "Negative Response for session control" Regards Bejoy The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it. Contact your Administrator for further information.
_______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers