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
 How to recompile the changed ImageEn library?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

PeterPanino

933 Posts

Posted - Mar 24 2014 :  08:31:13  Show Profile  Reply
Hi! I changed some code in imageenproc.pas by adding a parameter to a method.

However, when trying to use this changed method with the added parameter in my program, the compiler complained because it used the imageenproc.DCU file instead of imageenproc.pas.

So I tried to recompile the ImageEn package (DPKIECTRL18.dpk for Delphi XE4). However the compiler complained with the following error message:

[dcc32 Fatal Error] DPKIECTRL18.dpk(42): F1026 File not found: 'IERegCtrl.dcu'

A search with Everything showed that IERegCtrl.dcu does not exist on my system.

So how can I recompile the ImageEn library, so I can use the changed code in my program?

w2m

USA
1990 Posts

Posted - Mar 24 2014 :  08:47:15  Show Profile  Reply
Compile PKIECTRL*.DPK and PKIEDB*.DPK first, then install DPKIECTRL*.BPL and DPKIEDB*.BPL... but read and follow the official instructions carefully. Generally if you still have problems compiling the dpk's then it usually it means you have duplicate dcu's, bpl's or dcp's somewhere on your hard drive.

Installation

Generally you should use the ImageEn installer to handle the compilation and installation of the ImageEn packages. However you can also do it manually as follows...

Note: Before installing ImageEn, remove old versions of it (remove all pkie*.bpl files):
1. In Delphi select Tools -> Options, Library tab.
2. Go through the list of Library paths and check for any that contain ImageEn packages (pkie*.bpl files)
3. Delete any ImageEn packages that you find


COMPILING THE IMAGEEN PACKAGES:
For each version of Delphi/C++ Builder you should have four BPL packages named DPKIECTRL*.BPL, DPKIEDB*.BPL, PKIECTRL*.BPL and PKIEDB*.BPL where * indicates the version, e.g. DPKIECTRL16.BPL for Delphi XE2.

If these were not installed then you can manually compile them as follows:

1. Select Tools -> Options, Library and ensure the ImageEn source files folder is listed in your "Library path"

2. Open and compile PKIECTRL*.DPK, PKIEDB*.DPK, DPKIECTRL*.DPK and DPKIEDB*.DPK (where * is the version number for your Delphi/C++ builder product)


MANUALLY INSTALLING THE IMAGEEN PACKAGES:
If you did not install the ImageEn packages into Delphi/C++ Builder using the installer then you can do it manually as follows:

1. Copy PKIECTRL*.BPL and PKIEDB*.BPL to your Windows "System" folder or Delphi "Bin" folder (where * is the version number for your Delphi/C++ builder product)

Note: The "System" folder is generally "C:\Windows\System32" on a 32bit system or "C:\Windows\SysWOW64\" on a 64bit one. The Delphi “Bin” folder will be similar to: "C:\Program Files\Embarcadero\Rad Studio\7.0\Bin"

2. Select Component -> Install packages, and press Add button. Then select DPKIECTRL*.BPL and DPKIEDB*.BPL (the latter is for database components).

3. Select Tools -> Options, Library and ensure that the ImageEn source folder is in your "Library path".

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Custom ImageEn Development
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: