Bug Report Q444062
Visible to All Users

Redefining HRGN and HDC types leads to conflicts in C++Builder

created 12 years ago

There're many conflicts in using standard #define's in PS subsystem that is a complete show-stopper just because it makes impossible to compile certain project (without manual DXpress .hpp's fixes).

Please, try to compile the attached project and see it yourself.

As a summary:

  1. there's a conflicting redefinition of HDC standard symbol (!) in dxPSBaseGridLnk module
  2. there's a conflicting using of "SelectFont" symbol - that is actually a macro defined in windowsx.h - for naming several class methods.

It would be great if attached project could be recompiled successfully without any additional code fixing after DXpress package installation.

Comments (1)
DevExpress Support Team 12 years ago

    Hello,
    It seems that you are right. I have forwarded this ticket to our developers for research.

    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.