摘要:
# The most useful windows datatypes import ctypes BYTE = ctypes.c_byte WORD = ctypes.c_ushort DWORD = ctypes.c_ulong #UCHAR = ctypes.c_uchar CHAR = ctypes.c_char WCHAR = ctypes.c_wchar UINT = ctype... 阅读全文
摘要:
#coding=utf-8 from ctypes import *; from platform import *; cdll_names = { 'Linux' :'libc.so.6', 'Windows':'msvcrt.dll' } system_name = system() #libc = cdll.LoadLibrary( cdll_names[sy... 阅读全文