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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Compiler Error after Migration 8.7.6 to 13.7.0 and C++ Builder Tokyo to Athens

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Flo1989 Posted - Mar 04 2025 : 08:25:09
Hi,

we currently migrated our project from ImageEn 8.7.6 to 13.7.0 and C++ Builder from Tokyo 10.2 to Athens 12.2

I updated the path to ImageEn in Project options.

I get this compiler error:
[bcc32 Fehler] Iexwindowsfunctions.hpp(250): E2040 Deklaration nicht ordnungsgemäß abgeschlossen

I can not figure out why this happens. Because its in the ImageEn source. Does anyone know how i can fix this?

Thank you very much,
Florian
5   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Apr 02 2025 : 19:44:52
Thanks for letting us know, Florian,

What is the source of dbt.h?

Nigel
Xequte Software
www.imageen.com
Flo1989 Posted - Apr 02 2025 : 04:36:23
Hi Nigel,

sry for the late response, but i was working on another project the last weeks.

So, replacing the iexWindowsFUnctions.hpp works.
I get redefinition warnings W8017 with DBT_* definitions:
- DBT_DEVTYP_OEM
- DBT_DEVTYP_DEVNODE
- DBT_DEVTYP_VOLUME
- DBT_DEVTYP_PORT
- DBT_DEVTYP_NET

included from dbt.h

Regards,
Florian
xequte Posted - Mar 10 2025 : 20:32:43
Hi Florian

Do you have any third party units that define consts like DBT_DEVICEARRIVAL or DEVICEQUERYREMOVE?

Does replacing the iexWindowsFUnctions.hpp with the following make any difference?

attach/xequte/2025310203236_iexWindowsFunctions.zip
4.36 KB

Nigel
Xequte Software
www.imageen.com
Flo1989 Posted - Mar 06 2025 : 08:02:23
Hi,

here a more detailed output.
[bcc32 Fehler] Iexwindowsfunctions.hpp(249): E2040 Deklaration nicht ordnungsgemäß abgeschlossen
Vollständiger Parser-Kontext
MDT.cpp(10): #include MDT.h
MDT.h(72): #include MDT_Forms\Graphic_Element_Form\Message_ParameterWindow.h
Message_ParameterWindow.h(77): #include MDT_Controls\MDT_CustomImageControl.h
MDT_CustomImageControl.h(31): #include C:\ProgramData\ImageEn13_7\Delphi12Athens\imageenview.hpp
imageenview.hpp(42): #include C:\ProgramData\ImageEn13_7\Delphi12Athens\Iexwindowsfunctions.hpp
Iexwindowsfunctions.hpp(35): namespace Iexwindowsfunctions

I also tried to delete all ImageEnViews, headers and #pragma links for ImageEn. With that i can compile successfully. But if i add an ImageEn afterwards the Error will pop up again.

When i create a new Project and add ImageEnView it will compile successfully!

Regards,
Florian
xequte Posted - Mar 05 2025 : 22:10:48
Hi Florian

Sorry, I've not see this error before. We will need to investigate.


Nigel
Xequte Software
www.imageen.com