Posts by William • 175 points
19 posts
-
0
votes1
answer30
viewsQ: Unexpected end of random command in Firebird
I’m having a problem in the system I develop, for some reason I get the message: Unexpected end of command - line 1, column 214 But I can’t find which SQL the problem is occurring. From what I found…
-
1
votes1
answer184
viewsQ: Look and Feel in java
I have an application that uses Windows Look and Feel. However I have a problem where the user can have a computer with Windows XP, and everything is stylized with windows XP. It’s like the…
-
0
votes2
answers95
viewsA: How to readjust text that is inside a Textflow?
Actually the problem was that there were two TextFlow inside the other, the first contained a maxWidth and the other not. I removed the second TextFlow and it worked.…
-
1
votes2
answers95
viewsQ: How to readjust text that is inside a Textflow?
I have a problem, where, when trying to readjust the screen, the text that is inside a TextFlow, goes off the screen, and it’s not set down. public SwingFXPanel(ServicosJson json) { this.json =…
-
0
votes0
answers50
viewsQ: Project Access Violation when set Optimization
I’m on a project where I don’t know why a access violation when I try to open the program only on release mode, in the debug mode this error does not appear. Error happens in function call DoShow of…
-
1
votes1
answer58
viewsQ: Can the entire variable receive a conditional value?
I have a situation where something like this happens: procedure FrmTeste.Teste; var iSinc: LongInt; const ACAO_PROX: LongInt = $0008; begin iSinc := iSinc or ACAO_PROX; end; I couldn’t figure out…
-
0
votes1
answer152
viewsA: Intermittent Error (could not obtain Ole control window Handle) Delphi
This error message in particular is very abstract, and it can deal with many different errors, first check if the machines used have the internet explorer installed. If the TWebBrowser won’t work…
-
1
votes2
answers658
viewsQ: How to optimize Firebird 3?
Someone who works with Firebird 3, do you know exactly how to optimize SGDB to be more efficient? So far I’ve run some tests on Firebird 2.5 and 3 to compare queries, and it’s pretty much the same.…
-
3
votes1
answer669
viewsQ: How to install mORMot?
The site is confusing, the documentation talks little about the installation process. I added the libraries in the path lib and it didn’t work, some projects just didn’t compile. Then I would like…
-
0
votes1
answer110
viewsA: BDE does not connect to Sysdba user
I figured out the problem was GDS32.dll that was in my sysWOW64 folder that was with a different version. I deleted it and reinstalled Firebird and it worked (remembering to check option to copy…
-
1
votes1
answer51
viewsA: Database Error
This is a very common problem in BDE, so go to Bdeadmin and go to the tab Configuration -> System-> Init in the SHAREDMEMSIZE field put 4096 apply…
-
-1
votes1
answer110
viewsQ: BDE does not connect to Sysdba user
I’m going through some problem with my BDE that I don’t know yet right what it is, for some reason it doesn’t connect in the bank with the user|default password of Firebird. I connect the same bank…
-
3
votes1
answer115
viewsQ: Why does Shortstring consume more memory than an ordinary String?
I made an example here to see how much memory consumes each variable and noticed that a variable of type ShortString consumes 256 while a variable of type String consumes only 4. Following example…
-
2
votes1
answer204
viewsQ: Using Threads to Update Windows GUI
I have a thread I want you to update a Progress bar to every iteration of a TQuery for example, but what I noticed is that to carry out the query process, I have to put the function that makes…
-
0
votes0
answers88
viewsQ: RTTI not returning function in getMethods
I have the following class TClasse = class public Funcao: function(arg: String): Integer; stdcall; end; What happens is that when using RTTI in this class to return the "Function" function, it does…
-
3
votes2
answers498
viewsQ: Writeln Locking in Delphi Seattle
I’m having a problem where by going through the job write it ends up locking inside the function, and does not return anything, having to close the application and open again, below the code for…
-
1
votes1
answer692
viewsA: Set up Delphi 10.1 Berlin Starter for Android and iOS development
First of all, check if you have the java installed and which version of it you have on your computer, the good thing is to update. Second, the moment you install Delphi, you put him to install the…
-
-1
votes2
answers380
viewsA: Firebird - Tools
I don’t know in what language you program, but for Delphi for example, version 7 has the Sqlexplorer that already comes embedded in Delphi, despite being a very simple tool. In the latest versions…
-
1
votes2
answers1891
viewsA: How to create form dynamically in Delphi
The error in your code is in: procedure TLogin.CriarForm(NomeForm: TFormClass); begin //Procedimento para criar formulario na memória with NomeForm do begin Try begin //<- Não se abre um bloco…