ch werde testen und melden
Hier mal ein Muster zum Befüllen der ersten Struct, wobei ich mir nicht genau sicher bin, wofür fsize und width stehen.
AutoIt
; TEST-Struct
Global $sText = "Das ist ein Test!"
Global $tText = DllStructCreate('char text[' & StringLen($sText) & ']')
$tText.text = $sText
Global $tZINT_RENDER_STRING = DllStructCreate($tagZINT_RENDER_STRING)
$tZINT_RENDER_STRING.x = 100
$tZINT_RENDER_STRING.y = 50
$tZINT_RENDER_STRING.fsize = 200
$tZINT_RENDER_STRING.length = StringLen($sText)
$tZINT_RENDER_STRING.text = DllStructGetPtr($tText)