|
Hi,
We have check with the default scanner TWAIN_32 SAMPLE SOURCE 1.603(31-32) it shows the required capability supported through http://www.twain.org/devfiles/twack.zip but when we run it from the code it shows error SetCapability2 for frame size failed : 20568.
Is we have to downloads some patches from the leadtools ? We are using trial version 14.5 and for evaluating the functionality we must required the solution for it .So that we can go for registration of leadtools.
Code we are using :-
twFrm.TopMargin = 0 twFrm.LeftMargin = 0 twFrm.RightMargin = gCurDoc.Width twFrm.BottomMargin = gCurDoc.Height RasterTwain.ImageFrame = twFrm RasterTwain.ImageResolution.Unit = L_TWUN_INCHES TwainCap.EnableMethodErrors = False TwainCap.CapInfo.Capability = L_ICAP_FRAMES TwainCap.CapInfo.ConType = L_TWON_ONEVALUE TwainCap.CapOneValue.OneValItemType = L_TWTY_FRAME CapVal.Type = VALUE_DISPATCH CapVal.DispatchValue = twFrm TwainCap.CapOneValue.OneValCapValue = CapVal
nRet = RasterTwain.SetCapability2(TwainCap, L_LTWAIN_CAPABILITY_SET) If nRet = 20084 Then Else If nRet <> 0 Then MsgBox "SetCapablity2 for frame size failed. nRet = " & CStr(nRet), vbOKOnly End If End If
Please provide the path so the we can downloads some patches for the evaluation.
Thanks
Amit
|