Loading and saving configuration with Delphi

Discussions about TWAIN & WIA scanning in GdPicture.NET using GdPictureImaging.
Post Reply
mpaul79
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

Hello

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?

Regards

Marco

Gabriela
Posts: 418
Joined: Wed Nov 22, 2017 9:52 am

Re: Loading and saving configuration with Delphi

Post by Gabriela » Thu Jan 17, 2019 4:34 pm

Hello,

Maybe you can find this useful: http://blog.virtec.org/2008/07/the-myst ... safearray/
Kind regards,

Gabriela
GdPicture Team

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest