FaFaFooey
Members-
Content Count
21 -
Joined
-
Last visited
Community Reputation
6 Neutral-
Only 2 GB available despite IMAGE_FILE_LARGE_ADDRESS_AWARE
FaFaFooey replied to dummzeuch's topic in Windows API
not really since my program was always fine until it hit the default working set because of the work load needed at that moment..microsoft has those apis for a reason. -
Only 2 GB available despite IMAGE_FILE_LARGE_ADDRESS_AWARE
FaFaFooey replied to dummzeuch's topic in Windows API
It looks like you solved your issue but since the topic is about large memory usage for a Delphi app I'd like to add that I had a very memory hungry app years ago and it kept crashing when usage reached a certain point. So I found some code about setting the working set size and my program never crashed again: var LMinWSS, LMaxWSS: NativeUInt; GetProcessWorkingSetSize(GetCurrentProcess, LMinWSS, LMaxWSS); SetProcessWorkingSetSize(GetCurrentProcess, LMinWSS, LMaxWSS * 2); -
if all you want is to read/write/search a list of machines then I would do a text file with comma separated values for each machine record and then use either an array of records or an in memory dataset to view/edit/add/delete/search.
-
Delphi 12.2 code editor blinks for every key I press
FaFaFooey replied to Clément's topic in Delphi IDE and APIs
sounds like a hardware acceleration issue..can you try disabling it or updating the video drivers? -
Converting images to JSON and Send to Server
FaFaFooey replied to JIMSMITH's topic in Network, Cloud and Web
Would BSON (Binary JSON) and not JSON be better in this situation? -
Delphi 12 And C++Builder 12 Community Editions Released!
FaFaFooey posted a topic in Delphi IDE and APIs
https://blogs.embarcadero.com/delphi-12-and-cbuilder-12-community-editions-released/ We are thrilled to announce the launch of Delphi 12 Community Edition and C++Builder 12 Community, two full-featured, free versions of our renowned Delphi IDE and of our flagship C++Builder IDE. #ifdef commented about this on Monday but it should get it's own topic for newbies. -
Delphi and "Use only memory safe languages"
FaFaFooey replied to Die Holländer's topic in General Help
Can a memory manager for Delphi be modified or written to be as close to a garbage collector without being one? FastMM4/5 can detect leaks on shutdown but what about leaks during runtime..maybe it can monitor special types like TObjectCollect instead of TObject. -
A software developer that sells websocket components for Delphi has a modified Indy library with TLS 1.3 support for download: https://www.esegece.com/products/sgcindy When you install it, it backs up the current Indy library and then replaces it with the modified Indy library. It has TLS 1.3 support at design time but no source is included if you need that.
-
Argon2 is the standard for storing a password hash now https://en.wikipedia.org/wiki/Argon2
-
Could anyone give their opinion on DelphiLSP as in speed, helpfulness and if it works 100%? Thanks.
-
Unless ICS hard codes the path, I believe it's Windows that has a search order for the DLLs that are loaded by your application. Read this https://learn.microsoft.com/en-us/windows/win32/dlls/dynamic-link-library-search-order
-
I'm just trying to duplicate what headers Firefox sends to the WSS and that includes useragent, origin and actually a bunch more like pragma and cache-control but I won't add those unless I have issues. I'll just edit ICS and hard code the headers since I only need it for 1 site. Thanks for your reply.
-
Congrats on the v9 release and thanks for supporting current versions of OpenSSL. I'm playing around with the TSslWebSocketCli component and unfortunately the ExtraHeaders property is not passing along anything I add to it when the TSslWebSocketCli connects to the server. I would like to add a User-Agent and Origin header. I'm using Delphi 11.3 with ICS v9 latest snapshot installed with no errors. The demo app OverbyteIcsHttpRestTst.exe also has this behavior. Could you see if it's an ICS issue or not? Thanks for your help! EDIT: Ok it looks like I know why, this bit of code in unit OverbyteIcsWebSocketCli procedure TriggerBeforeHeaderSend shows: // we leave only what can / must be there in the header for i := Headers.Count-1 downto 0 do begin s := Trim(Headers.Strings[i]); if IcsTextOnStart('Get ', s) or IcsTextOnStart('Host:', s) or IcsTextOnStart('Proxy', s) or IcsTextOnStart('Cookie:', s) or IcsTextOnStart('Authorization:', s) then Continue; Headers.Delete( i ); end; I can't add headers in the BeforeHeaderSend event of OverbyteIcsWebSocketCli either. Is there anything I can do besides editing ICS myself? Thanks for the help!
-
Delphi 11.2 HelpInsight Tooltip text color
FaFaFooey replied to FaFaFooey's topic in Delphi IDE and APIs
Ok I tried changing the IDE style around which produced a few AV's that froze the IDE and it didn't fix the HelpInsight colors. However, I changed the colors in the HelpInsight.css file and that fixed it! I was looking all over the registry for background and text colors but never thought about a CSS file. I wish the IDE was more customizable via the IDE optons. Thanks to Stano and big thanks to programmerdelphi2k!! -
Delphi 11.2, the HelpInsight tooltip colors are black text on dark blue background. I don't know what I changed to make this happen but does anyone know what I can do to fix this? Is it a Delphi color or a OS color change? The CodeInsight tooltips are white text on dark blue background so that still works. Thanks for your time and help!