Bug Report T703583
Visible to All Users

32-bit Clang-enhanced C++ compilers cannot compile the Rich Edit control's units in RAD Studio 10.3 Rio

created 6 years ago

When I drop a TdxRichEditControl into an otherwise-empty C++ window, the resulting Unit will not compile.  Rather, this error is repeated 210 times:
[bcc32c Error] systobj.h(85): cannot call operator __uuidof on a type with no GUID
  dxRichEdit.Import.Core.hpp(388): in instantiation of function template specialization 'System::TObject::GetInterface<Dxrichedit::Import::Core::IdxImporter__2<Dxrichedit::Utils::Officeimage::TdxOfficeImageFormat, Dxrichedit::Utils::Officeimage::TdxOfficeImageReference *> >' requested here

To reproduce this:

  1. Create a new C++ Builder VCL Application
  2. Drop a TdxRichEditControl into the window
  3. Attempt to compile the application

For reference, I am able to run the C++ Demos provided (after copying them out of the Program Files folder).   Also for reference, I had a similar problem with a previous version of this component not working in C++ which I reported at https://www.devexpress.com/Support/Center/Question/Details/T541646/tdxricheditcontrol-demo-with-ribbon-crashes-with-c-builder-berlin

Thank you.

Comments (2)

    Additional information:  I have discovered that if you turn the "Use 'classic' Borland compiler" option under Project Options/C++ Compiler on for the Project, this compile error no longer occurs, and the test project compiles, links and runs.

    For my application, I need that option on for other reasons, so this issue is no longer a problem for me, although it might be worth fixing anyway.  Thank you.

    DevExpress Support Team 6 years ago

      Hello James,

      Thank you for sharing your research results. I have reproduced this problem with the C++ Builder Rio IDE and our TdxRichEditControl control. We will examine this scenario and try to find an appropriate solution.

      Answers approved by DevExpress Support

      created 6 years ago

      We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

      Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.