FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How Can I scan a graphics from scanner using fwh app(SOLVED)
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
How Can I scan a graphics from scanner using fwh app(SOLVED)
Posted: Mon Oct 27, 2008 01:05 PM

Dear Horizon,

I just test and this code work fines. Pls try to download and test it.

TSCAN.ZIP -> TSCAN3.EXE, TSCAN3.PRG

http://rapidshare.com/files/158011063/TSCAN.ZIP.html

I've use FWH 8.04 and xHarbour.com 11/07

Regards,
Dutch

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
How Can I scan a graphics from scanner using fwh app(SOLVED)
Posted: Mon Oct 27, 2008 02:08 PM

Hi dutch,

Your exe works very well. Thank you very much.

I have FWH 8.10 and xHarbour Builder ver. september 2008.

I have compiled with Xbuild TScan3.prg. There is not any compiler error but There are GPFs error. (I think)

Patrick: Can you build the tscan3.prg. Is it related xBuild.exe? or Should I give same necessary options.

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
How Can I scan a graphics from scanner using fwh app(SOLVED)
Posted: Mon Oct 27, 2008 03:26 PM

Dear Horizon,

I test with xHarbour from Fivetech. It works for both (xHarbour.com and xHarbour from Fivetech).

Dutch

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
How Can I scan a graphics from scanner using fwh app(SOLVED)
Posted: Mon Oct 27, 2008 03:44 PM

Hi dutch,

I have tried to FWH 8.03. It works. I think Something has been changed related with your tscan3.prg in FWH.

Antonio, Can you help me?

Thanks,

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
How Can I scan a graphics from scanner using fwh app(SOLVED)
Posted: Mon Oct 27, 2008 09:55 PM

Hakan,

I expect that EZTW32.DLL needs to be in the windows\system directory.

Regards,
James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
How Can I scan a graphics from scanner using fwh app(SOLVED)
Posted: Tue Oct 28, 2008 03:24 AM

Dear Hakan,

I agree with James, both DLL should be in windows\system32.

Regards,
Dutch

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
How Can I scan a graphics from scanner using fwh app(SOLVED)
Posted: Tue Oct 28, 2008 09:01 AM

Hi James, dutch,

I have copied the DLL files to WINDOWS\SYSTEM32.

It is still give a GPF error when starting TSCAN3.EXE.

DLL using could be change from 8.04 to 8.10 in FWH.

James: What version FWH do you have. If it is 8.09 or 8.10, Does TSCAN3.EXE work correctly? (correctly means FWH windows appears, it does not matter you have not a scanner)

Thanks,

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
How Can I scan a graphics from scanner using fwh app(SOLVED)
Posted: Tue Oct 28, 2008 11:35 PM

Antonio,

Can you check it (dutch's TSCAN3.PRG) if it is possible?

Thanks,

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
How Can I scan a graphics from scanner using fwh app(SOLVED)
Posted: Wed Oct 29, 2008 05:20 AM

Dear Hakan,

I think DLL file doesn't need to change belong to FWH version. Because I use with any version till 8.04. It works fine.

Can you use TSCAN3.EXE (my sample)?

Regards,
Dutch

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
How Can I scan a graphics from scanner using fwh app(SOLVED)
Posted: Wed Oct 29, 2008 07:07 AM

Hi dutch,

Your exe and dll files works ok.

But when I compile TSCAN3.PRG with FWH 8.09, FWH 8.10 and XHarbour builder, it compiles without any error. But, when I try to run my exe it generates Genenal Protection Fault and my exe does not work.

I have tried with FWH 8.03 version. It runs OK.

The one thing is changed:FWH version.

I could not think any more?

If Anyone who have FWH 8.10: Can you compile and test TSCAN3.PRG?

Thanks,

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
How Can I scan a graphics from scanner using fwh app(SOLVED)
Posted: Wed Oct 29, 2008 08:35 AM

Hi,

I have solved the problem. GetProcAddress() function names has changed to GetProcAdd() in FWH 8.09.

Thanks dutch, James.

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
How Can I scan a graphics from scanner using fwh app(SOLVED)
Posted: Wed Oct 29, 2008 05:12 PM

Hakan,

Glad to hear you got it working!

Regards,
James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
How Can I scan a graphics from scanner using fwh app(SOLVED)
Posted: Wed Oct 29, 2008 05:28 PM

my pleasure,
Dutch

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)

Continue the discussion