THE LATEST
If your trying to use a TStringList in your IOS Xe2 Firemonkey application you will probably encounter the following errors when compiling under Xcode.
Show Plain TextText code
Error: Incompatible types: got "TStringList" expected "TWideStringList"
Show Plain TextText code
Error: Incompatible type for arg no. 4: Got "TWideStringList", expected "TStrings"
The problem relates to the TStringList defaulting to a TWideStringList rather that the IOS compatible version, to fix this use the Classes class as follows :-
Show Plain TextDelphi code
var
lines: Classes.TStringList;
...
lines := Classes.TStringList.Create();
...
Just a quick code example of how to dynamically create a drop shadow effect, pretty simple stuff but with the lack of documentation examples are rare so it seems. This example adds a drop shadow to a TMemo...
I struck a problem trying to use the dbExpress TSQLConnection components on an upgraded BDS2006 application where the program would compile and link fine but when you ran the application it would fail with the following access violation error...
Sometimes the simple things are harder than you expected and dbexpress probably comes under that category, it was less express than I had expected but once you figure things out it does work. Some of the problems were my fault while others took time due to the obscur nature of the errors returned by XE and XE2...
Well this is another sanity post to save me next time I need to figure this problem out again, the issue is running a applet on a server in a Headless X11 environment. There are java program settings to force checking that a X11 display is present and similar command line options do the same, however this doesn't help when trying to run on your server console terminal in a Headless environment...
I recently updated my work machine to a Apple macbook pro and have been using the laptop LCD along with my external monitor which is a Samsung 204B via a mini port to DVI connector. Resulting in the not so popular screen blank out or flicker which occurs at a random interval, no rhyme or reason...