Skip to main content
5 votes
1 answer
15k views

To get a particular DOM node embedded in the current web document from a TChromium instance, using its ID, you use ICefDomDocument.getElementById(). But how do you find elements by the NAME attribute?...
Robert Oschler's user avatar
17 votes
4 answers
12k views

Many times after the Windows 98 era we have experienced that some dialogs lose their Z-Order and move back to the prior form. For example: Dialog1.ShowModal; Dialog1.OnClickButton() : ShowMessage('...
durumdara's user avatar
  • 3,483
1 vote
2 answers
6k views

I'm working on this project where we don't have the source code for large chunks of the project, but we have the .DLL files with some information. There is a bug in the DLL files. I am able to ...
mnuzzo's user avatar
  • 3,597
25 votes
4 answers
14k views

With Delphi-6 there are two options: Build and Compile. I know when I run a program it compiles only the files which have changed and uses the DCUs for those which haven't. When I click build ...
Daisetsu's user avatar
  • 5,006
14 votes
1 answer
47k views

Here is my configuration: IdSMTP1.Host := 'smtp.gmail.com'; IdSMTP1.Port := 587; IdSMTP1.UseTLS := utUseExplicitTLS; IdSMTP1.IOHandler := IdSSLIOHandlerSocketOpenSSL1; IdSSLIOHandlerSocketOpenSSL1....
EProgrammerNotFound's user avatar
13 votes
9 answers
7k views

I am writing a program which write statistical tests in Delphi (must be Delphi) and I've heard that the Random functionality is somewhat odd. You have to call randomize to randomize the seed of the ...
Daisetsu's user avatar
  • 5,006
11 votes
4 answers
31k views

I've got a problem to convert a string representation of an hex value in integer value with Delphi. for example: $FC75B6A9D025CB16 give me 802829546 when i use the function: Abs(StrToInt64('$...
Simon Mardiné's user avatar
6 votes
2 answers
7k views

I have a polling application developed in Delphi 6. It reads a file, parse the file according to specification, performs validation and uploads into database (SQL Server 2008 Express Edition) We had ...
Abhineet's user avatar
  • 403
6 votes
1 answer
10k views

I want to show popup button or fancy message (with coloured background, etc) just under right-bottom corner of particular cell of the current row. For now I only figured how to get grid coordinates: ...
Alexander Malakhov's user avatar
2 votes
2 answers
1k views

To get the instance of the class with Singleton pattern, I want use the following function: This is a sketch interface uses SyncObjs; type TMCriticalSection = class(TCriticalSection) private ...
EProgrammerNotFound's user avatar
0 votes
1 answer
407 views

Is there a chance to call GetFontUnicodeRanges without a window? For example, it could be a Windows service not permitted to interact with desktop. Currently I am testing this with console application:...
Paul's user avatar
  • 26.8k
0 votes
1 answer
574 views

I've come across some code that's throwing an exception (EIntfCasterror Cast not supported) when it passes nil to a constructor expecting a TComponent, like so: obj := SomeClass.Create(nil); The unit ...
mnuzzo's user avatar
  • 3,597
34 votes
8 answers
21k views

Please could someone explain me what's the difference between public and published class members in Delphi? I tried to look at Delphi help and I understand that these members have the same visibility,...
Ondra C.'s user avatar
  • 2,522
17 votes
6 answers
32k views

Has anyone ever managed to compile their Delphi 6 & 7 (NOT any Delphi > 7 ) projects using the command line? All the instructions I see are not very clear on what exactly needs to go where! Am ...
gath's user avatar
  • 25.6k
10 votes
6 answers
5k views

Is there a way to force the Delphi compiler to display all hints and warnings all the time? Here is the behavior that I am currently seeing in Delphi 6: Check out fresh copy of my application from ...
Scott W's user avatar
  • 9,872

15 30 50 per page