How can I compile EZTWAIN classic EZTW1.ZIP ?

How can I compile EZTWAIN classic EZTW1.ZIP ?

Postby dutch » Mon Dec 05, 2005 7:22 pm

Dear all,

I would like to test EZTWAIN.DLL classic at www.dosadi.com/eztwain1.htm but it is in C++ file format. How can I compile it?

Best regards,
Dutch
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Postby mauricioajordao » Mon Dec 05, 2005 7:56 pm

dear , dutch

do you have Compiler *.c and ADD OBJ in BAT compiler for harbour..

OK

mauricio
mauricioajordao
 
Posts: 78
Joined: Fri Dec 02, 2005 6:55 pm
Location: brazil

Dosadi said this code is used with VC 1.5

Postby dutch » Mon Dec 05, 2005 8:06 pm

Dear Mauricio,

I've read doc. in EZTW1.ZIP. It said the source is used with VC 1.5 but I don't know how to compile it to be lib and dll?

Regards,
Dutch
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Postby mauricioajordao » Mon Dec 05, 2005 10:02 pm

Sawasdee , dutch

Dutch try this.

Copy file in \eztwain1\vc\debug\eztw32.lib to folder your habour LIB

Change Line in BAT compiler :

echo %hdir%\lib\lang.lib + >> b32.bc
echo %hdir%\lib\macro.lib + >> b32.bc
ADD here -> echo %hdir%\lib\eztw32.lib + >> b32.bc

copy File "eztw32.DLL" to folder your EXECUTABLE

TRY THIS OK

One ASK , Do you know PHUKET?

MAuricio (BRAZIL)
mauricioajordao
 
Posts: 78
Joined: Fri Dec 02, 2005 6:55 pm
Location: brazil

Yes, of course

Postby dutch » Tue Dec 06, 2005 3:02 am

Dear Mauricio,

Yes, I do. It's very nice place and the most beautiful sunset in Thailand. Why do you know a lot about Thailand? How surpise! Have you ever been in Thailand?

Regards,
Dutch
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Postby mauricioajordao » Tue Dec 06, 2005 8:20 am

Sawasdee , dutch

Phuket is wonderful place , i will be in FEB / 2006 (2 time)...

Do you teste as My Explanation ?


mauricio (BRAZIL)
mauricioajordao
 
Posts: 78
Joined: Fri Dec 02, 2005 6:55 pm
Location: brazil

What does you mean "Do you teste my explanation:?

Postby dutch » Tue Dec 06, 2005 9:20 pm

Dear Mauricio,

The Phuket is a biggest island in Thailand. There are a lot of small island nearby and very nice. You can have many activities such as snorkling, scuba, sunbathe and night live at Patong beach. If you need more information pls let me know.

Regards,
Dutch
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Postby mauricioajordao » Tue Dec 06, 2005 10:41 pm

Thanks Dutch ..

per informations about phuket ...

do you test SCAN lib with new informations ?


My contact via msn mauricioajordao@msn.com.br


mauricio (BRAZIL)
mauricioajordao
 
Posts: 78
Joined: Fri Dec 02, 2005 6:55 pm
Location: brazil

Cannot get EZTWAIN.DLL (Classic)

Postby dutch » Wed Dec 07, 2005 5:20 am

Dear Mauricio,

Exactly is I would like to have EZTWAIN.DLL (classic) to use with CL5.2e/FW2.5 but I can not get it because DOSADI do not provide EZTWAIN.DLL / EZTWAIN.LIB anymore but they provide file for re-build with MS VC. I don't know how to do it.

I try DMTWAIN.DLL and it work ok for BMP only but the scanning time is very slow and it do not crop image area as HP utility done. It made 3Mb for 1 picture but HP Utility does only 250kb (JPEG format) and very fast.

I am stuck now. I try to ask in Clipper/FW forum for who ever use EZTWAIN.DLL (classic) but no one answer me. I don't know how to fix this solution

Regards,
Dutch
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: Cannot get EZTWAIN.DLL (Classic)

Postby Enrico Maria Giordano » Wed Dec 07, 2005 7:46 am

Can't you just convert the BMP to a JPG using FreeImage.lib?

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

It works now

Postby dutch » Wed Dec 07, 2005 8:28 am

Dear EMG,

Thanks a again, I try DMTWAIN.DLL and got successful now. First I do not on the user interface screen and it save full page even small ID card but it save with smaller file when I set on user interface screen.

Thanks for your kindness help,
Dutch
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Postby Rochinha » Sat Jan 14, 2006 5:10 am

Friend Dutch

You can compact your .BMP images using nconvert.exe, easely found on google search.

nconvert.exe is a small .EXE called from command line or ShellExecute/WinExec fivewin functions.

ok?
Rochinha
 
Posts: 310
Joined: Sun Jan 08, 2006 10:09 pm
Location: Brasil - Sao Paulo


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 37 guests