Jump to content

Attila Kovacs

Members
  • Content Count

    1977
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by Attila Kovacs

  1. Attila Kovacs

    Delphi Developers Archive (Experimental)

    @Lars Fosdal I see. It's gonna be a lot of work. One suggestion, maybe you could ignore the "Originally shared by,,," text and cite from the text below if possible. https://delphi-developers-archive.blogspot.com/search?q=originally+shared+by
  2. Attila Kovacs

    Delphi Developers Archive (Experimental)

    @Schokohase Kobra, übernehmen Sie. @Dave Nottage There was no titles on g+ why would he want to have a fake one on the takeout? For what reason? Half of the posts will get a "hi" like title, half of them will repeat the whole text. And it's lot of work for nothing. Tagging would make more sense.
  3. Attila Kovacs

    Delphi Developers Archive (Experimental)

    Looks great. Drop the titles.
  4. Attila Kovacs

    ISAPI in Delphi 10.2,10.3 TranslateURI

    @Dmitry Arefiev Thank you, this was fast, I've also edited to have the correct code here.
  5. Attila Kovacs

    ISAPI in Delphi 10.2,10.3 TranslateURI

    You should wipe your version from the net then it's vulnerable as you are not checking the length of the URI. Looks like somebody went to get a coffee at emba in the middle of the refactoring. The right code should be: function TISAPIRequest.TranslateURI(const URI: string): string; var Size: integer; LBytes: TBytes; begin LBytes := DefaultCharSetEncoding.GetBytes(URI); Size := Length(LBytes); SetLength(LBytes, 1024); LBytes[Min(Size, Length(LBytes) - 1)] := 0; // null terminator Size := Length(LBytes); if ECB.ServerSupportFunction(ECB.ConnID, HSE_REQ_MAP_URL_TO_PATH, LBytes, @Size, nil) then Result := DefaultCharSetEncoding.GetString(LBytes, 0, Size - 1); // Dmitry Arefiev Instead of last "Size" reference there should be "Size - 1" end; Can be easily put into an interposer hack/fake-class.
  6. Attila Kovacs

    ISAPI in Delphi 10.2,10.3 TranslateURI

    Do you have a QP #? What is the problem exactly?
  7. Attila Kovacs

    Google Map Component

    Btw. TomTom announced in September a free map API for mobile development.
  8. Attila Kovacs

    Google Map Component

    Actually, gmaps became affordable.
  9. Attila Kovacs

    [3D] Why do i need to use negative Y values to go UP?

    Some interesting reading regarding to your post. Why are bmps stored upside down? https://stackoverflow.com/questions/8346115/why-are-bmps-stored-upside-down Source: Charles Petzold, Programming for Windows 5th Edition, Chapter 15.
  10. Attila Kovacs

    Watch list, inaccessible value

    Double-click on the watch-list item and check "Allow side effects and function calls" or assign "self" to a local variable for debugging.
  11. Attila Kovacs

    Embarcadero DocWiki for Rio

    Ahhh, you mean "padding". Took me 10 min to figure out what your problem with the borders is.
  12. Attila Kovacs

    any suggestions on how to "lazy load" a BLOB/CLOB from Oracle DB?

    @David Schwartz You are shifting with every new comment away from your initial question. Why don't you contact your 3rd party vendor?
  13. Attila Kovacs

    any suggestions on how to "lazy load" a BLOB/CLOB from Oracle DB?

    It's called "Deferred LOB Read" and supported for example by UniDAC.
  14. Attila Kovacs

    Blast from the past: BDE and Win10 W/S

    I would locate the problematic tables and outsource them into a decent DBMS and rewrite the affected parts using 2 concurrent connections to get some peace for the first time. Then I'd not touch it for the next decade.
  15. Attila Kovacs

    Unresponsive IDE and massive memory leaks with RIO

    Cool. Is it possible that you have a recursion in your search dir tree? Like for example "Users\xxxxx\AppData\Local\Application Data" points to "Users\xxxxx\AppData\Local".
  16. Attila Kovacs

    Unresponsive IDE and massive memory leaks with RIO

    Hahaha, that's why I can't reproduce 😄 Thx for jumping in 😉
  17. Attila Kovacs

    Unresponsive IDE and massive memory leaks with RIO

    @Stéphane Wierzbicki Are those 3.6M entrys all these kind of items? Name not found? Are they recurring? Do you have this CPU load on a "real" fresh install too?
  18. Attila Kovacs

    Unresponsive IDE and massive memory leaks with RIO

    @Stefan Glienke Can't reproduce. But instead of removing something from the path I've switched to x64 where several things are missing.
  19. Attila Kovacs

    Unresponsive IDE and massive memory leaks with RIO

    I understand but please tell me how can I get a page full of "name not found" in procmon? I've it running, what should I do?
  20. Attila Kovacs

    Unresponsive IDE and massive memory leaks with RIO

    Where? In c:\vcl? How is the IDE such smart?
  21. Attila Kovacs

    Unresponsive IDE and massive memory leaks with RIO

    Maybe I need glasses, it's desired access not denied, but this doesn't explain why are you telling us "fresh install" and why can't bds find anything.
  22. Attila Kovacs

    Unresponsive IDE and massive memory leaks with RIO

    Am I the only one who's disturbed seeing a Procmon screenshot with a bunch of NAME NOT FOUND / DENIED ACCESS on C:\VCL etc... directories which are not part of a freshly installed IDE? For what did you start it anyway if you are ignoring the output?
  23. Attila Kovacs

    Pointers are dangerous

    @Uwe Raabe Yes, but no, it does not fit to the shown example.
  24. Attila Kovacs

    Pointers are dangerous

    @Uwe Raabe Or one could just assign the local variable back to its origin. Should work from D1.
×