Jump to content

Vandrovnik

Members
  • Content Count

    584
  • Joined

  • Last visited

  • Days Won

    6

Posts posted by Vandrovnik


  1. 54 minutes ago, FabDev said:

    PS : Of course I have no "Out of memory" problem with my little project < 2 millions of line of code

    EPNGOutMemory - may be the reasons is just in the number of simultaneously opened forms (which contains big images)? In that case, 64-bit IDE would solve the problem.

    I keep open just a few forms and datamodules, may be that is the reason why I have never encountered this problem.


  2. On 9/23/2023 at 12:11 PM, Alkanium said:

    So I need your help to convert all stuff I have in Delphi to C++. It's fine if it's not perfect, I know that I will need to adapt many things, I just don't want to begin with a blank project.

    So old bugs will be converted to C++ and new bugs will appear from the conversion itself 🙂

    • Haha 1

  3. 9 hours ago, Mark NZ said:

    We have smaller projects ranging from 500 000 lines to larger ones around 2.4 million, about 30 regularly used projects and code insight problems with most of them.  Code insight is getting better but the whole IDE is bad enough that two of the 5 devs here have given up on it and are using Visual Studio Code for editing Delphi and only switch back when they really have to for debugging or form editing.  I've been working on a a non Delphi Linux project for large chunks of the past year so haven't invested any time in switching but have tried VS Code and I think once I learn to use it quickly I'll switch as well as it doesn't crash like the Embarcadero IDE.  If VS Code had a form designer and Delphi debugger it would make the Delphi IDE completely redundant, especially if the debugger worked properly (Embarcadero debugger is frequently problematic for us in x64 which is the platform we need to use, again better than it was a few years ago but still lots of problems)

    I wonder what is the reason that we have so different user experience with IDE. Maybe third party components? Some IDE wizards/experts? Or you are using a part of Delphi language, which I do not use, such as types defined inside a class, inline variables etc.? For debugging, I compile to 32bit, because 64bit debugger was very slow and I do not check with each new IDE version, whether it is already better.


  4. 12 hours ago, Mark NZ said:

    For us sometimes code completion works in Delphi (very small projects), that's the paid enterprise version, most of the time it doesn't - you just get use to it with Delphi.  Yes it and lots of other bugs are frustrating but if you're stuck with a legacy code base you don't have much choice until the cost of using it just gets too great 😞


     

    For me, code completition works almost always fine in Delphi 11.3.1 Pro.  Project size is over 1 000 000 lines of code.


  5. 3 hours ago, Tommi Prami said:

    Emit Runtime type information for Debug build was on. 

    It probably treats that section as published then:

     

    The compiler treats a published section like public unless RTTI is enabled with the $M or $TypeInfo compiler directives, or if the class inherits from a class with RTTI enabled. TPersistent in Delphi’s Classes unit enables published RTTI, so all persistent classes (including all components, controls, and forms) have RTTI. The initial, unnamed section is published for classes with RTTI.

    • Like 1

  6. 51 minutes ago, Fr0sT.Brutal said:

    If by "correctly written" you mean "the one that had foreseen all features MS and Emba and whoever would introduce in nearest 10 years" then no, this won't be a problem.

    ASLR breaks things if an app needs to know its internal layout and MS haven't provided an API to know current base address (at least I know none).

    But it does not change internal layout, does it? Just the address of code, data and stack segments is randomized.


  7. 1 hour ago, Dalija Prasnikar said:

    If you need to loop some code x times and break out on some condition, then the simplest logic would be:

     

    
    
    for i := 0 to x do
      begin
       if TEDBEngineSessionManager(DBSWhoIsOn.Handle).TryLock(1) then
         begin
           ...
           // if succesfull break out of the loop
           Break;
         end
       else
         TThread.Sleep(500);
      end;

     

     

    That will loop the code (x+1) times 🙂

    • Like 1

  8. 15 minutes ago, mvanrijnen said:

    No i already have a PDF (generated with ReportBuilder), printing to PDF we already can. Now i have to print a already generated .pdf (at a later stage).

    gonna take a look into the sumatra pdf.

    I see it has a lot of printing options etc. 

     

    I understood - Fastreport should allow to print this existing PDF.


  9. 52 minutes ago, Angus Robertson said:

    SignMyCode does appear to offer prices very similar or cheaper than K-Software for Sectigo,, but never heard of them before, hope it is not a scam. 

     

    From communication in their chat:

     

    Hello, I have found a 5 years code signing certificate in your offer. I just wonder if it is true - even Sectigo itself does not offer 5 years certificate...?

     

    Grace
    Hello, Karel
    A warm welcome from our Chat Support Team.
    Firsthand, thank you for visiting our website and for your concern here.
    Sure, we do offer 5-year code signing certificates.

     

    Well, I wonder I can I check that your offer is not just a scam...

     

    Grace
    Kindly also be informed here, in the 5-Year bundle, your certificate will be initially issued for 3 years for Security reasons.
    You would be notified prior for the reissue/regenerating the certificate to your registered email.

     

    But in next 3 years, a hardware device will be necessary for code signing certificates, so that you cannot just reissue new one.

     

    Rob
    Karel, That will depends on once the Token becomes mandatory for OV order as well. But yes Sectigo is allowing to place the order for 5 years. SO after 3 years reissue will be still there but instead of PFX a token will be sent out, But that process is yet to define so I also cannot comment on that for now
    Like it suppose to be mandatory from last Nov 2022 but its still not done and new date was June 2023.

     

    OK, thank you.

     


  10. 39 minutes ago, Angus Robertson said:

    SignMyCode does appear to offer prices very similar or cheaper than K-Software for Sectigo,, but never heard of them before, hope it is not a scam. 
     

    Well, it looks suspicious - even on Sectigo's shope I have not seen 5-years code signing certificate. I wonder if someone already tried them 🙂


  11. 22 minutes ago, Mark NZ said:

    This is a pre existing bug across many Delphi versions and I often end up getting a VERY tall toolbar zone mostly full of whitespace.  I can go for hours/days/weeks and occasionally months at a time before hitting it.  Think it's also an issues with RDP and different DPIs.  Work around that I uses when it gets to around 6 lines is to delete entries in Computer\HKEY_CURRENT_USER\SOFTWARE\Embarcadero\BDS\22.0\Toolbars

    I agree - tollbars never worked for me as expected. Finally, I have disabled all of them, keeping only "Component" enabled, and problem is solved 🙂

×