Jump to content

David Heffernan

Members
  • Content Count

    3710
  • Joined

  • Last visited

  • Days Won

    185

Posts posted by David Heffernan


  1. 23 minutes ago, TomDevOps said:

    everyone pays anyway

    If the bulk of the codebase feels that they aren't getting value for money, they will stop paying. Which hurts you. 

     

    24 minutes ago, TomDevOps said:

    Even if I'm minority, I have the same right to ask for it after all, I paid too

    Of course. You'd better hope that majority VCL customers keep paying. 

     

    25 minutes ago, TomDevOps said:

    how long will anyone maintaining Windows ap

    People have been declaring Windows dead for as long as they have been declaring Delphi dead. 

     

    26 minutes ago, TomDevOps said:

    if there are no new Delphi developers

    Making new delphi developers is easy. You just train your staff. 

     

    27 minutes ago, TomDevOps said:

    The only way is to attract them to Delphi, again, in my view, only by mobile cross-platform development

    They've been trying this for a long time now and the numbers aren't great. 

    • Like 2

  2. 6 hours ago, Mahdi Safsafi said:

    I can clearly see all places where the EmptyStr was implemented

    Bit you can't see the string.Empty or '' instances. Having lots of different ways to say the same thing just makes life harder. 


  3. 2 hours ago, Bill Meyer said:

    Interesting thought. How does one assess the size of resource in an entire project?

    As to the how: Years of development, a complex set of requirements, and certainly a failure to consolidate where possible.

    I've no idea, never needed to try. Not even sure that there is a limit, or what it is. But if you take out some other forms and the build succeeds then that is very strong evidence. 

     

    How do you even begin to test 2000 forms? I just can't get me head around this at all. 


  4. Is it possible that you have reached the upper size limit for resources? Try removing some other forms and see if the project builds. That would strengthen this hypothesis. 

     

    I can't begin to understand how you end up with 2000 forms in a single executable. 

    • Like 1

  5. Which part don't you know how to do? 

     

    On Windows at least it's a call to CreateProcess, then close the app, and then a wait function call.

     

    Do you know how to close your app? If so all that is left is CreateProcess and a wait call. 


  6. Easy

     

    1. Create the new process passing in the pid of the previous process. 

    2. Close the previous process. 

    3. When the new process starts, have it wait until the previous process has terminated before it shows UI. 

     


  7. 52 minutes ago, Dave Nottage said:

    The more pertinent question is: why does it return a valid handle in a DLL that is not loaded by WTS, and why is it apparently invalid in a DLL loaded by WTS?

    Given that you are the only one with any code, and any ability to debug, you are best placed to investigate.

     

    My advice is to stop guessing and do some old fashioned debugging.


  8. 3 hours ago, Mike Torrettinni said:

    The reason I tried to put those methods in Private section, was to limit the list of all 'visible' methods, variables, to put less code to process for error insight, code completion and remove circular references. So, I might be able to do this in one of next versions. Nice! 🙂 

    No. What was meant was that the IDE could in principle use new style RTTI to locate private declarations. But it doesn't. It still relies on old style RTTI. I see no reason to expect this to change. 

    • Like 1

  9. 12 hours ago, stijnsanders said:

    Guys, are all of you missing this? Due to the Pascal calling convention, the first (plain!) argument of a function maps into the same register(s), so in fact this is valid and correct code. Though strictly I agree it looks weird and like as if in 'normal' cases the Value members aren't assigned to Result members. Bit in fact, they're already there! So what is actually needed is a 'type size limiting' cast, which is exactly what Result.x:=SmallInt(Result.x); is.

    Win64 anyone? 


  10. 8 hours ago, Markus Kinzler said:

    I don't think he wants to implement ist himself. He's looking for voluntaries to do this

    Hmm. Seems like an odd way to go about it. Choosing to contribute to an open source project means making a commitment. I personally wouldn't want to do that without knowing that the project will have strong leadership and values.

     

    Making a an empty box and asking people to throw stuff in it as they please isn't at all enticing. 

×