How Can I scan a graphics from scanner using fwh app(SOLVED)

Postby dutch » Mon Oct 27, 2008 1: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
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Postby Horizon » Mon Oct 27, 2008 2: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.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Postby dutch » Mon Oct 27, 2008 3:26 pm

Dear Horizon,

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

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

Postby Horizon » Mon Oct 27, 2008 3: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.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Postby James Bott » Mon Oct 27, 2008 9:55 pm

Hakan,

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

Regards,
James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby dutch » Tue Oct 28, 2008 3:24 am

Dear Hakan,

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

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

Postby Horizon » Tue Oct 28, 2008 9: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.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Postby Horizon » 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.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Postby dutch » Wed Oct 29, 2008 5: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
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Postby Horizon » Wed Oct 29, 2008 7: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.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Postby Horizon » Wed Oct 29, 2008 8: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.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Postby James Bott » Wed Oct 29, 2008 5:12 pm

Hakan,

Glad to hear you got it working!

Regards,
James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby dutch » Wed Oct 29, 2008 5:28 pm

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

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 48 guests