FaFaFooey
Members-
Content Count
21 -
Joined
-
Last visited
Everything posted by FaFaFooey
-
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, 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!
-
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!! -
This is from the developer working on FpDebug: " An no, but I don't have any updates on "properties". I know that work is done on it, and that it is hoped to come whit fpc 3.4.0 - whenever that is. " I do use OutputDebugString and DebugView++ a lot.
-
I've been using Laz/FPC since 10.4.2 because DelphiLSP was so bad. The current version of Lazarus actually has a new debugger and there are a ton of improvements and fixes in the main branch ready to go for the next version. Also the code folding in the Delphi IDE doesn't maintain its folded state and auto-expands the folded code below when you invoke code insight. Here is what someone on stackoverflow says on how to reproduce it: This still happens in 11.2. It probably expands due to error insight thinking everything after "Form1." is an error but it should leave folded code alone. This works as expected in Lazarus. The next version of FPC will have better support for generics too.
-
can anyone comment yet on Code Insight/LSP for Delphi? specifically is there still that slight half-second delay when pressing ctrl+space to show the Code Insight window? I know I'm being picky but I'm still on 10.2.3 because that half-second delay is like a small speed bump to my flow. thanks!
-
Hi all, I'm really trying to like Delphi 10.4.2 even without the floating form designer but one quirk I have is the Code Insight window. In earlier Delphi versions when the Code Insight is invoked the top line is selected so I know if I hit enter it will use that word. In 10.4.2 the top line is not selected when invoked but I can use the arrow keys and the line highlight will appear. Does this happen to anyone else and is there a way to fix it? I'm on Windows 7 using the dark theme IDE. Thanks for your help in advance!
-
First line of Code Insight not selected (10.4.2)
FaFaFooey replied to FaFaFooey's topic in Delphi IDE and APIs
oh so now you're saying the top line of code insight in YOUR Delphi is highlighted after you told me "the Insight does not nothing about this"? I noticed that all your replies on this site seem to be giving completely wrong answers and then you get arrogant and pricky when called out on it. Also you got some nerve to tell me about "pay for that" when your username on Google is associated with pirated everything. Maybe you should "change for VS by MS" and go away. -
First line of Code Insight not selected (10.4.2)
FaFaFooey replied to FaFaFooey's topic in Delphi IDE and APIs
Hey @emailx45I've been using Delphi since version 5 and in every version Code Insight highlights the top line when invoked no matter what. Don't try and tell me Code Insight never did this because of partial matches...here are 2 screenshots of Delphi 10.2 and 10.3 and both show the top line highlighted. Even videos on YouTube showing features of 10.4 have Code Insight with the top line highlighted. So, all I'm asking is does this happen to anyone else so I know mine is broke????