- This topic has 0 replies, 1 voice, and was last updated 16 years ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
The TWAIN Resource site is designed to help TWAIN users and prospective users find resources in the community for TWAIN-related products and services. Become a member.
Home › Forums › TWAIN Mac/OSX › Question of TWAINClientCocoa
I’ve downloaded TWAINClientCocoa sample.
I find that in file TWAcquire.c, TWSetDSCapability( ICAP_XFERMECH, TWSX_FILE2 ) gets invoked in TWTransferFile(), but before TWTransferFile() gets invoked, DataSource has already been enabled(TWEnableDS() in TWAcquireFile()).
Refer to TWAIN 1.9a Specification, page 18, “an application can set a capability only in State 4 unless special permission is negotiated between the application and Source.”
@_@
I’m wondering whether TWSetDSCapability( ICAP_XFERMECH, TWSX_FILE2 ) works in that line.