-
Content Count
419 -
Joined
-
Last visited
-
Days Won
6
Everything posted by Roger Cigol
-
Migrate an old app in Delphi 2009 to modren C++
Roger Cigol replied to Alkanium's topic in General Help
What Brian Evans says is true for RAD Studio (where you have both C++ Builder and Delphi). If you only have C++ Builder version you cannot use Delphi units in your project (although it does, as he correctly states) still use Delphi for all the VCL RTL etc. -
Migrate an old app in Delphi 2009 to modren C++
Roger Cigol replied to Alkanium's topic in General Help
I'm not sure I totally agree here. Yes, if you use an automatic translation then old bugs will be converted to C++. But if you think whilst rewriting AND add unit testing for modules AND refactor if/when there are obvious weaknesses in the existing Delphi code structure then you can end up with a better system. But you need to be aware that it's a big task. -
Migrate an old app in Delphi 2009 to modren C++
Roger Cigol replied to Alkanium's topic in General Help
I don't know of anything that attempts to automatically translate delphi source code into C++. But Embarcadero RAD Studio C++ can use all the Embarcadero components that Delphi can use so if you use Embarcadero C++ you only have to (manually) translate the Delphi source codes specific to your project(s) into C++. I say "only" - this could still be a significantly complicated task. One bit of advice I always offer someone starting a new s/w project is to answer the question "how am I going to test it?" before you start. ("it" is both the overall project and each individual source code section). -
Embarcadero C++ Programmer for Engineering UK
Roger Cigol posted a topic in Job Opportunities / Coder for Hire
Anyone out there who is an Embarcadero C++ Programmer based in the UK (ideally SW England) with interest in engineering applications ? We could do with working with one (full time?) -
Behind the Build: RAD Studio and C++Builder 12.0 - Webinar Replay
Roger Cigol replied to stukelly1's topic in General Help
...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." -
Embarcadero C++ Programmer for Engineering UK
Roger Cigol replied to Roger Cigol's topic in Job Opportunities / Coder for Hire
...or very few Embarcadero C++ are using Delphi Praxis -
Behind the Build: RAD Studio and C++Builder 12.0 - Webinar Replay
Roger Cigol replied to stukelly1's topic in General Help
Once this is up and running C++ builder may "come alive" again. I am cautiously optimistic ! -
Where is the link to register to the forum?
Roger Cigol replied to FPiette's topic in Community Management
Count me in as a volunteer too, if needed. -
Where is the link to register to the forum?
Roger Cigol replied to FPiette's topic in Community Management
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). -
Are local TGUIDS preinitialized?
Roger Cigol replied to Attila Kovacs's topic in RTL and Delphi Object Pascal
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. -
How to open Firebird 3 Database in FireDAC Delphi 11 (64Bit)
Roger Cigol replied to Blavatsky's topic in Databases
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. -
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! Delphi Code Boot Camp 2023
-
Delphi Coding Boot Camp 2023
Roger Cigol replied to Roger Cigol's topic in Tips / Blogs / Tutorials / Videos
That's interesting ! I haven't had a single e-mail about it. Sorry if you feel I have just added to the "swamping". -
Delphi Coding Boot Camp 2023
Roger Cigol replied to Roger Cigol's topic in Tips / Blogs / Tutorials / Videos
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 -
Paradox in FireDAC Delphi 11 Ent 32bit VCL App
Roger Cigol replied to Blavatsky's topic in Databases
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: Upgrading paradox field names containing # symbol -
Paradox in FireDAC Delphi 11 Ent 32bit VCL App
Roger Cigol replied to Blavatsky's topic in Databases
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....) -
Compile and Run from IDE OK but not if Running from the Output App.
Roger Cigol replied to amit's topic in Delphi IDE and APIs
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.... -
coff2omf does not create any output or error messages
Roger Cigol replied to dummzeuch's topic in General Help
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.
-
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.
-
Please support Stack Overflow moderators strike against AI content policy
Roger Cigol replied to Dalija Prasnikar's topic in Tips / Blogs / Tutorials / Videos
AI is a big problem. Anyone who tries to limit it's use to intelligent purposes gets my support. I've signed. -
.... 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++....