Jump to content

Roger Cigol

  • Content Count

  • Joined

  • Last visited

  • Days Won


Roger Cigol last won the day on January 20

Roger Cigol had the most liked content!

Community Reputation

37 Excellent

Technical Information

  • Delphi-Version
    Delphi 11 Alexandria

Recent Profile Visitors

783 profile views
  1. Thanks Remy - as you rightly say, it's not too difficult to get the console interface working. Slightly harder to write a unit test to prove that unicode chars are handled ok. But I got there in the end. Thanks for pointing me in the right direction.
  2. Roger Cigol

    C++Builder 11 - any way of compiling .PAS?

    If you want to compile Delphi you have to get RAD Studio 11.1
  3. Roger Cigol

    How is text being saved to the database?

    or is the TEdit bound to the data source by LiveBindings ? (Right click on the TEdit and select BindVisually....)
  4. Roger Cigol

    TortoiseGit with Delphi 10 Seattle

    Frost.Brutal : Thanks for this instant manual on "how to configure tools" ! I had never really looked into this feature of the IDE and I can immediately see how it can be useful !
  5. Roger Cigol

    TortoiseGit with Delphi 10 Seattle

    Frost.Brutal : how do you get this to work ? I don't have any tortoise git in my Tools menu (RAD Studio 11.1 patch 1 Enterprise)
  6. Roger Cigol

    TortoiseGit with Delphi 10 Seattle

    I use Tortoise Git outside of the IDE. I work with private repositories on GitLab using SSL communications and found that the IDE support for Git would not support this transfer. I reported this https://quality.embarcadero.com/browse/RSP-26560 So I now work on the cycle. 1) develop code using the IDE 2) Close project in the IDE 3) Commit and push using TortoiseGit (or do other actions - create merge request, check out different branch etc) 4) Reopen the project in the IDE 5) go back to item 1.... I find this works well for me. To some extent I can't see the point of Embarcadero trying to replicate the Git interface (in effect all the convenient things that TortoiseGit allows you to do) within the IDE. Unless they do a lot of work (ie handle all that TortoiseGit does) there are still going to be instances where you need to come out of the IDE to do Git related actions. So you might as well always use the cycle I have described.....
  7. It is entirely possible (and maybe advantageous) to write your main (typically legacy) project using the Classic compiler but to write your unit tests using clang32 and the Google Tests framework. See https://wordpress.com/post/cigolblog.wordpress.com/409
  8. Roger Cigol

    How make benchmark?

    I think doing a benchmark test(s) and then taking an informed decision is always a wise approach. Letting other forum users see your results is always helpful.....
  9. Roger Cigol

    RAD Studio 11.1 Patch 1

    Anyone else find that Classic compiler auto complete doesn't work AFTER installation of patch 1 ? https://quality.embarcadero.com/browse/RSP-37665
  10. C++ programmers are always in demand - that's why there is no one replying to this post !
  11. Roger Cigol

    Survey of Delphi Versions in use??

    But I also remind everyone about the valid points raised in this discussion a while back....
  12. Roger Cigol

    Survey of Delphi Versions in use??

    something like this https://doodle.com/poll/d9hd42sisyemqbyu
  13. Has anyone else compared compile times for Embarcadero clang C++ 17 vs other C++ 17 compilers? The compile times between clang and GNU C++ are supposed to be roughly the same (some say clang is often slightly faster) but if you compile a single C++ 17 unit using Clang 64 (Windows 64 bit, VCL) in Rad studio IDE (Alexandria 11.1) it still seems to take a lot longer than a similar length unit in other systems. It's almost as if it is recompiling the VCL headers every time....
  14. Did it compile ok (all files) and then give this message when trying to link ? Can you state with version of C++ Builder you are using (hopefully Alexandria 11.1). ?
  15. GoogleTests has lots of ASSERT_xxxx type functions to cover most common (and indeed uncommon) C++ types. But it doesn’t know about the Embarcadero String type. To make it easy and consistent to do Embarcadero String types I have made a simple C++ unit which I have called ASSERT_STRING_EQ. I simply include ASSERT_STRING_EQ.h at the top of googletest files that require comparisons of String types and make sure ASSERT_STRING_EQ.cpp is added to the project file. The contents of ASSERT_STRING_EQ.cpp is as follows: void ASSERT_STRING_EQ(String A, String B) { ASSERT_STREQ(A.c_str(), B.c_str()); } void ASSERT_STRING_NE(String A, String B) { ASSERT_STRNE(A.c_str(), B.c_str()); }