Lasse

Forum Replies Created

Viewing 20 posts - 21 through 40 (of 205 total)
  • Author
    Posts
  • in reply to: Error in sSpinnedit on double click #71296
    Lasse
    Participant

    I can confirm this issue is happening with the latest version. I will try to fix it.

    in reply to: ACCESS VIOLATION in Delphi 11.2 #71295
    Lasse
    Participant

    Have you tried to recreate your project file? If it works, you can compare what is causing the issue.

    Lasse
    Participant

    That said… for example find “CreatePen” from AlphaSkins source and you will find a leak in sGraphUtils.pas:

    SelectObject(DC, CreatePen(PS_SOLID, 2, clWhite));

    That will create a pen and it is never deleted. The code should be like:

    var
      LPen: HPEN;
    begin
      LPen := CreatePen(...);
      try
        // Use the pen for drawing
      finally
        DeleteObject(LPen); // Release the GDI pen object
      end;
    end;
    • This reply was modified 1 year, 4 months ago by Lasse.
    Lasse
    Participant

    I recommend asking ChatGPT e.g. “How to track GDIError (EOutOfResources = out of memory) errors in Delphi?”. It gives an excellent answer.

    I bet my money on creating GDI objects and not deleting them somewhere. I have seen that thousand times.

    in reply to: How to change the font color of disabled control? #71273
    Lasse
    Participant

    Set SkinData.CustomFont = True and set Font.Color.

    in reply to: TPageControl not getting skinned #71252
    Lasse
    Participant

    Use TsPageControl or add TPageControl to skin manager’s ThirdParty property.

    in reply to: Support Delphi7 #71178
    Lasse
    Participant

    Delphi 7 was released 2002 and used to be my favorite version for a very long time. But try to develop components for modern Delphi and you will understand why it is a huge burden to support old versions. Personally I wouldn’t support anything before Delphi XE2. Unit scopes are a must.

    in reply to: Custom color for TsTabSheet #71175
    Lasse
    Participant

    I played with that TsSkinManager.CommonSections a bit and it solves the problem. Thanks a lot.

    Lasse
    Participant

    Add a break point to message dialog execution.

    Lasse
    Participant

    Have you debugged where that is coming from? I have not come across this and I have the same versions of Delphi and AlphaControls in use.

    Lasse
    Participant

    Yes, everything works perfect now.

    in reply to: Pray that the developers are still alive. #71135
    Lasse
    Participant

    Good to know you’re ok.

    in reply to: Pray that the developers are still alive. #71133
    Lasse
    Participant

    It requires auto-renew to be turned on in your renewal and billing settings. But yes, not all service providers may have such an option.

    in reply to: Pray that the developers are still alive. #71129
    Lasse
    Participant

    I maintain several websites and I know that the payments are automatically charged to the credit card. It does not require any action from the site owner as long as the payments go to the service provider.

    Lasse
    Participant

    There are many 64-bit issues which ASLR reveals. You can set it to false in linking options until those issues are fixed. See Building > Delphi Compiler > Linking > Support high-entropy 64-bit address space layout randomization (ASLR).

    I have fixed some obivous cases by myself where I saw Integer casts done for pointers. Those must be NativeInt casts. But not all, I still have to keep that option False.

    in reply to: Access Violation Delphi5 #71123
    Lasse
    Participant

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

    in reply to: Pray that the developers are still alive. #71120
    Lasse
    Participant

    It will do it automatically as long as the provider receives the money. So sadly nothing can be concluded from that.

    Lasse
    Participant

    Yes, I am using the latest AlphaSkins with Delphi 11.2 64-bit and beta testing 11.3. You need to apply some fixes to make it work. See troubleshooting.

    • This reply was modified 1 year, 9 months ago by Lasse.
    in reply to: Pray that the developers are still alive. #71112
    Lasse
    Participant

    No contact for months, I am starting to worry if we have any more AlphaSkins development. But the small ones are my worries when you think about what is happening in Ukraine.

    in reply to: Access Violation Delphi5 #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.

Viewing 20 posts - 21 through 40 (of 205 total)