Ticket B147182
Visible to All Users
Duplicate

We have closed this ticket because another page addresses its subject:

Hang on GdiPlusShutdown

Access Violation using TcxImageList in DLL (64-bit Windows)

created 15 years ago

An AV Error occurs when using cxImageList's images in DLL (running in 64-bit environment)
Example source code and binaries attached.

Answers approved by DevExpress Support

created 15 years ago (modified 12 years ago)

Hello Ernest,
Thank you for the message.
To resolve the problem, you must initialize the GDI+ library.
I suggest that you read CB43806("Hang on GdiPlusShutdown") report, which describe how to work with the GDI+ library if you have included our components in a DLL.
Feel free to contact us if you need any further assistance in this regard.
Thanks,
Valdemar

    Comments (3)
    EK EK
    Ernest Kolasiński 15 years ago

      That solves problem.
      Thanks a lot!

        Hi,

        is this required in last version (looks like the functions doesn't exist anymore) ?

        Thanks in advance

        Nico F.

        DevExpress Support Team 12 years ago

          Yes, calling the initialization/finalization methods to resolve this issue is still required.
          These methods were renamed to dxInitialize/dxFinalize and moved to the dxCore unit. I recommend that you review the gdiplus initialization in v2011 ?? for additional information.

          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.