ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 IEVision getting started in BCB6
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

mbbaker

USA
9 Posts

Posted - Nov 05 2015 :  15:12:56  Show Profile  Reply
I am using an older BCB 6 and have been using ImageEN for a long time. I recently purchased and installed IEVision to add additional functionality for my clients. I have added the code...

if (!IEVisionAvailable())
{
ShowMessage("This application requires the ievision.dll plugin.");
Application->Terminate();
}

Which compiles fine. However, when I add the code below, I cannot get a clean compile.

_di_TIEVisionBarCodeScanner barCodeScanner;
IEVisionLib()->createBarCodeScanner(false, barCodeScanner);

I cannot find where these are being defined anywhere. I am getting Undefined symbol and Undefined function. Apparently, I don't have IEVision fully installed.

Any help to get started in BCB6 would be greatly appreciated.

Thanks.

Mike Baker

xequte

39104 Posts

Posted - Nov 06 2015 :  02:43:12  Show Profile  Reply
Hi Mike

Is the ievision unit listed in your uses clauses?

Failing that, you might try adding the ImageEn source folder to your library path.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

mbbaker

USA
9 Posts

Posted - Nov 06 2015 :  08:21:32  Show Profile  Reply
IEVision is not listed in the uses clause. Looking in the ImageEn folder, I do not appear to have an IEVision unit, though I do have an IEVision folder with the dll and demos.

I do have an IEVision.hpp under the BCB6 folder which is listed in both the includes path and the library path. I also have an IEVision.dcu which lists only the IELibAvailable and IEVisionAvailable functions.
This is the top of my test program...

#pragma hdrstop

#include "PrgTestBarcode.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma link "ievect"
#pragma link "ieview"
#pragma link "imageenview"
#pragma resource "*.dfm"
TFrmTestBarcode *FrmTestBarcode;

//---------------------------------------------------------------------------
__fastcall TFrmTestBarcode::TFrmTestBarcode(TComponent* Owner)
: TForm(Owner)
{
}

These are the includes in my header file...

//---------------------------------------------------------------------------
#include <stdio.h>
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "ievect.hpp"
#include "ieview.hpp"
#include "imageenview.hpp"
#include "IEVision.hpp"
#include <ComCtrls.hpp>
#include <ImgList.hpp>
#include <ToolWin.hpp>
#include <OleServer.hpp>
#include <assert.h>
#include <Dialogs.hpp>


Thanks,
Mike


Mike Baker
Go to Top of Page

xequte

39104 Posts

Posted - Nov 08 2015 :  16:34:43  Show Profile  Reply
Hi Mike

Did you purchase the compiled only version? Otherwise you should have an ImageEn source folder. You should recompile the packages from source.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

mbbaker

USA
9 Posts

Posted - Nov 10 2015 :  08:28:36  Show Profile  Reply
I paid for IEVision and received a link for a registered_setup.exe and links to language files for the OCR. I do have the BCB 6 sources for ImageEn which I used to install the packages in BCB 6.

Thanks,

Mike Baker
Go to Top of Page

xequte

39104 Posts

Posted - Nov 10 2015 :  16:58:18  Show Profile  Reply
Hi Mike

Older versions of Delphi (v5) and BCB (5) do not support IEVision (All of the code is compiled out by ie.inc), but v6 should.

Are you using the latest version of ImageEn?

Did you try recompiling the packages?


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

mbbaker

USA
9 Posts

Posted - Nov 11 2015 :  14:00:06  Show Profile  Reply
Went into BCB 6 and removed PKIE components. Scanned computer for pkie*.* and removed all that I could find except for where I installed ImageEn. Verified that the source for ImageEn was from the latest version. Recompiled and still have same results.

Question, when I scan folder ImageEn *.h and *.hpp files for _di_TIEVisionBarCodeScanner, shouldn't I see an entry for this?

Mike Baker
Go to Top of Page

xequte

39104 Posts

Posted - Nov 11 2015 :  14:14:13  Show Profile  Reply
Sorry Mike,

I've steered you wrong. Delphi v6 supports IEVision, but BCB v6 does not (it is undefined by ie.inc due to incompatible data structures).

Please email us for a refund.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

mbbaker

USA
9 Posts

Posted - Nov 11 2015 :  14:42:08  Show Profile  Reply
Will do. :>(

Mike Baker
Go to Top of Page

mbbaker

USA
9 Posts

Posted - Nov 11 2015 :  14:54:43  Show Profile  Reply
Do you support Emarcadero C++ Builder 10? Might be time to bite the bullet and upgrade my compiler.

Mike Baker
Go to Top of Page

xequte

39104 Posts

Posted - Nov 11 2015 :  19:29:00  Show Profile  Reply
Hi Mike

Yes, all versions after BCB7 are fully supported.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

mbbaker

USA
9 Posts

Posted - Nov 12 2015 :  14:19:31  Show Profile  Reply
I downloaded C++ 10 Seattle (trial), reinstalled the ImageEn and IEVision making sure Seattle was checked. The components for ImageEn were installed and I can bring up the IEVision C++ project. However, there appear to be no *.hpp files for ImageEn installed to support C++. Is there a separate download for the C++ sources?

Mike Baker
Go to Top of Page

xequte

39104 Posts

Posted - Nov 13 2015 :  00:02:26  Show Profile  Reply
Hi Mike

All the .hpp files should be in the folder:

C:\Program Files (x86)\ImageEn\Delphi10Seattle\

(or wherever you have installed ImageEn).

I just checked the download. All files are included.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

mbbaker

USA
9 Posts

Posted - Nov 13 2015 :  08:30:38  Show Profile  Reply
Sorry, looked in the source folder. That seemed to do the trick.

Mike Baker
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: