I hope someone can answer this one: I'm using EzTwain.dll version 3 to scan images of ID cards. These ids are no larger than 3 by 2. I'd like to use the EzTwain auto-cropping features found on DIB_AutoCrop() of the .dll to get rid of all the wasted spaced and just keep the image. I wrote a short wrapper for the function call to exchange parameters:
- Code: Select all Expand view
- HB_FUNC( TW_DIBAUTOCROP ) // hDib
{
hb_parni( DIB_AutoCrop( ( HANDLE ) hb_parnl(1) ), 0 ) ;
}/**/
But when linking I get an unresolved external:
Unresolved external '_DIB_AutoCrop' referenced from tscan.obj
I already imported the .dll into a .lib and I'm linking it. No other .dll function being used is reported as unresolved. I looked into the .lib and I see the function declared and furthermore it is documented on the programmer's manual.
Any ideas?
Reinaldo.