[quote=332392:@Christian Schmitz]Maybe you miss a line:
t.TwainImageLayoutMBS = n
to pass it back.[/quote]
That was the missing line.
Thanks!
Apparently yes I assumed that n is a pointer to t.Imagelayout so when modifying n I would modify t.Imagelayout…
Thanks for the clarification.