-
Content Count
1977 -
Joined
-
Last visited
-
Days Won
26
Everything posted by Attila Kovacs
-
Delphi Developers Archive (Experimental)
Attila Kovacs replied to Lars Fosdal's topic in Tips / Blogs / Tutorials / Videos
@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 -
Delphi Developers Archive (Experimental)
Attila Kovacs replied to Lars Fosdal's topic in Tips / Blogs / Tutorials / Videos
@Lars Fosdal ouch 😕 -
Delphi Developers Archive (Experimental)
Attila Kovacs replied to Lars Fosdal's topic in Tips / Blogs / Tutorials / Videos
@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. -
Delphi Developers Archive (Experimental)
Attila Kovacs replied to Lars Fosdal's topic in Tips / Blogs / Tutorials / Videos
Looks great. Drop the titles. -
ISAPI in Delphi 10.2,10.3 TranslateURI
Attila Kovacs replied to hsvandrew's topic in Network, Cloud and Web
@Dmitry Arefiev Thank you, this was fast, I've also edited to have the correct code here. -
ISAPI in Delphi 10.2,10.3 TranslateURI
Attila Kovacs replied to hsvandrew's topic in Network, Cloud and Web
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. -
ISAPI in Delphi 10.2,10.3 TranslateURI
Attila Kovacs replied to hsvandrew's topic in Network, Cloud and Web
Do you have a QP #? What is the problem exactly? -
Btw. TomTom announced in September a free map API for mobile development.
-
Actually, gmaps became affordable.
-
[3D] Why do i need to use negative Y values to go UP?
Attila Kovacs replied to Memnarch's topic in FMX
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. -
Double-click on the watch-list item and check "Allow side effects and function calls" or assign "self" to a local variable for debugging.
-
Ahhh, you mean "padding". Took me 10 min to figure out what your problem with the borders is.
-
any suggestions on how to "lazy load" a BLOB/CLOB from Oracle DB?
Attila Kovacs replied to David Schwartz's topic in Databases
@David Schwartz You are shifting with every new comment away from your initial question. Why don't you contact your 3rd party vendor? -
any suggestions on how to "lazy load" a BLOB/CLOB from Oracle DB?
Attila Kovacs replied to David Schwartz's topic in Databases
It's called "Deferred LOB Read" and supported for example by UniDAC. -
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.
-
Unresponsive IDE and massive memory leaks with RIO
Attila Kovacs replied to Stéphane Wierzbicki's topic in Delphi IDE and APIs
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". -
Unresponsive IDE and massive memory leaks with RIO
Attila Kovacs replied to Stéphane Wierzbicki's topic in Delphi IDE and APIs
Hahaha, that's why I can't reproduce 😄 Thx for jumping in 😉 -
Unresponsive IDE and massive memory leaks with RIO
Attila Kovacs replied to Stéphane Wierzbicki's topic in Delphi IDE and APIs
@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? -
Unresponsive IDE and massive memory leaks with RIO
Attila Kovacs replied to Stéphane Wierzbicki's topic in Delphi IDE and APIs
@Stefan Glienke Can't reproduce. But instead of removing something from the path I've switched to x64 where several things are missing. -
Unresponsive IDE and massive memory leaks with RIO
Attila Kovacs replied to Stéphane Wierzbicki's topic in Delphi IDE and APIs
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? -
Unresponsive IDE and massive memory leaks with RIO
Attila Kovacs replied to Stéphane Wierzbicki's topic in Delphi IDE and APIs
Where? In c:\vcl? How is the IDE such smart? -
Unresponsive IDE and massive memory leaks with RIO
Attila Kovacs replied to Stéphane Wierzbicki's topic in Delphi IDE and APIs
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. -
Unresponsive IDE and massive memory leaks with RIO
Attila Kovacs replied to Stéphane Wierzbicki's topic in Delphi IDE and APIs
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? -
Pointers are dangerous
Attila Kovacs replied to dummzeuch's topic in Tips / Blogs / Tutorials / Videos
@Uwe Raabe Yes, but no, it does not fit to the shown example. -
Pointers are dangerous
Attila Kovacs replied to dummzeuch's topic in Tips / Blogs / Tutorials / Videos
@Uwe Raabe Or one could just assign the local variable back to its origin. Should work from D1.