Problem with calling function from dll

deepblu at poczta.fm deepblu at poczta.fm
Thu Dec 13 11:30:58 CET 2012


sb = ctypes.create_string_buffer(20)
i = ctypes.byref(ctypes.c_int(20))
w = b.GetComputerNameA(sb,i)

w -> 1
sb.value -> nazwa komputera

:-)



More information about the Python-list mailing list