由于对python不太熟悉,需用python调用dll;
现有dll接口函数:business_handle(char in, char * out)
下面代码cmd正常运行,打包后报:Access violation reading location 0x00000000
outputData=ctypes.create_string_buffer('/0'*100)
business_handle = self._libc.BUSINESS_HANDLE
business_handle.argtypes=[ctypes.c_char_p,ctypes.c_char_p]
business_handle.restype=ctypes.c_int
business_handle(inputData,outputData)
有哪位大神帮忙写个能正常调用的例子!