Jump to content

Roger Cigol

Members
  • Content Count

    311
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by Roger Cigol

  1. Roger Cigol

    Missing The Old Forums

    A very interesting perspective from Joseph. I wonder how this can be changed..... Listening (and responding) to customers is one of the key reasons I am still in business.
  2. Roger Cigol

    Missing The Old Forums

    Well I'm a C++ MVP and active C++ user and I check this forum from time to time. If I can I do make the odd (hopefully) helpful comment. I also check Stack Overflow for questions tagged C++ Builder. Stack Overflow is a good place to post if you have a specific question. Here is the best place I can find for somewhat more imprecise (but still civilised and helpful) discussions. I too miss the old Embarcadero forums. I pushed as hard as I could to get Embarcadero to keep them. They were getting lots of public viewable negative feedback about some of their releases. I feel they should have used this as a low cost way of learning what they needed to concentrate on improving. But it seems that rather than fixing the problems that were annoying their customers their marketing dept. insisted that they close the mechanism of reporting down. They do have good products and they do have a good marketing team - but they do need to make sure that they listen to their customers and respond effectively to what they are not doing well. By closing their forum they lost an opportunity to do this.....
  3. Roger Cigol

    C++ Code Insight in 10.4.2

    The link for a RAD Studio 11 preview is Desktopfirst summit - rad studio 11 preview
  4. Any one working on their own or part of a small s/w development team independant partnership? This could work just as well as us actually employing someone....
  5. Roger Cigol

    code completion?

    The flakey code completion is, as you say, a huge hindrance. Embarcadero are aware of this, hopefully it will be better in the coming version (11) (although community edition releases usually lag behind the subscription license versions a bit). Your comment about missing things in the structure viewer is puzzling though. It's a bit of a vague description. Can you be more precise and/or post a screen shot or two?
  6. Experience with Linux would be a bonus....
  7. I have now got googletest framework up and running with a Windows VCL clang64 project. I've posted two blogs about this here: https://cigolblog.wordpress.com/2021/07/16/tips-for-using-googletests-with-embarcadero-clang64-for-windows-vcl-projects/
  8. Roger Cigol

    Is this C++ builders new FORUM ???

    I too have had a look : and yes it does seem to work and have a lot of the old stuff - so thanks to Jim for getting this running and pointing us to it. I have spent ten minutes puzzling over the ordering of the "Latest Changes on this Web Site" items at the home page: Code news fast home page and would welcome anyone's guess on this !
  9. I'm working on a new PostgreSQL project. This requires a Win 64 bit (VCL) C++ FireDAC application. This forces me to ditch DUnit (some more experiments with some starting code suggest DUnit tests compile ok but when you come to run them under clang64 they don't appear in the test tree (the main test files do appear, but the individual tests are missing) and so the green arrow "run tests" is greyed. Out. Using 10.4.2 I used the gettit package manager to install GoogleTests - this downloaded without errors. It put it all in somewhere I might not have chosen (but since it's all source code I can probably moved this) However I have got the sample test sample8_unittest.exe that is one of the samples that comes as part of the getit install to compile and run using clang32 and clang64. But it doesn't have the nice GUI front end that DUnit tests have. Next: Does anyone know of a GUI front end that is compatible with Embarcadero C++ Builder? Next (for me) : I need to see if I can get some unit tests of my 64 bit app to run.......
  10. There is an on going discussion on Stack overflow about using C++ Builder and TPrinter - most of the time it works. Just occasionally it gives an error. https://stackoverflow.com/questions/67233197/cbuilder-printing-issues-on-certain-printers?noredirect=1#comment120336791_67233197 I wonder if any Delphi VCL users have had the same issue (since TPrinter is a delphi class wrapper for the Windows printer API) ?
  11. Roger Cigol

    TPrinter - usually ok - some printer drivers have a problem

    Note: " Just occasionally it gives an error." - means on certain combinations of Windows machines and different printer drivers. ie the same bit of s/w works fine 99.9% of the time and then just the odd user has an issue. In my experience changing the printer driver "with a bit of luck" fixes the issue - this statement itself indicates how flakey it appears to be!
  12. Roger Cigol

    Debugging C++ VCL on Win64

    10.4.2 is known to have all sorts of negative issues on the clang debugging experience (both 32 and 64 bit). We are promised that 10.5 will be much better..... 10.5 is hopefully not too far away (although no information other than a fairly old road map is available on this).
  13. what happens if you replace MYBOOL with bool and PRICER_DEVEX and PRICER_STEEPSTEDGE with plain integer constants (eg 2 or 3 or 4....) ? If you get the same problem then this would be a more helpful form to post your problem source code (since your quoted code does not include definitions of these block capital items). Or, if it starts working, can you include the definitions we need to get the code to be like yours (in this case it could be that MYBOOL is being defined differently in the debug and release compilations for example....)
  14. The sort of question that would be kicked out of Stack Overflow: I am about to embark on a new database project for a customer: Maybe 200,000 records per year in the main table. Typically ten or fifteen users accessing database simultaneously. Running on a server on a local network (possibly move to cloud in the future). Interface to C++ Builder code using FireDAC. All running on Windows platforms. Only for internal use by the customer (not for re-sale) so can use MySQL under GPL. I'm finding it really hard to choose between MySQL and PostgreSQL. Any ideas on strengths /weaknesses I should look at whilst trying to make this decision?
  15. Roger Cigol

    Weaknesses with MySQL and or PostgreSQL

    @Markus Kinzler Thanks for your advice. "Oracle doesn't care...." - does this mean my interpretation of the GPL v2 is wrong ie Oracle COULD make us pay the commercial license even though my customer would only be using it internally? or does this mean "Oracle doesn't care so all is well, I can use it " ? "Better use MariaDB" - why do you say that? "....is much more potent than...." - potent is a strange adjective to use here : it would be great if you could expand on what you mean by "potent"..... Your wisdom is appreciated....
  16. "Engineering" means driving machines that do something - ie control systems.
  17. Out of interest, which C++ compiler are you using (classic (32), clang32 or clang64) ?
  18. Roger Cigol

    What about additional free open source C++ libraries on GetIt ?

    Yes! and I firmly believe that both Newton and Einstein had good ideas [a fact] whilst dreaming [pure conjecture].
  19. Roger Cigol

    What about additional free open source C++ libraries on GetIt ?

    The ease of use with open source C++ libraries is a key feature when choosing a C++ development environment. I agree with your highlighting the need for Embarcadero to direct attention to this.
  20. Hi @RobinP, we have been delayed (again) on moving to Clang because we have found there are some problems Embarcadero have yet to resolve re: building / using your own VCL components that are written in C++. We have a set of "in house" VCL components written in C++ that we use in most (virtually all) projects. It seems we can't use Clang32 or Clang64 with "in house" C++ components at the moment. So we are still on "classic" compiler. Frustrating because we really want to use C++17 constructs now. So we are still on DUnit - (which works fine but is a bit limited). We will come back to this posting when we move forward. (We are waiting for 10.5 which will fix this C++ component issue).
  21. @oliwe Thanks for coming back with an update. I dealt with the same "niggle" in a slightly different way : I have the options for SORTA compile set with "start delay = 5000ms" - so it doesn't keep launching into the compilation until I've not done anything for 5s. This seems to work for me. It's good that we can each set it up to suit our own preferences.
  22. "Engineering" means "not video games" and "not accounting packages".......(not that writing good software for these is without it's own challenges - just that our s/w has different challenges!)
  23. Roger Cigol

    Compillation Error: Unable to open file VCL.FORMS.OBJ

    This is almost certainly due to old project library directories not suiting your new set up. You need to go through all the directories specified in your project options and make sure they match 10.2 requirements. As an aside: seems strange to upgrade at this point in time to 10.2 - are you sure you don't mean 10.4.2 (the latest version) ?
  24. Roger Cigol

    CB 10.4.2 Video

    @weirdo12 how did you find the code completion and the debugger (including evaluation of variables and containers) with Clang32 under 10.4.2 ?
  25. Roger Cigol

    Find Declaration and Add Watch

    I think this is because the compiler has optimised the variable away (in effect it has replaced your code with Grid->Row = 6;). So the debugger can't find the variable r because it doesn't exist. The usual settings for compiling under "debug" settings is for optimisations to be turned off. But you can change all these under the project | options. First thing to check is under Project | Options | C++ Compiler | Optimizations | disable all optimizations -> make sure this is set to "true"
×