Problem: Setting default layouts is different than in previous IDE versions
Solution tested on RAD Studio 10.3
An Integrated Development Environment (IDE) desktop layout is a file that records the positions, sizes, contents and visibility of the IDE windows. RAD Studio should let you do basic things with layouts, such as saving them, renaming or deleting them, and setting default layouts to use when the IDE starts up or is debugging, etc. Unfortunately, RAD Studio 10.2 did not let you fully manipulate layouts. I discussed a solution to the problem in this post and am happy to report that things have gotten better in RAD Studio 10.3 .
Embarcadero’s annual coding event, CodeRage, starts tomorrow. It’s a series of events about Delphi and C++ Builder. There are talks by Embarcadero employees, software vendors with products for RAD Studio, Delphi and Builder and users. CodeRage 2018 lasts for three days and you can see the schedule here. Best of all, it’s free and open to the public. To register, go to CodeRage 2018.
Problem: How to use the Gmail FireDAC Enterprise Connector
Solution tested on C++ Builder 10.2.3
CData is a company with a clever idea. It writes drivers that connect to various technologies and make them appear as if they were databases. Thus, knowing only SQL, you can read a CVS file, use Google’s Gmail, search with Microsoft’s Bing, link in to LinkedIn, and do many other things. CData and Embarcadero have partnered to create wrappers for these drivers in the form of components that you can use in both VCL and FireMonkey programs. Embarcadero calls these Enterprise Connectors. The rest of this post is a demonstration of how to use the Gmail enterprise connector in a VCL program. If you’d rather just see a summary of tips for using the connector, scroll down to the end of this post. If you’d like more background on enterprise connectors, see this post. Continue reading “Using CData’s Gmail connector in C++ Builder”
Problem: How to use the CSV FireDAC Enterprise Connector
Solution tested on C++ Builder 10.2.2
CData is a company that makes drivers for databases. Although this may sound like a useful but prosaic product, CData has a clever twist. Their mantra is “See the world as a database” and their products take this to heart. They allow you to view many things that aren’t databases as if they were. Examples include accessing sites such as eBay, Instagram, Facebook, Twitter and Gmail; working with programs like QuickBooks, Google Sheets, Microsoft Office 365; and manipulating data that is in generic formats, such as JSON, XML and CSV. The idea is that by using just SQL you can now accomplish a lot more than querying databases. Well, that’s nice, but what does it have to do with Builder? Continue reading “Using CData’s CSV connector in C++ Builder”