

PeaShooter_OMO
Members-
Content Count
134 -
Joined
-
Last visited
Everything posted by PeaShooter_OMO
-
Please support Stack Overflow moderators strike against AI content policy
PeaShooter_OMO replied to Dalija Prasnikar's topic in Tips / Blogs / Tutorials / Videos
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. -
Problems with Delphi class structure / visibility
PeaShooter_OMO replied to Willicious's topic in Delphi IDE and APIs
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. -
ChangeTracking with dynamically created TMemo ...
PeaShooter_OMO replied to WalkingAway's topic in FMX
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. -
ChangeTracking with dynamically created TMemo ...
PeaShooter_OMO replied to WalkingAway's topic in FMX
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 -
I am no C++ expert but shouldn't the asterisks of the parameters be immediately following the types and not precede the parameter names?
-
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)
-
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.
- 4 replies
-
- criticasection
- wmi
-
(and 1 more)
Tagged with:
-
We are still on 11.0. Only Win32
-
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?
-
Does Visual Studio's Intellisense fail as often as Delphi's Code Insight?
PeaShooter_OMO posted a topic in Delphi IDE and APIs
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? -
Is that how you use your Delphi VMs in general or is that just a possible workaround for a slow/incompatible host?
-
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.
-
Send message frmo VCL app to another machine in lan
PeaShooter_OMO replied to mikak's topic in General Help
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. -
Delphi beta testing a "premium" privilege?
PeaShooter_OMO replied to Brandon Staggs's topic in Tips / Blogs / Tutorials / Videos
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. -
Delphi 11.1 + patches - No debug source / breakpoints?
PeaShooter_OMO replied to Lars Fosdal's topic in Delphi IDE and APIs
I would definitely start to look at the hardware -
The Delphi Certified Developer // To prepare for the exam
PeaShooter_OMO replied to skyzoframe[hun]'s topic in Tips / Blogs / Tutorials / Videos
Résumé = Curriculum Vitae -
The Delphi Certified Developer // To prepare for the exam
PeaShooter_OMO replied to skyzoframe[hun]'s topic in Tips / Blogs / Tutorials / Videos
$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 -
Delphi 11.1 + patches - No debug source / breakpoints?
PeaShooter_OMO replied to Lars Fosdal's topic in Delphi IDE and APIs
The old one had the Crap-O-Reader installed Sorry, I could not help myself -
Does Visual Studio's Intellisense fail as often as Delphi's Code Insight?
PeaShooter_OMO replied to PeaShooter_OMO's topic in Delphi IDE and APIs
Any specific type of problems or just CodeInsight in general? -
The Delphi Certified Developer // To prepare for the exam
PeaShooter_OMO replied to skyzoframe[hun]'s topic in Tips / Blogs / Tutorials / Videos
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. -
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)
-
Attach to Process along with Stepping through Code
PeaShooter_OMO replied to PeaShooter_OMO's topic in General Help
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 -
Attach to Process along with Stepping through Code
PeaShooter_OMO replied to PeaShooter_OMO's topic in General Help
I should have mentioned that the executable is on the same PC. I apologize for that. -
Attach to Process along with Stepping through Code
PeaShooter_OMO replied to PeaShooter_OMO's topic in General Help
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? -
Attach to Process along with Stepping through Code
PeaShooter_OMO replied to PeaShooter_OMO's topic in General Help
Yes, I did.