Jump to content

Vandrovnik

Members
  • Content Count

    560
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Vandrovnik

  1. Vandrovnik

    javascript errors from IDE ?

    Well, you can try to disable Start page and you will see... If it does not help, you can enable it again (remove the underscore). On my PCs, disabling Start page removed these annoying messages about script errors.
  2. Vandrovnik

    javascript errors from IDE ?

    Start page? I make this change in registry after installation (add "_" before "Start"): HKEY_CURRENT_USER\Software\Embarcadero\BDS\20.0\Known IDE Packages $(BDS)\Bin\startpageide260.bpl = _Start Page IDE Package
  3. Vandrovnik

    Combining bitmaps and preserving antialiased text quality...

    uses Direct2D; procedure TMainForm.PaintBox1Paint(Sender: TObject); var D2Canvas: TDirect2DCanvas; begin D2Canvas:=TDirect2DCanvas.Create(PaintBox1.Canvas, PaintBox1.ClientRect); try D2Canvas.BeginDraw; try D2Canvas.Brush.Style:=bsSolid; D2Canvas.Brush.Color:=clFuchsia; D2Canvas.FillRect(PaintBox1.ClientRect); D2Canvas.Font.Size:=32; D2Canvas.Font.Color:=clBlack; D2Canvas.TextOut(100, 100, 'Delphi 25th'); finally D2Canvas.EndDraw; end; finally FreeAndNil(D2Canvas); end; end; This is not OK?
  4. Vandrovnik

    Combining bitmaps and preserving antialiased text quality...

    Hello, as David already wrote - just render the text on the map, there is no need to render it to a bitmap and then merge bitmaps. Do you need to print the result? Because that was a pain with Direct2D and Delphi 😕
  5. Vandrovnik

    Combining bitmaps and preserving antialiased text quality...

    Please have a look at http://docwiki.embarcadero.com/RADStudio/Rio/en/Using_the_Direct2D_Canvas
  6. Vandrovnik

    Combining bitmaps and preserving antialiased text quality...

    Recently I have changed drawing to Direct2D, where transparency is not a problem.
  7. Vandrovnik

    VERY SMALL IDE font sizes

    Af far as I know, IDE is not HDPI aware (yet), so it will be blured...
  8. Vandrovnik

    Quality central down

    Hello, is there a way how to report to Embarcadero, that https://quality.embarcadero.com/ is down (again)?
  9. Vandrovnik

    Quality central down

    Usually when one has to change important DNS record, he wants to minimalize problems for users. Here is a description how to do it in a better way than just to change record with TTL 3 days: https://www.dnswatch.info/articles/dns-update
  10. Vandrovnik

    Error when installing JCL from GetIt

    And path to rtl260.bpl is included in it?
  11. Hello, I am trying to make a FMX application for Android. When I close the application, I get: Debugger Exception Notification: Project PlantisReaderPro.apk raised exception class Segmentation fault (11). When I choose Break, IDE positions cursor here in file IdThreadSafe.pas: procedure TIdThreadSafe.Lock; begin FCriticalSection.Enter; <--------------- end; But in my project, I am not using any Indy components. I have used GExpert, MMX and DUDS to scan used units, they do not show anything starting "Id". I do use IBX and ZXing. Please do you have any idea how to get rid of it? I am including image of the call stack. Kind regards, Karel
  12. Vandrovnik

    Error when installing JCL from GetIt

    How long is your PATH environment variable? Is there space enough for all paths?
  13. Of course I cannot guarentee it. But you wrote "Giving the user the wrong results is always worse than showing an error, even if the error is poorly worded.", so I gave you an example, where error message would be worse than ignoring the error.
  14. Not always... In an application drawing 3D scene, a small error in object displayed somewhere far away from the observer does not metter, probably nobody notices. Of course in a book-keeping application the situation is quite different.
  15. Thank you, tethering components were placed on the main form.
  16. (But I would not see Idxxx.dcu even in projects where I do use Indy, because there I am using the Indy which came with Delphi, so it is not recompiled with the project.)
  17. This was the very first thing I have checked - there is no Idxxx among them.
  18. Vandrovnik

    Quality central down

    Hmm, it seems embarcadero is using TTL 3 days (!) for that record, so if they did change the address recently, it is still in the caching DNS. # dig quality.embarcadero.com @ns1.navidns.net ; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.68.rc1.el6_10.3 <<>> quality.embarcadero.com @ns1.navidns.net ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17856 ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 6 ;; WARNING: recursion requested but not available ;; QUESTION SECTION: ;quality.embarcadero.com. IN A ;; ANSWER SECTION: quality.embarcadero.com. 259200 IN A 204.61.221.78
  19. Vandrovnik

    Quality central down

    Hmm, on another PC, it works, too. There is nslookup quality.embarcadero.com = 204.61.221.78 On my PC, quality.embarcadero.com resolves to 204.216.225.148, which does not work...
  20. Vandrovnik

    Quality central down

    I still get just a timeout 😞
  21. He expects files up to 5 GB, lots of machines will not be able to keep it in RAM.
  22. Vandrovnik

    Cannot perform this operation on a closed dataset

    May be some event? OnBeforeOpen etc.? Or a master-detail relation, so that this error might happen on another query?
  23. Hello, in Delphi 10.3.3, there is something broken in Indy - root certificate cannot be load. Probably same problem as here: https://community.idera.com/developer-tools/programming-languages/f/delphi-language/70711/indy-can-t-load-root-certificate-file-in-10-3-3/91055 Application raises an exception: Project Plantis.exe raised exception class EFOpenError with message 'Cannot open file "C:\Plantis\㩃䑜汥桰屩敄灬楨堠㙅停慬瑮獩䕜呅䑜杩䍩牥䝴潬慢剬潯䝴⸲散rv3". Systém nemůže nalézt uvedený soubor'. Please is it possible to remove Indy installed with Delphi and install Indy from github, without breaking things? I wanted just to replace IdSSLOpenSSL.pas, but it will not compile (always missing something). Or make Emba to repair it... In 10.3.2 it was working fine. Kind regards, Karel
  24. So using proper transaction should be enough, or am I wrong? 1: set transaction wait read uncommitted lock timeout 30; 2: set transaction wait read uncommitted lock timeout 30; 1: update test set Total=Total+1; // done 2: update test set Total=Total+1; // waiting 1: commit; // 2 is done 2: commit; Field Total is increased by 2.
  25. Why to move these items to the end? They can be ignored... Next:=0; for a:=0 to List.Count-1 do begin if List[a].Keep then begin List[Next]:=List[a]; inc(Next); end; end; List.Count:=Next; List<T>.Pack probably does (almost) the same, it just tries to move bigger amount of memory in one block.
×