All Activity
This stream auto-updates
- Past hour
-
@Vincent ParrettHave you any thoughts on this?
-
When will we have a 64-bit IDE version ?
luciano_f replied to luciano_f's topic in Delphi IDE and APIs
I was curious because your project for me is gigantic. My project has 490 thousand lines in 350 forms and I already think it's too big Tell me what type of company is your project for? Do you have any website ? -
grGm joined the community
-
KeepAliveTimeSec of TSslHttpServer
Angus Robertson replied to sp0987's topic in ICS - Internet Component Suite
But those five minute client connections are not shown in either of the logs you posted. How do you know the server closed the connection, and not the client, windows or a router? Angus -
I've prototyped a small app using the Delphi REST components. function TForm1.QueryAPI(Resource: string): string; begin RESTRequest1.Resource := Resource; RESTRequest1.Execute; Result := RESTResponse1.JSONValue.GetValue<string>('authorization'); end; procedure TForm1.Button1Click(Sender: TObject); var jValue:TJSONValue; AuthCode, AccessToken: string; begin RestRequest1.AddBody('{"email":"<email>","password":"<password>"}', ctNone); AuthCode := QueryAPI('oauth/authorize'); MemoContent.Lines.Add('auth = ' + AuthCode); end; <email> and <password> are obfuscated intentionally. This all works fine when I omit the RestRequest1.AddBody and use the RestRequest1.Params property as Name = body (followed by 32 hex digits), Value = "email":"<email>","password":"<password>", and Kind = pkRequestBody in the IDE as provided by the REST Debugger. I don't know the significance of the 32 hex digits following "body" in the Name field since it came over from the debugger. Is this the proper way to add the body to RestRequest1 and what might be the significance of the hex digits following "body" (see attached; please excuse my clumsy editing)?
-
ICS 8.70 VCLCB110 64 bits compile error
FPiette replied to VL_Alm's topic in ICS - Internet Component Suite
There are global settings in the IDE. I have the "enterprise" edition. Maybe this makes a difference? Since the issue seems related to Overbyteicsavltrees, maybe you could try to build a very simple new project project calling it? - Today
-
No there is a lot of time I have no connexion in design time. The connexion is done after my application is starting (ready state). Of course if you have connexion and heavy queries it's can take a lot of memory, but it's not the case. The question is what Delphi do when opening Search dialog at first time ? I can have the same problem when press F1 on a word or when doing refactoring for first time. Of course before LSP the problem was also in code completion/declaration search ...
-
No, I do nothing I only select a word and press CTRL + SHIFT + F. At this moment you see the memory used increasing and decreasing after the dialog is shown. I don't press "OK" on search dialog. It's is the search dialog opening which take a lot of memory. Not the search on "Ok". Like you because of memory problem I use another more powerfull software to search word on directories. But sometime I use Delphi search. PS : I use search on directory because it's more efficient to search on my own source.
-
I have a StringGrid where results get added every second. However, doing StringGrid.RowCount := StringGrid.RowCount + 1; Sets the scroll position back to the top. How do I prevent this ? It leads to horrendous jank in the UI because I need to set the scroll back to the bottom afterwards, leading to the scrollbar (and grid) jumping up and down every second. I'm on Delphi 10.3. Thanks !
-
Rtti Question: Is there a way to tell apart class fields from other fields?
pyscripter replied to pyscripter's topic in RTL and Delphi Object Pascal
Never mind. I forgot the answer to an older question. No rtti is generated for class fields and properties, which is a shame. It does for class methods though. -
Rtti Question: Is there a way to tell apart class fields from other fields?
pyscripter posted a topic in RTL and Delphi Object Pascal
TTest = class A: string; class var B: string; end; Is it possible to tell that B is a class field using Rtti? Ditto for properties. And if you get a chance have a look at my other Rtti question. -
KeepAliveTimeSec of TSslHttpServer
sp0987 replied to sp0987's topic in ICS - Internet Component Suite
Even when I set both properties to Zero, it stills close the remote client connection after 5 minutes though the client is not idle. -
When will we have a 64-bit IDE version ?
Attila Kovacs replied to luciano_f's topic in Delphi IDE and APIs
You have selected "Search in directories" on that screenshot. I never used this feature since I use a proper file manager for tasks like that, but the question that arises is: Is it possible that you have a circular directory link, and Delphi is not able to detect it? -
When will we have a 64-bit IDE version ?
Stefan Glienke replied to luciano_f's topic in Delphi IDE and APIs
Could it be that you have some active database connection and live data? That contributes to the memory consumption of the bds.exe process. -
Which Delphi version? I have a Ctrl-A patch unit in my Berlin but the only comment is that it's fixed in Tokyo 😄 edit: ok, it's something different from your issue.
-
KeepAliveTimeSec of TSslHttpServer
Angus Robertson replied to sp0987's topic in ICS - Internet Component Suite
The new log does not show any client connections. If you wish me to investigate an ICS problem, I need to be able to reproduce that problem or have extensive logs that clearly illustrate the problem such that it can be found and fixed. Those logs need to be annotated to show what I'm supposed to look at to see the problem. The current ICS samples don't log sufficient detail to show when and why connections close, and why the server has been closed. That information has never been needed, since the servers have been running in various versions for 20 years without unexpected closing being reported as a problem. Angus -
I also had issues with iOS platform in the past and solution was to install MacOS platform too.
-
Clk-Victim joined the community
-
I am having a strange problem with CTRL-A and edit fields. When the application is built from the IDE it CTL_A (select all) works. But it doesn't on my deployed application. This is built using FinalBuilder. Any ideas folks? Dave Craggs
-
Yes! It's a bit strange, but it's true. 😂
-
You mean it worked after installing macOS support? Compiling for iOS Simulator should not require it, as far as I know.
-
Yes my project (> 8 millions of line code) use not far than 40 components libraries like Devexpress (90 % of them component), TMS VCL, IBDAC, Fastreport, Teechart, HTMLEditor, Scalabium, JEDI, Indy, ICS, ImageEN, Jam Software, HTML Editor etc... All components are always up to date to "limit" bug. PS : I can have same kind of memory using when press F1 on a word.
-
Many thanks! I tried uninstall and reinstall RAD Studio but it still did not work until I checked to install Delphi MacOS platform support.
-
KeepAliveTimeSec of TSslHttpServer
sp0987 replied to sp0987's topic in ICS - Internet Component Suite
Can you look into this? webapp-20231004.log -
ICS 8.70 VCLCB110 64 bits compile error
CyberPeter replied to VL_Alm's topic in ICS - Internet Component Suite
Sure, but since it has been showing in multiple versions for quite a while, it stands to reason the issue is still there, since no actions were taken to address it. But if you have a downloadable file I will gladly download and try again. So far I tested 8.69 and the latest 9.x official download from mentioned website. I am not the OP, I just chimed in because I also see the same problem. What are the chances my setup happens to be corrupt just like the OP's setup .. Only after your yesterday post François, did I download the latest from the website. I did not make any changes to it and I did not mess with the compiler options. The cbproj files were simply loaded and compiled without making any changes. I also mentioned I never install packages so in a way my IDE is as clean as it comes. You mentioned: Perhaps the fact that you have ICS installed makes a difference ! -
When will we have a 64-bit IDE version ?
Lajos Juhász replied to luciano_f's topic in Delphi IDE and APIs
I cannot reproduce, you must use some memory hungry components.