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
 error if not checked "Build with runtime packages"
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Xavi

Spain
10 Posts

Posted - Dec 10 2019 :  08:10:36  Show Profile  Reply
Hello

Initially I tried to install IE 8.6.0 on my old CBuilder5 but for some unknown reason Cbuilder crashes and closes.

Then I installed on RADStudio2009 but I need to migrate aplications manually.

Finally I migrated my first app from IE 3.1.2 to 8.6.0
It works if "Build with runtime packages" is checked but I get next error when I uncheck this option:

[ILINK32 Error] Error: Unresolved external 'SHGetImageList' referenced from C:\PROGRAMDATA\IMAGEEN\DELPHI2009\PKIECTRL12.LIB|iexShellThumbnails

I tried to find SHGetImageList and iexShellThumbnails on my code and not found anywhere.

I thanks any tip how to solve this error to make my app the most independent.

Regards

Xavi

xequte

38180 Posts

Posted - Dec 11 2019 :  04:06:09  Show Profile  Reply
Hi Xavi

iexShellThumbnails.pas is one of ImageEn's units. SHGetImageList is defined in that unit in Delphi/BCB 2007 or newer.

You can disable the inclusion of iexShellThumbnails.pas by undefining IEEnableShellThumbnails in ie.inc

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

Xavi

Spain
10 Posts

Posted - Dec 11 2019 :  06:14:33  Show Profile  Reply
Hi Nigel

Thanks for your answer.

I searched for ie.inc and was not found.
Also I take a look at C:\ProgramData\ImageEn (install directory of ImageEn).
Can I create ie.inc manually and where?
Can I undefine IEEnableShellThumbnails at options of project?


Thanks,

Xavi
Go to Top of Page

xequte

38180 Posts

Posted - Dec 11 2019 :  12:34:51  Show Profile  Reply
Hi Xavi

Did you purchase the source code version of ImageEn? If so, ie.inc will be in the \Source\ folder where ImageEn was installed. Try doing a file search for it.

IEEnableShellThumbnails can only be undefined in ie.inc

See information about compiling your packages at:

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



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

Xavi

Spain
10 Posts

Posted - Dec 12 2019 :  03:11:06  Show Profile  Reply
I don't purchase source version.
C++ project I'm trying to compile have only a TImageEnView.
What can I do forgive error "Unresolved external 'SHGetImageList'"?
May be including any other ImageEn object even it not used in project?

Regards,

Xavi
Go to Top of Page

Xavi

Spain
10 Posts

Posted - Dec 17 2019 :  04:38:04  Show Profile  Reply
Hi Nigel

Please I don't get any tip since past december, 12.
What can I do to compile with "Build with runtime packages" unchecked.
I don't want to send with my dll the runtime dll's from Embarcadero and yours.

Thanks. Regards,

Xavi
Go to Top of Page

xequte

38180 Posts

Posted - Dec 18 2019 :  14:43:42  Show Profile  Reply
Hi Xavi

Sorry, I've been waiting for advice from our BCB developer. Can you email me for the source version.

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

Xavi

Spain
10 Posts

Posted - Dec 19 2019 :  03:04:15  Show Profile  Reply
Thanks Nigel
Go to Top of Page

Alen

Taiwan
2 Posts

Posted - Jan 26 2022 :  02:50:34  Show Profile  Reply
Hello

I had the same problem, how can I fix it ?

Regards

Alen

Alen
Go to Top of Page

xequte

38180 Posts

Posted - Jan 27 2022 :  00:06:16  Show Profile  Reply
Hi Alen

Have you tried undefining IEEnableShellThumbnails in ie.inc and recreating your packages?

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

Alen

Taiwan
2 Posts

Posted - Jan 27 2022 :  00:12:18  Show Profile  Reply
Hi Nigel

After undefining IEEnableShellThumbnails
I got error
[DCC Error] iexWindowsFunctions.pas(2440): E2003 Undeclared identifier: 'WindowsGetExplorerThumbnail'
[DCC Fatal Error] IEMView.pas(5605): F2063 Could not compile used unit 'iexWindowsFunctions'

Regards

Alen
Go to Top of Page

xequte

38180 Posts

Posted - Jan 27 2022 :  00:25:00  Show Profile  Reply
Hi Alen

You also need to undefine IESupportDragPreview in BCB 2009.


Other alternatives you could try rather than undefining IEEnableShellThumbnails :
- Unchecking the linker option "Dynamic RTL", in the project options
- Adding BCB's shell32.lib to your project: https://stackoverflow.com/questions/31180925/unresolved-external-shcreateitemfromparsingname-referenced-vcl-lib-dialogs-on



Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: