Access Violation opening a project

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #58948
    Support
    Keymaster

    Hello!

    I think, “Application.Initialize;” must be placed before creating of any forms.

    Also, try to change a type of hidden form to TDataModule. This type is specially intended for such purposes, for placing of invisible components, TTimer, TImageList, etc…

    Can you repeat the error in separate demo, which may be debugged?

    #58949
    BionicWave
    Participant
    'Support' wrote:

    I think, “Application.Initialize;” must be placed before creating of any forms.

    I will try that out. Thank you.

    'Support' wrote:

    Also, try to change a type of hidden form to TDataModule. This type is specially intended for such purposes, for placing of invisible components, TTimer, TImageList, etc…

    I tried that too, but TsSkinManager can not be placed on a TDataModule. So…

    'Support' wrote:

    Can you repeat the error in separate demo, which may be debugged?

    This problem only seems to become relevant, when you developed a project for a longer time, since i worked on that project for nearly a year now and never had that problem

    until recently.

    I also switched back to version 14.11. This reduced the exception messages to almost none.

    I blame these exceptions to a good degree on my rather old Delphi version, but it seems that the combination of my Delphi version and the 14.11 version of your components

    seem to work better on a Win10 installation.

    I already tried to test the error with an empty project, but had no success.

    So as long as it works, i have to finish the project first, as you may understand.

    I will message here again if i run into another “major problem” state and will exmamine this effect a bit deeper.

    Thanks for your help.

    #58951
    Stephane Senecal
    Participant

    I tried to put a TsSkinManager in a TDataModule and it works quite well.

    The only thing special I noticed, is that you must open the DataModule unit in the IDE for controls to be skinned at design.

    Note that auto-create does not mean auto-show. Only the main form will be shown automatically, unless Application.ShowMainForm = False.

    Set DataModules to be auto-created before Forms.

    Stephane Senecal
    CIS Group
    Delphi programmer since 2001

    #58960
    Support
    Keymaster

    TsSkinManager may be placed to the TDataModule without any problems and it's a good way.

    The TsSkinManager component is not visible.

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