Jump to content

Celso Henrique

Members
  • Content Count

    26
  • Joined

  • Last visited

Everything posted by Celso Henrique

  1. Celso Henrique

    A Memory Game in Delphi

    The book Expert Delphi has an example of the Game of Memory.
  2. How long does it take to buy a new server and restore a backup?
  3. Hello everyone, What disappoints me is that the individuals responsible for creating and maintaining these services are not juniors. They are experienced professionals who often give lectures on developing excellent software. I've mentioned this before: the Embarcadero team needs to take some time specifically to address these issues. It's tiresome to witness so many flaws coming from professionals who should set an example. As a friend pointed out, mistakes happen, that's normal, but not with such frequency. It's truly disheartening.
  4. Celso Henrique

    Edit dataset results

    Hi people, I need a help to do something that in my mind is very easy: edit a dataset results. I work with a layers pattern where I have in my form just a ClientDataSet. I have a class function that return a OleVariant object. And I have a FDQuery in a DataModule with my SQL Query. To make my work easy, I have a fuction that creates a DataSetProvider just to take de resultset from FDQuery. Example: In Form: cdsList.Close; cdsList.Data := TMyClass.getList; In Class: dmMyDM.qryGetList.Close; dmMyDM.qryGetList.Open; Result := getData(dmMyDM.qryGetList); In getData method: LDataSetProvider := TDataSetProvider.Create(nil); LDataSetProvider.DataSet := AQuery; Result := LDataSetProvider.Data; FreeAndNil(LDataSetProvider); Problem: Manytimes I can't change the data on ClientDataSet because the field come from FDQuery with property ReadOnly set. I tried a lot of settings to change this and nothing worked. I don't want to send back this data to use update, insert or delete database rules. I just want to edit the data and send it forward. Is there a way to disable all this feature and keep the resultset completely editable? Thanks in advance!
  5. Celso Henrique

    Mouse busy in IDE

    Disable the option "Tooltip symbol insight"
  6. What do you have in your minds to change something that was working extremely fine? Why are you destroying the productivity given by IDE? In the new version (11), the panels Structure and Object Inspector stopped to work properly. I click on component in Form Designer and the respective component is nos selected on Structure panel; I click on component in Form Designer and on Object Inspector the component's properties are showed up, but caption with the component's name does not change; If I select a component on Structure, sometimes, nothing happens! It gets frozen on the last component selected; If I click on component's name in Object Inspector and try to use the mouse wheel, it rolls up the names, but selects the next component from the last selected, thus the list rolls back; If I try to compile after click on Save All, I have to pray to not frozen the entire IDE. In this cases I have to kill the application by Task Manager; Before, I just had to type to call the code completion, but now it's mandatory to use the Ctrl+Space to call it; Until the last version (Sydney), the editor knew when to add or not the parentheses, now, with the parameter "auto parenthesis" checked, it puts parenthesis even they already existing; I work with Delhi since version 5, it's being 21 years seeing you creating greats things to destroy them shortly thereafter. I have no more energy to see this @#$@$ and stay calm and quiet!
  7. Unfortunately I had the bad idea to update my code with Delphi 11. Now the REST Request is not working like it used to. This is a request of a new token using the REST Debugger from Delphi 10.4 This is the same request with the REST Debugger from Delphi 11 What changed?
  8. Celso Henrique

    REST Request is not working well on Delphi 11

    The both calls have the same parameters, but the new version is sending the parameters on URL.
  9. Celso Henrique

    IDE being destroyed by new versions

    Yes. Sorry my bad. I didn't think right. This new version is driving me crazy. I'm really considering back to Tokyo version.
  10. Celso Henrique

    IDE being destroyed by new versions

    Hi David, Sorry for the late. Too many things to do. Another one. The search also stop to work. High processor consuming with no specific task. I was coding then the IDE stop to respond. Now, the newest and the best one. The compiler is not accepting the value 452 for a smallint property.
  11. Celso Henrique

    IDE being destroyed by new versions

    For me productivity is important.
  12. Celso Henrique

    IDE being destroyed by new versions

    About Code Completion, here is a simple example. In code below I have to hit Ctrl+Space 3 times in a single line/statement. With Auto Invoke working as it used to, there would be no need to hit any time
  13. Celso Henrique

    IDE being destroyed by new versions

    I will continue add here every single issue that I find. Now, when I call the Use Unit form by keyboard shortcut, the focus is not set on the name field, so I have to use mouse to click there. - 1 productivity point;
  14. Celso Henrique

    IDE being destroyed by new versions

    New one. This is a TPopupMenu
  15. Celso Henrique

    IDE being destroyed by new versions

    Hi David, First of all, thanks for your reply and help. Follow: Windows OS Version: Windows 10 Home Single Language, 21H2, 64bits Processor: Intel Core i7-7500U 2.9GHz Memory: 6GB Hard disk space free: 12,5GB Monitor resolution: Full HD (1920x1080) Project size: attached Platform: VMWare The project is VCL. The behavior is: it starts working fine, but after a while these issues appear. Sometimes it backs to work again, but only after a long time. Looks like there is something running very slow. Code completion: A long time ago (I think Delphi 2007 or 2009) it was not necessary hit Ctrl+Space to call the code completion. You just typed and it came. Parentheses: If you use the code completion to call a method with parameters, the completion will put the parentheses even they are already there. See attached. I'm using almost standard settings of Code Completion (attached). Unhappily we don't have "Classic" option any more, only LSP.
  16. Celso Henrique

    Delphi Code-Insight problems

    Can someone explain to me why you ruined Code Insight? I was very satisfied with this feature in the Tokyo version, but now, in Sydney, it has stopped working! I can no longer see the properties, procedures or functions of a simple StringList!!!
  17. Celso Henrique

    Delphi Code-Insight problems

    It looks like to me that they didn't any test. We are the Embarcadero testers, for free.
  18. Hello people, I developed an application to work in a critical environment. My application has 4 modules: 1. Server 2. Manager 3. Terminal 4. Handheld All modules connect to the Server module by Tethering. All modules have only 1 Manager and 1 Profile. The modules Manager and Terminal are executed on remote machines, while the Handheld module is executed inside the same machine where the Server module is executed. The problem I am having is that the Server module starts executing very well and for a while it communicates with the other modules without any problem, but after some time, it starts to refuse connections. Looking through WireShark, I found the message: Destination Unreachable (port unreachable). To work around this problem, I changed the Windows registry to increase the number of available ports (65535) and to decrease the wait time (30s). Even so, I continued to have problems. My last attempt was to increase the range of ports used by the component. I'm working with 2020-2119 for ManagerPort and 2120-2250 for AvPort. This also did not resolve. Whenever the Server starts to refuse connection, I am obliged to restart the machine. I really need your help.
  19. Celso Henrique

    TetheringManager refusing connection

    Thanks Remy and sorry to bother you. At first moment, when we were working with the Tokyo version, we had port exhaustion. Because that, we increased the number of user ports and reduced the time wait on Windows. One problem was solved, but a new problem appeared. Working with the Sydney version we stopped to have port exhaustion, but continue have connection problems. I am giving up to work with App Tethering. I will probably create my own communication structure using just TCPServer and TCPClient components. I think that will be less stressfull Thanks again.
  20. Celso Henrique

    TetheringManager refusing connection

    But App Tethering is based on Indy components...
  21. Celso Henrique

    Delphi Code-Insight problems

    Unbelievable(2)!!! Now I have to change my code pattern to avoid mistakes from Embarcadero developers.
  22. Celso Henrique

    Delphi Code-Insight problems

    Unbelievable!!! I could swear that you were kidding, but no, this is true!!! Thanks @emailx45, but the procedures are created by function "Complete Class at Cursor (Shift + Ctrl + C)". Remove this every time will decrease my productivity, for sure!
  23. Celso Henrique

    Delphi Code-Insight problems

    I am using version 10.4.1 and I am using the "Classic Code Insight". I tried a lot of different settings before post the message.
  24. Celso Henrique

    TetheringManager refusing connection

    Nobody can help me? Neither you, @Remy Lebeau?
×