Jump to content

Kryvich

Members
  • Content Count

    407
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by Kryvich

  1. Kryvich

    No marker for modified source files

    @chkaufmann I will not mind if they take my idea and embed it in the IDE.
  2. Kryvich

    No marker for modified source files

    Try Status Bars.
  3. Kryvich

    formatting HTML code

    I think most of these online formatters use HTML Tidy internally.
  4. Kryvich

    August 2019 Roadmap released

    @Markus Kinzler You're right. The site is not accessible from several providers in my country, but is accessible when I use a foreign VPN. Very strange.
  5. Kryvich

    August 2019 Roadmap released

    403 Forbidden ( https://community.idera.com site unavailable )
  6. I encountered a strange behavior when using the Continue procedure in a repeat statement. The simplified snippet: program RepContinue; {$APPTYPE CONSOLE} {$R *.res} var i: Integer; begin i := 5; repeat Writeln(i); Dec(i); if i > 0 then Continue; until True; Readln; end. It was expected that this program will print 5 numbers: "5 4 3 2 1". But in fact, it stops immediately after “5”. Is it a compiler error, or is it the way it should be?
  7. @Remy Lebeau It was a simplified snippet to highlight the problem. In my code I tried to use a repeat-until statement instead of a label and a goto statement. This statement is intended to direct an execution back to the top of code block in a special case. Now I add a control variable to bypass the check. repeat var DoRepeat := False; ... if ... then begin ... if ... then begin DoRepeat := True; Continue; end; ... end; ... until not DoRepeat;
  8. @Uwe Raabe Thank you. Although in my shining new Delphi 10.3.2 the wording is a little different: Moreover, in the IDE a little green arrow behind Continue suggests that the control flow will go to the beginning of the cycle.
  9. Kryvich

    Delphi not responding to errors..

    Check Build configuration in your project (Debug, Release). In a new project the build configuration is Debug by default. Then check Runtime errors settings for the current configuration in Project options | Building | Delphi compiler | Compiling. There is good reason to have all three settings (I/O, overflow, range checking) enabled for any type of Build configuration.
  10. Kryvich

    Delphi 10.3 Update 2 available

    On my computer IDE Fix Pack showed 2 errors: And this: So for me it was needed to disable two patches: Variable name: IDEFixPack.DisabledPatches Variable Value: "CodeGenMod.Win32.FastFuncProlog";"VCL.Styles.StyleUtils" After this the messages are gone.
  11. Kryvich

    Pas2js for Delphi

    I have made an adaptation of Pas2js for Delphi compiler. So now it's possible to compile and debug the code of this utility in Delphi IDE. If somebody interested you can find it here: https://github.com/Kryuski/pas2js-for-delphi. The original Pas2js transpiler for Free Pascal is here: http://wiki.freepascal.org/pas2js
  12. Kryvich

    10.3.1 has been released

    When removing say "NO" to "Do you want to remove all Embarcadero RAD Studio 10.3 entries from your registry?"
  13. Kryvich

    10.3.1 has been released

    @mijn Same here. But I saved IDE settings before updating using Migration tool. So I still hope to install Delphi 10.3.1 without reinstalling all components. P.S. I uninstalled Delphi 10.3 and installed Delphi 10.3.1. All components are here. Only IDE Fix Pack had to be reinstalled.
  14. Try overloaded functions function pass(aRec: TMyRecord1): Boolean; overload; function pass(aRec: TMyRecord2): Boolean; overload; ...
  15. I can do it without RTTI, but get a compiler error when using RTTI: procedure TForm1.Button1Click(Sender: TObject); var ctx: TRttiContext; rt: TRttiType; fld: TRttiField; proc: TWndMethod; begin proc := TabSet1.WindowProc; // Compiles and works OK without RTTI ctx := TRttiContext.Create; try rt := ctx.GetType(TControl); fld := rt.GetField('FWindowProc'); ShowMessage(fld.GetValue(TabSet1).TypeInfo.Name); // 'TWndMethod' if fld.GetValue(TabSet1).IsType<TWndMethod> then // True proc := fld.GetValue(TabSet1).AsType<TWndMethod>; // E2010 Incompatible types: 'procedure, untyped pointer or untyped parameter' and 'TWndMethod' finally ctx.Free; end; end; Any suggestions?
  16. @Stefan Glienke Just checked your suggestion, brilliantly! proc := fld.GetValue(TabSet1).AsType<TWndMethod>(); No compiler errors.
  17. Kryvich

    IDE Fix pack for Rio

    @Sue King uData.dfm in binary format opens without error with any version of IDEFixPack installed. But OK... Usually, IDEFixPack is the first plugin I install in a new version of Delphi.
  18. Kryvich

    IDE Fix pack for Rio

    @Sue King Try to save your data module in the text format (right click - Text DFM), and then reopen with the previous version of IDEFixPack installed.
  19. Kryvich

    IDE Fix pack for Rio

    @jbg I rechecked uData.pas, the error is gone. Thank you for your support of the community!
  20. Kryvich

    IDE Fix pack for Rio

    @Sue King Good processor, but it seems it supports SSE4a only too.
  21. Kryvich

    IDE Fix pack for Rio

    Of course, I can debug Delphi in Delphi. There is an exception: The debugger stopped here: 0B69F215 F30F6F0A movdqu xmm1,dqword ptr [edx] 0B69F219 660F3817CB ptest xmm1,xmm3 // <--------- here 0B69F21E 0F8582000000 jnz $0b69f2a6 0B69F224 660F6FE1 movdqa xmm4,xmm1
  22. Kryvich

    IDE Fix pack for Rio

    @jbg I've tested on AMD Phenom II X4 955. Yes, it seems that this processor supports SSE4a only.
  23. Kryvich

    IDE Fix pack for Rio

    That's strange. I disabled all third party design packages, but the error is still here. I just open uData.pas without creating any project. See the video: https://youtu.be/RfB0Lo4ggL4 May be somebody else can test it on his/her computer.
  24. Kryvich

    IDE Fix pack for Rio

    Delphi shows "Error creating form: External exception C000001D." when I try to open one of my data modules. When I uninstall the IDE Fix Pack, the error disappears. I deleted all the code from the module, left only one memory table with a data source object, and the error is still here. Please see the files attached. Tested on Delphi Win 32-bit. IDE Fix Pack dev 2019-01-31-1645 for Delphi 10.3. uData.ZIP
×