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
 ImageEnViewToolbar & Delphi 2007
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

xequte

5965 Posts

Posted - Mar 28 2021 :  21:19:19  Show Profile  Reply
 

I installed ImageEn 9.3.1 in combination with CodeGear Delphi 2007 yesterday because I have a customer request for an extension of a system that is realized with this older Delphi version.

I designed a small demo DLL for the customer but I have a problem with the ImageEnViewToolbar. There is no reaction if I click one of the buttons. Is there any trick? There is no problem with Delphi 10.3.



Yes, that is a bug in the VCL. Please define SupportToolbarInDLLs in ie.inc and recompile.

{$define SupportToolbarInDLLs}

https://www.imageen.com/help/Installation.html


Nigel
Xequte Software
www.imageen.com

ioster

Germany
5 Posts

Posted - Apr 07 2021 :  09:50:58  Show Profile  Reply
How do I recompile the ImageEn packages in the correct order?

I have uninstalled the design-time package via "Component > Install Packages..." and I activated the definition in the ie.inc.

I compiled the PKIECTRL*.DPK and DPKIECTRL*.DPK projects but there is no change in the dll. I can't use the toolbars and the actions of the popupmenu are functionless, too.

The components are installed under c:\programdata\imageen, the path of the dpkiectrl11.bpl called C:\users\public\documents\rad studio\5.0\bpl and there is another path unter programdata called delphi2007.

Do I have to delete or copy any files?

Best regards
Ingo
Go to Top of Page

xequte

5965 Posts

Posted - Apr 07 2021 :  19:35:37  Show Profile  Reply
Hi Ingo

Before the end of April, we'll release 10.0. In that version you do not need to recompile the packages for DLL toolbar support.


procedure TMainForm.FormCreate(Sender: TObject);
begin
  // Support Toolbar usage In DLLs
  IEGlobalSettings().EnableDLLMode := IsLibrary;

  //  Reinitialize our buttons
  ImageEnViewToolbar1.InitializeButtons;
end;


It might be easier to wait for that release.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

ioster

Germany
5 Posts

Posted - Apr 08 2021 :  08:24:09  Show Profile  Reply
Hi Nigel,

it would be easier, but I have to deliver an extension dll with Delphi 2007 at the beginning of next week.

Best regards
Ingo
Go to Top of Page

xequte

5965 Posts

Posted - Apr 08 2021 :  17:02:58  Show Profile  Reply
Hi Ingo

To be certain with the paths:

1. Copy the ImageEn DPK files to the ImageEn source folder. Open the DPK compile and install them

2. Open the DLL project. Check your Library path Under Tools > Options , Language, Delphi, Library and ensure that the ImageEn source folder from step 1 is specified, and NOT any other ImageEn folders, e.g. DCU ones

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

ioster

Germany
5 Posts

Posted - Apr 13 2021 :  04:08:54  Show Profile  Reply
Hi,

I copied all source files and libraries into one folder. After that I deleted any other subfolder.

Now I successfully compiled and installed the packages with dll support.

Best regards
Ingo
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To: