Jump to content

PeaShooter_OMO

Members
  • Content Count

    134
  • Joined

  • Last visited

Everything posted by PeaShooter_OMO

  1. Stack Overflow is and has always been valuable to me and I assume its moderators have a great hand in that. I agree that it can happen that a moderator is harsh sometimes even towards a newcomer to the site. I personally prefer strict moderation. It is wise to just adapt to its style. Delphi developers on SO can be glad to have contributors like David, Remy, Andreas, Rob, Ken, Mason, Uwe, etc on there as well as here.
  2. PeaShooter_OMO

    Problems with Delphi class structure / visibility

    Why? Do you also expect to move all your furniture into the blueprint of a house? No, you would use the house's blueprint to build one or multiple instances of an actual house, then you would move into one of them. The class declaration and all its related code is the blueprint and the instance is the actual house. You design a class and then when you need to do something with that class you would create an instance of it and use it. Remember to at least free/destroy that instance. You are the only one living in it and nobody else will buy your vacant spot and vacant spots lead to bad neighbourhoods (memory leaks). There are ways to do the above but I don't want to send you down a dark hole. Get to know Delphi and basic Objects/Classes a bit better first and learn to manage the objects properly first. About the game and its development; Whether you were recruited to do development on this project or whether you got involved voluntarily it will be the same... it seems you don't understand Delphi principles yet and your approach to the problem and how you reacted here was not top-notch. I follow the philosophy that it is always my fault if something does not work out the way I wanted in the code I am involved with unless it is proven otherwise. It helps me to feel responsible for it and forces me to investigate properly and whats even cooler is that I just usually fix the issue even if someone else is to blame for it. It saves time and I just learned a whole bucket load and it sharpens the most critical development skill anyone can posess: Debugging. Learn to appreciate source code. If you don't know how something works then go and read the source code. You will get the understanding for it and you will learn again. I suspect most guys here might have had some idea in their heads that made them cringe on working on a project along with another coder that attacked the tools first instead of trying to understand first. If you want people to join the project or lend a hand then the environment for the collaboration should be inviting and free of nonsense.
  3. PeaShooter_OMO

    ChangeTracking with dynamically created TMemo ...

    You can always set the Memo to a default height upon creation and then allow it to be changed dynamically as soon as the contents change. Or you can add some sort of text afterwards to force Memo1ChangeTracking but I strongly believe in first figuring out why this is happening so that you can make an informed decision about how to approach the issue. You say your skills are too low to solve this problem. I disagree with such a statement. It is exactly the reason and opportunity for you to learn and acquire the skill. Put your head down and go through the source code and follow the breadcrumbs. Don't give up.
  4. PeaShooter_OMO

    ChangeTracking with dynamically created TMemo ...

    It is possible that the ContentBounds might not have been updated yet if you call Memo1ChangeTracking in the same code scope as where you created the Memo. Some controls do some updates and calculations on their paint cycle which has not yet occured while in the Button1Click procedure. Inspect the source code for the TMemo and possibly TEdit and check how ContentBounds gets populated and where it gets updated. That will probably give you an idea about whats happening here
  5. PeaShooter_OMO

    Why is the TCustomDrawState set empty?

    I am no C++ expert but shouldn't the asterisks of the parameters be immediately following the types and not precede the parameter names?
  6. PeaShooter_OMO

    Drawing on canvas

    Have a look at Clipping Regions.. Here is a little example (Obviously this for the Windows platform): https://docwiki.embarcadero.com/CodeExamples/Sydney/en/ClipRect_(Delphi)
  7. PeaShooter_OMO

    WMI (winspool) and critical section

    I have used WMI in multiple simultaneous threads before but always created and kept the WMI Objects local to each thread. Are you sure there is no other API/way to do what you want? WMI generally is slow.
  8. PeaShooter_OMO

    Delphi 11.3 is available now!

    We are still on 11.0. Only Win32
  9. PeaShooter_OMO

    Delphi 11.3 is available now!

    I suspect some of you have used 11.3 for a while now. What is the verdict so far? Is it worth it to upgrade to 11.3?
  10. For those of you who work with Visual Studio as well... Does Visual Studio's Intellisense fail as often as Delphi's Code Insight? Does it just stop to function? Does it fail on only some parts of the functionality? What about Jetbrains' IDEs?
  11. PeaShooter_OMO

    VM and Legacy apps

    Is that how you use your Delphi VMs in general or is that just a possible workaround for a slow/incompatible host?
  12. PeaShooter_OMO

    VM and Legacy apps

    What do you see as the important hardware requirements for running a VM smoothly (including all the Hyper-xXx stuff)? I have used VirtualBox for other scenarios but never to code in. On my machine I found that hosting a Windows 10 VM to be unusable; jerky and slow. I have more than enough RAM but I suspect my PC does not meet the requirements otherwise.
  13. PeaShooter_OMO

    Send message frmo VCL app to another machine in lan

    I agree. No need to limit yourself by using "just-another-server-client" framework. By using a proper TCP framework like ICS or Indy you will have total control and will be able to easily expand in future.
  14. PeaShooter_OMO

    Delphi beta testing a "premium" privilege?

    No Delphi united front/community exists and nobody will be able to sway Embarcadero's thinking. I don't think Embarcadero cares about its customers because I suspect there are too many customers that might be sort of "locked in" and renewing subscriptions all the time. Until that figure goes down drastically Embarcadero will just continue on its merry way. I also believe that if their income falls dramatically they will just try to flog the product line off to some other entity and we will have a repeat. Eroding foundation with clutter on top.
  15. PeaShooter_OMO

    Delphi 11.1 + patches - No debug source / breakpoints?

    I would definitely start to look at the hardware
  16. Résumé = Curriculum Vitae
  17. $59 is a bit steep to just go for it. In most parts of the world a person would rather try to make sure of a pass before loosing that much money on a "try". In my country I can buy 56 loaves of supermarket bread with that $59
  18. PeaShooter_OMO

    Delphi 11.1 + patches - No debug source / breakpoints?

    The old one had the Crap-O-Reader installed Sorry, I could not help myself
  19. Any specific type of problems or just CodeInsight in general?
  20. How much experience do you have? That will determine how you should prepare. The embarcadero website says: and... So where do you fit into this? I do not have any idea how the certification covers material but I think 6 months might not be enough for someone with no experience. But there are some bright people out there that might even do it in less time. But remember that the idea behind any studying is to encourage learning and recall of that material and not just to pass a test. Ask yourself if your motives are clear. I have been programming in Delphi for many many years and I am still learning every day and I am on this website and StackOverflow constantly to see what else I can learn.
  21. How would I go about attaching to a process also with the ability to step through the code? I did build the executable with "Debug Information", "Reference Info" and "Include remote debug symbols" but cannot step through the code while attached to it. Breakpoints are also not honoured. Am I missing additional requirements? (Delphi 11, Win32 executable)
  22. PeaShooter_OMO

    Attach to Process along with Stepping through Code

    I created a blank 1-form test application and it works fine with "stepping"/debug info and it seems the .tds file has no affect. The .rsm file does seem to be required though. It does not even need to be where the final destination executable is as long as it is where the project output is. But our original project does not want to do stepping at all. I have deleted all non essential project files along with the .dproj file and re-built. Nothing I tried seems to work. I copied .rsm and .tds across to the final destination folder, went back and forth between Release and Debug builds, compared configs (Compiling and Linking) with the test app but still no luck. Very strange
  23. PeaShooter_OMO

    Attach to Process along with Stepping through Code

    I should have mentioned that the executable is on the same PC. I apologize for that.
  24. PeaShooter_OMO

    Attach to Process along with Stepping through Code

    I will try to "Output" it directly to the intended final destination and see what it does. Isn't the Remote Debugger only for when it is not local or are you referring to the functionality and not the utility? I saw that the .rsm file is generated for remote symbol info. Are there other files also for that purpose?
  25. PeaShooter_OMO

    Attach to Process along with Stepping through Code

    Yes, I did.
×