Loading and saving configuration with Delphi

Discussions about TWAIN scanning in GdPicture.NET using GdPictureImaging.
Post Reply
Posts: 4
Joined: Wed Feb 07, 2018 5:25 pm

Loading and saving configuration with Delphi

Post by mpaul79 » Tue Mar 27, 2018 3:29 pm


I was not able to get the functions "TwainLoadConfiguration(Byte[])" and "TwainSaveConfiguration(Byte[])" with Delphi to work.
Could you please provide me some Delphi example code how to call the function with the needed PSafeArray parameter?
I did not found any sources on the internet that helped me handling with this kind of data type.
Unfortunatelly I can't use the file based version of this function because of compatibility reasons.
I guess this functions are using the (DG_CONTROL / DAT_CUSTOMDSDATA / MSG_GET) triplet internally, am I right?



Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests