I'm making a VCL project with Delphi Tokyo, but I've been problems, because when I've been compiling and executing my appllication, it generates some exceptions with class $c000005. However, I put some breakpoints in the code but it doesn´t function.
when it starts automatically marks the exceptions, and Delphi not specify the line that generate the exception.
"Exception code: C0000005 ACCESS_VIOLATION" means that your code is trying to access a part of memory outside of its process limits. This is usually caused by bad pointer or array indices. Check your code to see where there may be any such possibilities.
I am trying to get two columns in TGridPanel, where user will be able to drag , drop and move around GUI components(TImage) at runtime.
I can drag and drop, however TGridPanel doesn't show scrollbars when I drop a lot of elements. It starts to shrink the ones already init. To have scrollbars I added this grid panel on TScrollBar and changed "Align" property to "alClient".
My plan is to save the final setting of components in a 2D array. My plan is to have at least one component per row to save the row of TGridPanel.
I have a Main Form which opens up an Archive Form. I'm sending data over from another computer to which shows up on the Main Form right away if the Main Form is open, but if the Archive Form is open I have to close the Form and reopen it for the data to show up. What I was wondering is their away I can get the data to show up on the Archive Form without closing and reopening the Form. Can I do a Refresh, Invalidate or anything like that?
As stated in the subject, I'm using XE8 with Castalia. Whenever I'm writing code, I get the message "Castalia exceeded its allowed memory threshold for parse trees" repeatedly in the Messages log. Does anyone know what causes this, or how to go about fixing it?
The United States invariably does the right thing, after having exhausted every other alternative. -Winston Churchill
America is the only country that went from barbarism to decadence without civilization in between. -Oscar Wilde
Wow, even the French showed a little more spine than that before they got their sh*t pushed in.[^] -Colin Mullikin
I have the sample project, but there is no option available to include attachment. so i explain my project here.
I created server application with two units
On TDSServerModule1 i dropped TSQLConnection and added parameters to connect to SQL Server database "master" (using MSSQL driver)
On mainform I dropped TDSServer, TDSTCPServerTransport, TDSServerClass and connected them with TDSServer.
I added the following code in the OnGetClass event of the TDSServerClass
PersistentClass := TDSServerModule1;
Next I created client application with Only one form
i dropped TSQLConnection connected to server application (using DataSnap driver)
i right clicked and generated 'Client Classes' using 'Generate Datasnap Client Classes' menu
i dropped TDSProviderConnection component and connected to TSQLConnection
i dropped TSqlQuery component and connected to TSQLConnection. I write the following query
Select * from sysdatabases