Crash in CreateForm

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #34214
    mhaps
    Participant

    Hallo,

    my application with AlphaControls 7.21 runs fine at a couple of customers.

    But at one customer the application starts and vanishes without any error message or visible exception.

    Application.CreateForm is called but MyForm.OnCreate is not reached. After replacing all AlphaControls with the original Delphi controls the Application starts normally.

    Any idea?

    (And no, I cannot send you a demo.)

    #44238
    OldGrumpy
    Participant

    Did you try running the app with disabled skinmanager? Same or different behaviour? When the application vanishes without a trace it is usually a stack overflow that makes Windows terminate the application without any message. Also, Updating to 7.26 could help.

    #44239
    mhaps
    Participant

    SkinManager is not active and should be set to active in OnShow (which is not reached).

    #44248
    Support
    Keymaster
    'mhaps' wrote:

    SkinManager is not active and should be set to active in OnShow (which is not reached).

    Hello

    So, OnShow(or OnCreate ?) is not reached and application is not skinned because sSkinManager is not initialized?

    How you verifying a reaching of OnShow/OnCreate events?

    Can you try latest version 7.26?

    #44873
    mhaps
    Participant

    Finally we found out, that the programm was running on HyperV with only 8 bit color.

    Increasing the color depth solved the problem.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.