[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 1[2]345678910 ]

[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 21:53:38 12/11/03 Thu
Author: Michel
Subject: Re: Envision 1.10 and BCB6.0
In reply to: Michael Delessio 's message, "Envision 1.10 and BCB6.0" on 14:16:23 12/11/03 Thu

Hi Michael,

Below is some sample CBuilder code which shows how to use the Acquire method.

Best regards,


void __fastcall TMainForm::FormCreate(TObject *Sender)
FScanner = new TScanner();
void __fastcall TMainForm::FormDestroy(TObject *Sender)
delete FScanner;
void __fastcall TMainForm::ScanBtnClick(TObject *Sender)
FScanner->Acquire( ImageAcquired, 0 );
void __fastcall TMainForm::ImageAcquired(
const unsigned DibHandle,
const Word XDpi,
const Word YDpi,
const int CallBackData)

>I installed Envision 1.10 that came on the BCB6.0
>Companion disk. I'm trying to translate the demo's
>code to C++ so I can try to do a small test app to
>scaning a document. I want to see if I can understand
>how to code with the library but I'm having a little
>trouble. I have added the hpp file and did the
>#include EnScan.hpp for the scanner.
>TScanner *FScanner = new TScanner;
>now to do a scan basicly you do:
>FScanner->Acquire(?,?) not sure what to use in place
>of the ?. The demo uses OnAcquire and
>Do I need to code the OnAcquire for each new program
>or is it a procedure in one of libraries.
>Michael Delessio

[ Next Thread | Previous Thread | Next Message | Previous Message ]

[ Contact Forum Admin ]

Forum timezone: GMT-5
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.