FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Using Twain hiding UI
Posts: 408
Joined: Sun Nov 06, 2005 03:55 PM
Using Twain hiding UI
Posted: Tue Jul 17, 2012 04:56 PM

I use the following with the free DLL EzTw32.Dll:

     nTwain     := Twain_IsAvailable()
     If nTwain <> 1
        TWAIN_RegisterApp( 1,0,0,0,"1.0 Beta","by Byron Hopp","ScanArDoc","WinCheck by MCS CopyRight(c) 2012" )
    TWAIN_SetHideUI(1)
    Twain_AcquireToFilename(0,cFileName)
     Endif

Hiding the UI does not seem to work. The native scanner interface still shows up. This did not occur with the paid for test version of EZ Twain.
Anybody had luck with this on the free version?

Byron...

Thanks,

Byron Hopp

Matrix Computer Services
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Using Twain hiding UI
Posted: Tue Jul 17, 2012 06:50 PM

Byron,

TWAIN_SetHideUI(1) is expecting a number or a logical value ?

What is its prototype ?

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion