Access Violation Delphi5

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #71054
    moppi83
    Participant

    Hi,

    i just bought Alphaskin to update the GUI of an application.
    It’s a big one and we use a lot of components, including TNTControls.

    Sadly application crashs if I place sSkinmanager and InputQuery is executed. I am not sure why, maybe this is connected to Unicode. Same problem exists during closing the application.
    Is someone fighting against similar issues?

    Best regards

    Moppi

    • This topic was modified 1 year, 11 months ago by moppi83.
    #71056
    Lasse
    Participant

    Have you tried sInputQuery from sDialogs.pas?

    #71108
    moppi83
    Participant

    Hello,

    yes I tried it, now it’s working, thank you.

    Because of this old Delphi stuff i develop in a virtual machine (at old winxp).
    There my skin looks fine. If i execute the application in Win11 the design is completly destroyed, changes in theme are not applied. Do I have to enable something?

    Best regards

    Moppi

    #71109
    Lasse
    Participant

    Which Delphi version you’re using?

    I am developing on Windows 11 but I still build versions for XP. I haven’t noticed any issues. I have created own build configurations for XP because with the latest Delphi version (11.2) you need to set PE Header to version 5.1 (two linker options). By default those are in version 6.0 and application will crash on XP with that version.

    #71110
    moppi83
    Participant

    Hallo,

    thanks for answering.

    I am using Delphi 5.0 Service Pack 2. Old stuff I know, but i cannot switch. What do you mean with PE header ?

    Best regards

    Moppi

    #71111
    Lasse
    Participant

    Ah, it was mentioned in the title indeed. Delphi 5 was released in 1999. There are certainly several problems with current Windows. I would rather develop with modern Windows and use it to compile the version for the old ones, if needed. XP support ended April 8, 2014. Using XP is very risky. Even Windows 8.1 support ended at the beginning of this year.

    PE header tells you what the rest of the file is about. That version is different in modern Windows. I think this is not an issue, if you build in XP with old Delphi version. But when doing the other way around, it must be taken into account.

    There is a free community version of Delphi: https://www.embarcadero.com/products/delphi/starter/free-download

    It is not the latest version but a significant step from Delphi 5. I’ve come a long way from Turbo Pascal to modern times and there’s no longing to go back.

    #71121
    Stephane Senecal
    Participant

    If you are a business, you do not have the rights to use the community version. We learned that the hard way. Embarcadero sued us for that.

    Stephane Senecal
    CIS Group
    Delphi programmer since 2001

    #71122
    Stephane Senecal
    Participant

    In regards with the design screwed up, a screenshot might help to understand which part is not rendered correctly.

    Stephane Senecal
    CIS Group
    Delphi programmer since 2001

    #71123
    Lasse
    Participant

    I strongly doubt that no one does business with Delphi 5 using Windows XP, but of course I could be wrong.

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