Anybody have any recommendations for accessing a scanner via TWAIN with FiveWin?
Byron Hopp
Matrix Computer Services
Anybody have any recommendations for accessing a scanner via TWAIN with FiveWin?
I'm using eztw32.dll.
EMG
Thank you, any examples in FiveWin?
  IF TWAIN_ISAVAILABLE() = 0
    ? "Twain not available"
    RETURN NIL
  ENDIF
  IF TWAIN_ACQUIRETOFILENAME( 0, cBmp ) != 0
    ? "Error while scanning"
    RETURN NIL
  ENDIF
  IF !SAVEIMG( cBmp, cJpg, 2, 80 )
    ? "Error while converting to BMP"
    RETURN NIL
  ENDIF
DLL STATIC FUNCTION TWAIN_ACQUIRETOFILENAME( hWnd AS LONG, cFile AS LPSTR ) AS LONG;
  PASCAL FROM "TWAIN_AcquireToFilename" LIB "eztw32.dll"
DLL STATIC FUNCTION TWAIN_ISAVAILABLE() AS LONG;
  PASCAL FROM "TWAIN_IsAvailable" LIB "eztw32.dll"Search TScan32 by Rafa Carmona
Is there a lib that works with xHarbour?
i´m using with
Fwh 1101
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6717)
works fine
Rapidshare:
The following download is not available:
Byron, did you try my sample?
EMG
Yes I made a quick attempt, but I could not get it to link.
Where do I find SaveImg(), is this Harbour, Fivewin, or from the DLL.
If it is from the DLL do I need to create a declare statement for it as well.
My xHarbour is kind of old: (like me)
xHarbour Compiler build 0.99.61 (SimpLex)
My FiveWin:
7.01
Tscan32
get funcional example
byron.hopp wrote:Yes I made a quick attempt, but I could not get it to link.
Where do I find SaveImg(), is this Harbour, Fivewin, or from the DLL.
If it is from the DLL do I need to create a declare statement for it as well.
My xHarbour is kind of old: (like me)
xHarbour Compiler build 0.99.61 (SimpLex)
My FiveWin:
7.01
Works without SaveImg().
Is there more functionality of the EzTw32.dll.
Like x and y resolution and so one.
do you possibility have a prg with all of the "DLL Static Function" declare statements?
It seems there should be a way to hide the UI of the twain provider, and set the resolution.
No matter what, it works, thanks...