Loading...

TwainGetSourceName: Returned source name

Support for GdTwain ActiveX and GdTwain Pro ActiveX/SDK.

TwainGetSourceName: Returned source name

Postby ctn » Mon Mar 09, 2009 4:38 pm

Hi

Could you please tell which source name will be retrned from this function?

My intension is to check whether is usb scanner is connected to PC or not based on the Source name which will be returned from TwainGetSourceName function. But as I can see the name of the scanning source in Windows "Device Manager" is different from the source name which has been returned from this function TwainGetSourceName.
Eg.

Scanning source name:
Windows "Device Manager": fi-5120Cdj #3
GdTwain --> TwainGetSourceName: FUJITSU fi-5120Cdj #3

or

Source name:
Windows "Device Manager": USB Video Device #2
GdTwain --> TwainGetSourceName: WIA-USB Video Device

Do GdTwain add/remove any prefix or suffix of the source name?
Thank you
Br, ctn
ctn
 
Posts: 57
Joined: Thu Dec 04, 2008 6:20 pm

Re: TwainGetSourceName: Returned source name

Postby ctn » Tue Mar 10, 2009 10:56 am

Could you please give am a feedback about this?

Thanks
Br, ctn
ctn
 
Posts: 57
Joined: Thu Dec 04, 2008 6:20 pm

Re: TwainGetSourceName: Returned source name

Postby Loïc » Tue Mar 10, 2009 1:15 pm

Hi,

Do GdTwain add/remove any prefix or suffix of the source name?


GdTwain returns the name of the source given by it's TWAIN driver. Microsoft's products doesn't use TWAIN but WIA.

Best regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4441
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: TwainGetSourceName: Returned source name

Postby ctn » Mon Mar 16, 2009 10:06 am

Ok, thanks.
Br, ctn
ctn
 
Posts: 57
Joined: Thu Dec 04, 2008 6:20 pm


Return to GdTwain [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 2 guests

cron