首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >python dll 返回值错误?

python dll 返回值错误?

提问于 2019-11-26 11:58:27
回答 0关注 0查看 114

sBuf="ABCD" pstr=ctypes.c_char_p() pstr.value=sBuf.encode() aa=ctypes.c_ushort() print('pstr',type(pstr)) print('aa',type(aa)) #Init_Device(char *IDCode,unsigned short int *iRet); print(lib.Init_Device(pstr,byref(aa))) print(lib.Release_Device())

* daemon not running. starting it now on port 5037 * pstr aa 0 1 adb server is out of date. killing... * daemon started successfully * [Finished in 10.6s]

回答

和开发者交流更多问题细节吧,去 写回答
相关文章

相似问题

相关问答用户
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档