Jump to content

Lars Fosdal

Administrators
  • Content Count

    3416
  • Joined

  • Last visited

  • Days Won

    113

Everything posted by Lars Fosdal

  1. Lars Fosdal

    suggestion arm v8 cpu

    Is there a newer post than this one? I.e. one that suggests using the forums - I could not find one, so using the QP is recommended. https://blog.marcocantu.com/blog/2015-december-feature-requests-quality-portal.html If you decide to post a feature request, it needs to be clear on the technical benefits of using ARMv8, i.e. describe why ARMv7 doesn't cover the need.
  2. Lars Fosdal

    suggestion arm v8 cpu

    Link?
  3. Lars Fosdal

    suggestion arm v8 cpu

    @RDP1974 You should post this as a feature request on quality.embarcadero.com.
  4. I'd use a log broker service, i.e. have log requests from the different apps go through the broker APIs.
  5. Offsets may be helpful if the streamed order is not the same as the desired order, such as for a tree structure. Personally, I'd opt for identities and rebuild the structure after loading the stream. But, since OP doesn't share sufficient info about content and structure, this is all speculation.
  6. I think you missed the point of my suggested changes. The point was only to be able to read the 32-bit stream. I think you will need to rewrite the code that loads the data from the old-32 bit structures. I don't see a clean easy way to avoid that, f.x. by using my example record struct to read the old stream, and then move it to a 64-bit version with actual pointers.. You say Element sequence is important - is the order of the loaded double linked list supposed to be different from the streamed order? I have a feeling that your records are more complex than your example, and I certainly don't understand the reason for the untyped pointer. Are the actual records fixed in size or do they vary in size? Are you writing new 32-bit and 64-bit apps, so this is not a transition thing - but a need for a future shared format? In that case, I would rethink the structure and replace the pointers with stream offsets.
  7. Does the stream consist only of ptr_rec2 elements? Is it simply a double linked list? Is the element sequence in the stream of importance? Are the pointers relative positions in the stream or are they original memory positions in the old win32 app and discarded/replaced when loading in the receiving app? Do you need to keep it in the same linked list format in the new 64-bit app? Both ptr_rec1 and pointer are 8 bytes in 64-bit - so to read the stream in 64-bit, you would have to replace the pointer types with a 32-bit variable type Fake32bitPtr = UInt32; ptr_rec1=Fake32bitPtr; rec1=record i1:integer; p1:Fake32bitPtr; end; ActualPtr_rec2 = ^ptr_rec2; ptr_rec2=record rec:ptr_rec1; i:integer; p2:Fake32bitPtr; end; If the stream is not incredibly large, you could create a shadow structure that basically is an array of ActualPtr_rec2 and point to the ptr_rec2 elements without caring about the pointers?
  8. Why would you stream the pointers? They only have any meaning inside each application as a reference to a memory position.
  9. Lars Fosdal

    indy https error 10061

    Nope. I bought a license, though. Invaluable for sorting out the authentication protocol issues I had.
  10. Lars Fosdal

    Is there any edit/memo which allows multiselect?

    I use reg.ex search/replace and/or macros for that kind of stuff.
  11. Lars Fosdal

    Is there any edit/memo which allows multiselect?

    I didn't realize that VSCode had it. It defaulted to Alt+Click, while I expected Ctrl+Click.
  12. Another thought - would it not be just as convenient to search the Windows Eventlog for the various events for start/logon/logoff/sleep/reboot/shutdown?
  13. I was also thinking about a service, but it might be more trouble (rights wise) to get one installed than a simple standalone app. Isn't there messages to respond to that can prevent/postpone the sleep?
  14. Lars Fosdal

    Is there any edit/memo which allows multiselect?

    That is a very unusual function for a plain text editor. I don't think I've seen it before.
  15. Lars Fosdal

    indy https error 10061

    Charles Proxy is also good for sniffing out http/https issues.
  16. Lars Fosdal

    Advise the component for editing tables

    TMS Advanced String Grid (https://www.tmssoftware.com/site/advgrid.asp) Not cheap, but part of a very powerful package of components (TMS VCL UI Pack). Data can be inserted in the grid, rendered from your memory structure, read from a db, json, excel, etc. We've been using it for many years now, and it is still being maintained and enhanced.
  17. Lars Fosdal

    EurekaLog 7.12.0.4 installation

    You have to expand that first line where the serial number is to see the download packages. There you'll find it next to the download link.
  18. Lars Fosdal

    EurekaLog 7.12.0.4 installation

    Right where you download your registered EL install kit, there is a link to the right of it where you can download the license file.
  19. You are right. I didn't consider the differences between GetMem and New.
  20. @JiyaHana Please read the thread before replying. That solution was already proposed.
  21. Lars Fosdal

    Toltip Expresion evaluation

    Can you see the value if you create a new Watch for it? Is the "variable" you are trying to inspect, actually a function result like MyObject.MyFunction? If it is, you need to go to Tools | Options | Debugger and enable "Allow side effects and function calls in new watches"
  22. Lars Fosdal

    Access multiple Outlook calendars

    Have you checked Microsoft's documentation? Does it indicate that it should be possible?
  23. Lars Fosdal

    Toltip Expresion evaluation

    Do you mean a tooltip for a variable in the source code on a breakpoint inside the IDE, or a tooltip that should appear on a component in your application when it is running? As you can see - your description still lack the detail needed for me to really understand the problem. Be specific.
  24. Lars Fosdal

    Handing over the baton to Thomas and Lars

    Thank you, Daniel - for expanding the Delphi-PraXis site to offer a home for the English speaking Delphi Developers! I spelunk this place almost every day, and it is invaluable to the community for keeping up to date, and find help in resolving issues - or simply for learning new things! See you around, and my best wishes to you and your family for a joyful and prosperous new year! Brgds, Lars F.
  25. Lars Fosdal

    Toltip Expresion evaluation

    Which Delphi version? Which Platform? Which component(s)? What did you expect should happen? If we have to guess what you are doing or how you do it - it is unlikely we can be of any help. https://larsfosdal.blog/2016/04/20/how-do-i-ask-good-questions/
×