-
Content Count
419 -
Joined
-
Last visited
-
Days Won
6
Posts posted by Roger Cigol
-
-
...or very few Embarcadero C++ are using Delphi Praxis
-
Once this is up and running C++ builder may "come alive" again. I am cautiously optimistic !
-
3 hours ago, Dalija Prasnikar said:There is enough of us to keep the site clean, the only thing needed is infrastructure that would allow that.
Count me in as a volunteer too, if needed.
-
1
-
-
This problem is always going to be with us. But we do need to keep the forum open. New members = new blood = new ideas. Without new members the forum has signed it's own death warrant (even if it is a slow death).
-
5
-
-
Writing a compiler is VERY complex. Speaking as someone who doesn't write compilers, I myself would be cautious about criticising my colleagues in the industry who do, particularly when given an explanation that does make some kind of sense (as in this discussion).
I certainly agree with @Dalija Prasnikar there is nothing worse than a compiler warning that is wrong. It is hard to make them "go away" and they definitely can "hide" other useful warnings.
-
The use of a 64 bit application talking to a 64 bit database is the one time I've found where the IDE being a 32bit app is a real pain. What it means is you can't use the same database settings for design time as you use for run time (and doing so is a really convenient feature when you develop 32 bit apps).
I work on a large PostgreSQL project and PostgreSQL is only available as a 64bit database (and has been so for a long while - you have to go back several versions to get a 32 bit version). I just accept that I can't use the design time connectivity of FireDAC and just do all my debugging at runtime. It's not so convenient but I've got used to it!.
Be sympathetic to the Embarcadero Team - changing the IDE to 64bit must happen but they need to make sure that there are 64bit versions (or equivalents ) for all the sub components (which come from many many places : just look at the IDE menu item: Help | About | Acknowledgements). It's not quite as straightforward job as you think. You also have the issue that it "breaks" all the design time features for the folk out there using FireDAC with 32 bit apps talking to 32 bit databases. These may well be used to seeing all the design time connection functionality.
-
5 hours ago, mvanrijnen said:i think that posting was not necessary, as our mailboxes are flooded with announcements of them
That's interesting ! I haven't had a single e-mail about it. Sorry if you feel I have just added to the "swamping".
-
Am I blowing my own trumpet too much to let people know that I am presenting "Introduction to XML Mapper" in this bootcamp today at 20:00 hrs UK time = 14:00 hrs USA CST ? If the answer is "yes" than I apologise
-
1
-
-
I've just noticed that there is no mention of the Delphi Coding Boot Camp 2023 on this Forum. Seems strange that no one else is aware of this!
-
1
-
-
In the unlikely but not impossible event that you have field names in your paradox tables that include the # symbol I point you to this posting:
-
1
-
-
I too migrated a system away from Paradox a long long time ago. Paradox was good in it's time but it's limitations (particularly for a multi-user interface to the database) are very significant. I would definitely migrate to a modern and supported database (there are several open-source type solutions that are only a free of charge download away....)
-
1
-
-
A respectful suggestion: It would be more useful to other users of this forum if you posted this new question as a separate question with an appropriate title....
-
1
-
-
The use of COFF format is coming - how soon is unspecified but David Millington has announced this in his post here: David's What's coming in C++ Builder
-
If you are displaying message boxes in your code, you are presumably displaying text inside them. So if you are worried about the language of the buttons you presumably have a strategy for handling different languages for the text that you are displaying in the box. Surely you can use the same strategy to translate the button captions?
I frequently use my own dialog boxes and ShowModal() rather than the OS message boxes. One advantage I find is that when users ask for support over the phone it is much easier to determine if the message box is generated by my code (because I give it a red or blue background (for error or warning)) or if the message box is generated by the OS (in which case it is in the standard OS colours). I haven't found any problems with this approach.
-
1 hour ago, Fraser said:The standard says when argc>0 argv[0] holds the program name or is empty. What I see is my parameter, which is neither of those.
But you said originally that in your case argc was equal to zero (ie it is NOT > 0).
-
I've gone back to an old Skype Text conversation I had about this issue. The PA Server for remote debugging did not work for 11.1 but did work for 11.2.
-
1
-
-
AI is a big problem. Anyone who tries to limit it's use to intelligent purposes gets my support. I've signed.
-
2
-
-
.... and I'd knock this out very quickly using Embarcadero C++ and VCL. You could use radio buttons as you say (the correct native choice) and you would use the same form and just populate the text next to each radio button with the multiple choice answer. A Delphi fan would be equally at home doing the same with Delphi and VCL. Or use Firemonkey if you want to target mobile devices. Actually there is very little code required here - it's mostly visual layout stuff. So the choice of language is not a major decision. Pick the one you are most familiar with (if you want to get it done quickly) or pick the one you want to learn if getting new skills is what you are after....
-
Which version are you using? there's a known issue with Linux remote (ie PA Server) debugging with some versions around 10.x (I can't recall exactly when this was fixed but it's ok with 11.2 / 11.3
-
Twenty five or so years ago I took on maintenance / on going development of a large C++ project based on MS Visual C++ and MFC (version 6). I got the customer's main issues sorted out over a couple of years and in doing so got to know the ins and outs of Visual C++ /MFC 6.0. The customer got confidence in me then and I suggested migrating to Borland C++ Builder / VCL version 6.0 . This took another year to get done. I am still supporting and developing this product for the same customer and it's now on Embarcadero C++ 11 and we are about to change to a 64bit based version of the software..... This is (one of the reasons) why I am really excited and pleased about David Millington's recent blog about the Embarcadero future direction for clang C++....
-
Same advice as the string integer posting. Use String rather than AnsiString(). You only need to use AnsiString variables if you specifically want to represent text using only 8 bit Ansi encoding. These days that is a rare occurrence.
-
Also for simple conversions from String types to integer types you may like to use the ToIntDef() String member function. Pass this a default value which is the value returned if the String variable does not contain a valid integer. (The ToInt() function throws an exception if the String cannot be converted to an integer).
-
"It worked" does not mean that the code is sensible or ideal. You don't need / want to convert the int value called sum to an AnsiiString. you actually want to convert it to a C++ Builder String type (whichi is actually a UnicodeString). So you would be better to have used
Label3->Caption = String("The sum is ") + String(sum);
-
This is also a useful link:
https://stackoverflow.com/questions/73879934/cbuilder11-how-to-unit-test-with-googletest
Behind the Build: RAD Studio and C++Builder 12.0 - Webinar Replay
in General Help
Posted
...But it is all very preliminary. Embarcadero state:
"Please note that all comments and statements about potential new features are subject to change and should not be relied on until the GA release of a product is available."