I\'ve looked through other answers but can\'t seem to get this to work. I\'m trying to call a function within a DLL for communicating with SMBus devices. This function takes
Try changing
("Data", type(create_string_buffer(SMB_MAX_DATA_SIZE))
to
("Data", (c_char * SMB_MAX_DATA_SIZE)]