Posts

Showing posts from May, 2015

Hey guys

Hey guys, I have a doubt: "Is there some kind of preference of using class functions over properties? In RTL there are many classes where I think something should be a property but it is indeed a class function. Is there some performance improvement associate with this choice?" Thanks a lot <3

EurekaLog

Image
EurekaLog Leak reporting returns some 20 ActRec leak descriptions. Does anyone know what they describe?  They seem to describe sort of a unit reference, and not a variable, object or line reference. Instance count is always 1. Sizes vary from 24 to 48 bytes - with an outlier that is 20k+.  #leakhunting   #eurekalog

These kinds of errors drive me nuts! I know this error is in the project file somewhere (compiler or linker setting), but can I get a clue as to what setting? I'm trying to enable the EurekaLog on a project. It won't work until I find where this is. When writing code I go out of my way to avoid generic errors like this. This is almost like a customer calling and stating your software doesn't work, what's wrong with it?

Image
These kinds of errors drive me nuts!   I know this error is in the project file somewhere (compiler or linker setting), but can I get a clue as to what setting? I'm trying to enable the EurekaLog on a project.  It won't work until I find where this is.   When writing code I go out of my way to avoid generic errors like this.   This is almost like a customer  calling and stating your software doesn't work, what's wrong with it?
Is there any documentation on how to build a user-defined macro in CnPack ?

Hi

Hi Does anyone has a problem in searching for updates in the EDN Registered User Downloads? Or is it my problem in how to find the latest update / patches from there? There is no last date updated nor is it sort chronologically. Please advise thanks chris

And made with Delphi :-)

And made with Delphi :-) Originally shared by Boian Mitov The Visuino http://www.visuino.com Beta community has reached over 4000 members :-) #Visuino #Arduino

HOW TO CONNECT TO A FIREBIRD DATABASE ON AN AMAZON EC2 WINDOWS SERVER INSTANCE

HOW TO CONNECT TO A FIREBIRD DATABASE ON AN AMAZON EC2 WINDOWS SERVER INSTANCE Just worked this out - might be useful to others.  To connect to a remote database file on an Amazon EC2 Windows server instance* , do the following...* 1.  Go to the AWS dashboard, log in to your Amazon account and go to Networks and Security|Security Groups     These AWS Security Groups are  bit like a firewall for your Amazon servers and other services. (NB  They are geographic region specific) 2. Chose the Security Group to which your EC2 instance belongs and select the Inbound and then Outbound rules listing 3.  Add to each Inbound and Outbound rules listing a rule to allow a TCP communication through Port 3050 (default port for Firebird)      setting from any IP address ( 0.0.0.0/0 ) or your own computer's specific IP address if you want to restrict access to just yourself 4.  Make sure the EC2 instance running of course 5.  Connect to the EC2 instance with RDP and look at the Windows desktop, on w

Originally shared by Thomas Mueller (dummzeuch)

Originally shared by Thomas Mueller (dummzeuch) Experimental GExperts Version 1.37 2015-05-30 released This version now uses unicode strings for all Delphi versions that support them. The previous versions converted native Delphi strings to AnsiString before formatting and converted the result back from AnsiString to native Delphi strings. In rare cases this resulted in some special characters being replaced by ‘?’ after the formatting. http://blog.dummzeuch.de/2015/05/30/experimental-gexperts-version-1-37-2015-05-30-released/

Is it just me...

Is it just me... ... or is producing applications getting harder? It used to be we could get away with basically implementing what a customer asked for. And yes, a lot of the time they didn't know what they wanted and you had to go round the loop a few times with them. But if it eventually did what they wanted, your job was done. They weren't too concerned with visuals. Now, things have to look good as well. People's expectations are higher, mainly because of better web design and slick touch based apps. Customers do now - annoyingly - rate your desktop business application much more highly if it has animations and visual transitions and "looks great". And getting visual design "right" is much harder and more expensive. Not only is it not a skill many developers have, but even if you do have some ability in that direction, it's a very subjective criteria. And it's very time consuming. Much more time is spent playing with different visual choices

You got to be kidding me

You got to be kidding me So I took the plunge, bit the bullet for Delphi XE8 Pro upgrade from D5 so I had to go with the upgrade subscription. Mobile Pack add FireDAC add Instruction tell me to uninstall the trial - check Install Delphi XE8 - check Open then close D XE8 - check Install Mobile Pack (separate Key Code) using the "Upgrade" Install I did not deselect any components, but did not see a separate component for Mobile Pack. So now its installing the whole damn thing again. I need to repeat the "Upgrade" install for FireDAC Think it's OK to deselect all of the components?

In a comment to a recent post of mine, Marco Cantù said:

In a comment to a recent post of mine, Marco Cantù said: But in Windows 10 you don't get the "platform" look and feel for desktop Win32 apps unless you apply some "styling" to it, as we are doing. Kind of like Metropolis, but honestly in Windows 10 there is more platform integration for desktop apps. My experience with Windows 10 does not agree with that.  Just as is the case for all earlier Windows versions, desktop apps are painted in the system style with no extra effort required from the dev.  Since XP we have needed to add the comctl32 v6 manifest, and use a Delphi that supports comctl32 v6 themes. But so far as I can tell, nothing changes with Windows 10. What am I missing?

PostMessage problem

PostMessage problem For a long time, I've been using AllocatehWnd in the main thread to create handles for passing messages from background threads to the foreground thread.   All the handles are created in the same location (during main thread startup), connecting to different handler procedures.  All messages are wm_user + unique number (from 1 to 140) Recently, this stopped working for 3 of 4 handles, and I can't for the life of me figure out why?   The only messages I see, is a value of 28 (which is wm_ActivateApp) and it arrives on startup only) - and then I see one of my other registered messages from a specific background thread (wm_user + 121). For the other threads, I see the postmessage being called, with the right handle and the right message - but it never arrives in the registered handler. I've tried moving the message from wm_user + 1 to wm_user + 151 - in case something else was eating them.  No joy. I've tried using only one handle, and calling all of th

Google Chrome Version 45.0.2414.0 dev-m (64-bit) no longer allows me to view the EMBT forums. You need to kick some corporate butt, Marco Cantù, because now it is becoming more than a cosmetic problem.

Image
Google Chrome Version 45.0.2414.0 dev-m (64-bit) no longer allows me to view the EMBT forums. You need to kick some corporate butt,  Marco Cantù, because now it is becoming more than a cosmetic problem.

Originally shared by Rodrigo Ruz

Originally shared by Rodrigo Ruz Hi everyone,I just finished migrating all my open source projects (code and issues) from Google Code to GitHub. Project Summary Delphi Dev Shell Tools Shell Extension for Object Pascal Developers Delphi IDE Theme Editor Custom color highlighting for… http://theroadtodelphi.wordpress.com/2015/05/28/goodbye-google-code-hello-github

Sad Alert - Breaking change:

Sad Alert - Breaking change: Android SDK Platform-tools 23 rc1 Android SDK Build-tools 23 rc1 Currently available in the preview channel, these tools break the build of FireMonkey Android applications. I have tried many times to compile a application against the setup above unsuccessfully :'( The latest setup that work pretty well is: Android SDK Tools 24.3 Android SDK Platform-tools 22 Android SDK Build-tools 22.0.1 :D

Swapping Files Via the Cloud on a Locked Down Corporate Machine?

Swapping Files Via the Cloud on a Locked Down Corporate Machine? I have a 10 year old app which I use to run workshops with large corporations. The app enable executives to make sales forecasts and I then aggregate the data. Currently I use a thumb drive to transfer the files between my machine and theirs. I have recently been told a client is banning thumb drives for security reasons. So I need to find a new simple way to swap files. I'd like it be to as cloud based as possible but many corporate environments block DropBox. So the questions is... What the best way to swap files between machine on a locked down corporate machine? The simpler the better. Emailing them is possible but cumbersome as I need them to copy the file from the email into a specific directory. Maybe FTP (do many corporations open FTP ports on their executives machines?). Any other solution? Thanks - Steve
I am getting low quality images when using a TImageList with XE8 (Trail) and apply to a TButton, ie., on Android,  the same image with a TImage control will shows nice. They are 16 images of 36x36 pixels size.
Hi everyone! ...¿any ideas how to save/export an Outlook email as .msg file using ole automation?
Been getting e-mails from Emba saying "RAD Studio XE8 is ready for Windows 10". Er, what? No it is not. It has no support at all for Windows 10 features. How could it? Windows 10 has not been released. It is no more ready for Win10 than Delphi 7 was. This nonsensical marketing fluff won't help anyone.

https://pgolub.wordpress.com/2015/05/28/postgresdac-3-0-2-with-postgresql-9-4-2-support-is-available/ #postgresql #delphi #radstudio

https://pgolub.wordpress.com/2015/05/28/postgresdac-3-0-2-with-postgresql-9-4-2-support-is-available/ #postgresql #delphi #radstudio   https://pgolub.wordpress.com/2015/05/28/postgresdac-3-0-2-with-postgresql-9-4-2-support-is-available

Hello guys :D

Hello guys :D Is there a way to create memory barriers in Delphi? Something like .NET's System.Threading.Barrier class, java.util.concurrent.CyclicBarrier from Java or pthread_barrier for C. I have looked at Delphi Documentation but I cannot find anything like it :'( Thanks in advance :D

Anywhere else to download a newer version of Sampling Profiler that supports Delphi XE7?

Anywhere else to download a newer version of Sampling Profiler that supports Delphi XE7? Here only version up to XE4 https://www.delphitools.info/samplingprofiler/ https://www.delphitools.info/samplingprofiler

This is one we have done. Powered by our LiveBase CMS which is all Delphi (Webbroker). This was originally a Delphi 3 application and was written to manage news and events on the National Trust website before becoming a full CMS package. Using WebBroker and our own framework makes it very flexible.

This is one we have done. Powered by our LiveBase CMS which is all Delphi (Webbroker). This was originally a Delphi 3 application and was written to manage news and events on the National Trust website before becoming a full CMS package. Using WebBroker and our own framework makes it very flexible. https://www.linkedin.com/pulse/new-liftstream-site-live-russell-weetch?trk=prof-post

HTML Component Library now supports JQuery

HTML Component Library now supports JQuery Inspired by Edwin Yip comment in https://plus.google.com/111474707006351652076/posts/Nheb3RqLhyf Methods are similar to XPath, for example for Node in Document.JQuery('h2, h3.myclass, h2+h3') do Memo1.Lines.Add(Node.Id);

AsciiImage: GDI-DownSampling, FireMonkey and more!

AsciiImage: GDI-DownSampling, FireMonkey and more! http://memnarch.bplaced.net/blog/2015/05/asciiimage-for-delphi-gdi-downsampling-firemonkey-and-more/ http://memnarch.bplaced.net/blog/2015/05/asciiimage-for-delphi-gdi-downsampling-firemonkey-and-more

Following 'What-A-Twist' post: https://plus.google.com/101464037359200037201/posts/cbQtQCwcDbg

Following 'What-A-Twist' post: https://plus.google.com/101464037359200037201/posts/cbQtQCwcDbg In the test project, there is a list box with several items. Change form size (if needed) to make list box scroll bar shown. Open Windows task manager. Launch test application. Find a test application process in task list. Click and hold scroll bar thumb with mouse, and drag thumb continuously up and down. Just look at test application memory consumption. It grows steadily, with each scrollbar thumb drag iteration. First, this bug was found by my colleague, in combo box control. Actually, any control, invoking scrollable item list, would result in such memory leak. Just click and scroll your item list (this is another name for 'doing nothing'), and watch your application steadily eating RAM.

How can I extend the Delphi implementation for NSWindowDelegate?

How can I extend the Delphi implementation for NSWindowDelegate? The current NSWindowDelegate implementation in Delphi is very limited. It doesn't include events such as windowWillResize:toSize: How can I extend it? I can see the code in source\rtl\osx'Macapi.Appkit.pas so I tried to make a copy of that file to my application folder and include it in the project. I have added a StackOverflow question in case anyone has an idea: http://stackoverflow.com/questions/30465685/delphi-osx-how-to-extend-nswindowdelegate http://stackoverflow.com/questions/30465685/delphi-osx-how-to-extend-nswindowdelegate

Correct me, if I'm wrong, but in XE8'th flavour of FMX, Freeing component implicitly cause all its children (i.e. Components, to which the one, being deleted, is Parent) to be freed as well? Even if these ones are owned by some other component...

Correct me, if I'm wrong, but in XE8'th flavour of FMX, Freeing component implicitly cause all its children (i.e. Components, to which the one, being deleted, is Parent) to be freed as well? Even if these ones are owned by some other component...  What a twist! http://www.youtube.com/watch?v=4LGu1sOvxYs http://www.youtube.com/watch?v=4LGu1sOvxYs

Microsoft has been busy implementing a new type of operators in C++ called "tadpole" operators (named so because they look like ASCII tadpoles).

Microsoft has been busy implementing a new type of operators in C++ called "tadpole" operators (named so because they look like ASCII tadpoles). These will allow you to save a large number of parantheses that you would otherwise have to write due to operator precedence. More information here: http://blogs.msdn.com/b/oldnewthing/archive/2015/05/25/10616865.aspx Of course Microsoft is behind the times on this and this has been possible in delphi for a long time. Examples: WriteLn(not - 5); > Prints "4" WriteLn( not 5); -> Prints "6" As usual though the Delphi syntax is more verbose than the cleaner C++ implementation. http://blogs.msdn.com/b/oldnewthing/archive/2015/05/25/10616865.aspx

Oh and before I forget: there's something else, too, that I'd like to see happening.

Oh and before I forget: there's something else, too, that I'd like to see happening. Specifically, it's a programming contest. The subject would be: Delphi and Hadoop. The idea behind this would be to have people install and use hadoop with Delphi for interesting Big Data scenarios. Advantages: 1) It would give EMB ideas on how to interact with Big Data stores 2) It would show to developers how to do it 3) Especially with XE8 and mobile, it'd give us massive opportunities Also, we really need a generic Dataset interface to NoSQL databases. I do understand that generalizing these is a lot more difficult, but I think it's essential going forward. I am not a fan of NoSQL to be honest, but I do think they have their place and I also think it's short-sighted that Delphi does not have a generic interface for that. A

Ok, so, since it's the time of "What I would really like to see in Delphi", let's poke Allen Bauer some more :D

Ok, so, since it's the time of "What I would really like to see in Delphi", let's poke Allen Bauer  some more :D So, a couple of things I'd really like to see are: 1) A component extracting the XSD from an XML file. The code is largely already there, it simply needs splitting in a class framework and a component on top. 2) A component allowing the generation of XSLT files given two XML files. As above, the code is largely there already, although atm it's only available for CDS xml files. Again, class framework with components on top. What kind of use would they have for developers? 1) Ability to create IDE extensions that deal with these things: not just general ones but also specialised ones for specific XML formats developers are using 2) Ability to create XML editors that do not cost a fortune and that are actually useful.  This may end up in an Open Source project for XML files that could give people such as Altova XMLSpy a real run for their money. While

A new blog is published about the upcoming TMS Planner for FireMonkey: http://www.tmssoftware.com/site/blog.asp?post=309

A new blog is published about the upcoming TMS Planner for FireMonkey: http://www.tmssoftware.com/site/blog.asp?post=309 http://www.tmssoftware.com/site/blog.asp?post=309

Ann: NexusDB EOFY Sale

Ann: NexusDB EOFY Sale ===================== Greetings from NexusDB, the home of great database components and Quality Assurance tools. We have a great EOFY (End of Financial Year) offer for you. Take advantage of the following until the end of June: For any purchase made, on all products, take 30% off the normal price. Yes, that is 30% off any full price, renewal or reactivation purchase! To receive the rebate, make sure you enter the following coupon code during checkout: EOFY2015 Visit our webshop here: http://www.nexusdb.com/support/index.php?q=pricing Please also note, all our prices are in Australian dollars. If you are purchasing from outside Australia, take advantage of the extra 20% rebate provided by the favourable USD/AUD exchange rate! regards, The NexusDB Team

HTML Component Library now supports XPath.

HTML Component Library now supports XPath. It can return enumerable list of nodes (interface) or get an anonymous proc as parameter. for Node in XN.XPath('//img') do   Memo1.Lines.Add(Node.Attr['src']); - list addresses of all images    XN.XPath('//*[@style]',       procedure(Node: THtmlNode)       begin         Memo1.Lines.Add(Node.Attr['style'])       end     ); - list styles of all elements having inline styles    XN.XPath('//p[@align="right"]',       procedure(Node: THtmlNode)       begin         Node.Attr['align']:='left';       end     ); - change alignment of all right-aligned paragraphs. XPath is implemented in base class (no GUI-dependencies) and  optimized for speed and memory, so it is possible to use it in a server-side application. HTML parsing speed (DOM): 50 Mb/sec. Avg. XPath processing speed: 20 millions nodes / sec. Parser is tolerant to almost any errors in HTML- missed quotes or <>, unclosed tag
I'm using a TRectangle and setting the X & Y Radius values to make it curve, but for some reason the BottomRight corner does not work, apparently when it is inside of a Frame, into the main form it works.

Hello guys

Image
Hello guys, I have ran on problem in a personal project (a full reimplementation of collection classes): The TDictionary class implements the generic IEnumerable interface to support interation, but I am not able to implement this interface properly within the class :'( I have tried "method resolution clause" but it doesn't work as expected, I cannot build the project because of E2003 error ("Enumerable identifier: 'IEnumerable'"). The full file is at https://gist.github.com/horaciojcfilho/42dabdea506e47c797ab . Will be a great pleasure rely on your help :D  Thanks in advance :D

Hi

Hi,    I wonder if anyone has ever seen/found anything on 2D wavelets for image processing(not compression) in Delphi? I dont seem to find anything, If I google then one of my top hits is the request I made in 2001 :-) I could look to translate but wondered if there was anything I could purchase etc... Also on a related topic has anyone started to use OpenCV via Delphi XE7? Kind regards Adrian

Re: Firebird on EC2 cloud, DB connection from laptop - how?

Re: Firebird on EC2 cloud, DB connection from laptop - how? Hi All I have set up an Amazon Windows EC2 cloud server and installed Firebird database Super Server, and a database file ...fdb Is there a way using FireDAC or other in the box connectivity with XE6 to connect to this database from a Delphi VCL application on my own computer, also loaded with FBClient.dll vendor library, but not running Firebird.   i.e. a direct connection using e.g. a TFDConnection? I have seen a connection from a laptop Delphi client app to a MySQL database hosted on a website using TADOConnection. How to do this for an EC2 instance and for Firebird not MySQL? Thanks, Martin

I am developing a component from Tpanel that creates a number of TButtons on runtime. Each button can be added, deleted, moved and their size can be changed too during the life of the component.

I am developing a component from Tpanel that creates a number of TButtons on runtime. Each button can be added, deleted, moved and their size can be changed too during the life of the component. Which is the best way to manage this ? - Tlist - TComponent - TArray or similar

Hi all

Hi all Need some help in tracking down an error in my program exception class    : EAccessViolation Eureka log shows it as System.Classes 15909   +8 TComponent.Notification 00548e17         call    +$7328 ($550144)       ; System.Classes.{System.Generics.Collections}TList .GetItem Just wondering if anyone could help shed some light on this I presume its a memory problem  one clue is that when the error occurs (which is after some hours of running the program), any attempt in the code to create a form at run time will produce an access violation error thanks for any insights :)

Still a long way to go but I just felt like sharing.

Still a long way to go but I just felt like sharing. AsyncIO library is a library for asynchronous IO. It's inspired by Boost.ASIO, and uses IO Completion Ports (IOCP) under the hood. However the idea is to keep it pretty well wrapped up, so porting to other implementations should be possible at a later stage. A just-for-fun project for now, but hoping it'll be useful one day. So far I've implemented: - The IOCP core. - Async stream read/write functions, to transfer a minimum or an exact number of bytes from an async stream (AsyncRead/AsyncWrite). - Async file IO (AsyncFileStream). - Async TCP socket (TCPSocket) and async socket IO (AsyncSocketStream). Thanks again to Stefan Glienke for making TestInsight, which I've used actively in this project as well. I'm a n00b as far as unit/integration testing goes to that might show, but with TestInsight it finally feels fun to write tests. As mentioned lots of work remains. I've spent the last weeks improving test cove

I need hep setting up my development environment so I can create cross-platform programs. (Mac and OS).

I need hep setting up my development environment so I can create cross-platform programs. (Mac and OS). In my house there is currently a mixture of Windows and Mac computers that all talk to the internet using wireless. With the exception of one XP machine that is connected to the router using cat-5, the rest are wireless. I'm currently running XE4 Enterprise and I cannot take advantage of cross-platform development because my development machine Windows 7 Professional cannot see or communicate with any of the Macs in the house. I have read and re-read Brian Longs post Delphi for iOS - some notes. http://blog.blong.com/2013/05/delphi-for-ios-some-notes.html I have even read and re-read the Embarcadero articles his blog links to. They all assume there is a network already setup and able to be tapped into. How do I go about setting up my development environment so I can see all the devices in my house. I'm especially interested in learning how to do the xcode piece on one of the

An old blog post that people might like. (Delphi and .NET Interop with JVCL)

An old blog post that people might like. (Delphi and .NET Interop with JVCL)  http://adamjohnston.me/2013/04/14/delphi-dotnet-interop-with-jvcl/ http://adamjohnston.me/2013/04/14/delphi-dotnet-interop-with-jvcl

How to auto fill a label caption with a character. It has to depend on the width and the font used.

How to auto fill a label caption with a character. It has to depend on the width and the font used. In the past I only used monospaced fonts so I could use simple algorithm using the string length.

Given I have two char pointers that point to the start and the end+1 of a substring inside of a large string, whats the quickest way to turn that into a string?

Given I have two char pointers that point to the start and the end+1 of a substring inside of a large string, whats the quickest way to turn that into a string? I used these 2 ways that work and was wondering if there's an even faster/better one (I used 2 first and then changed it to 1 which seemed to be a bit faster). 1.   len := fBufferPos - fStart;   SetLength(s, len);   Move(fStart^, s[1], len * SizeOf(Char)); 1a) modified a bit to avoid UniqueStringU call caused by s[1]   Move(fStart^, Pointer(s)^, len * SizeOf(Char)); 2.    SetString(s, fStart, fBufferPos - fStart);

¿Any SAAS SOA provider u recommend for a Delphi + MySQL App?

¿Any SAAS SOA provider u recommend for a Delphi + MySQL App?
Does Delphi have any inbuilt math functions that operate on arrays / lists / etc?  For example, System.Math has no Median function, so I just wrote one that happens to work with arrays of Int64. But really, a generic Median (...) function would be awesome.  (Syntax would probably have to be different given we don't have generic standalone functions yet, but you get the idea.)  Ditto other common methods that work on more than one or two values at a time.  If I've missed any inbuilt ones... where are they?
Hi everyone!! ...Several years ago I developed a very simple POS (Dephi + MySQL App) for a small fruit store, now they want to open another store. I'm thinking on remote connections or go virtual. ¿any suggestion?

Who remembers these?

Image
Who remembers these?

Every time I see another one implementation of event logging I ask myself why not to use standard Windows EventLog. I've added enhanced support of EventLog to SvCom and here is the example how to use it.

Every time I see another one implementation of event logging I ask myself why not to use standard Windows EventLog. I've added enhanced support of EventLog to SvCom and here is the example how to use it.  http://aldyn-software.com/examples/014-EventLog/index.html

Hello, as Delphi developer, some people abusing version and cost of third party tools , by charging money for unfixed features. And because I lost my over $600 for junk db tools, I like to find someone to fix Aidaim Accuracer db tools, if you think you can fix it and convert it to Delphi XE8, please let me know, I will send you full source to fix, in return you will have full source for this junk tools.

Hello, as Delphi developer, some people abusing version and cost of third party tools , by charging money for unfixed features. And because I lost my over $600 for junk db tools, I like to find someone to fix Aidaim Accuracer db tools, if you think  you can fix it and convert it to Delphi XE8, please let me know, I will send you full source to fix, in return you will have full source for this junk tools.  Thank you

Needed a TEmpty to turn a TPair back into a TSingle

Needed a TEmpty to turn a TPair<> back into a TSingle<>  I've made some generic trees and like so: type   TBaseTree = class   TBaseTree = class(TBaseTree )   TBSTTree = class(TBaseTree )   TBSTTree = class(TBaseTree ) However this creates duplication because I cannot have a single hierarchy.  When I define a TEmpty like so: type   TEmpty = record     class operator Implicit(a: pointer): TEmpty; inline;     class operator Implicit(a: TEmpty): pointer; inline;     class operator Implicit(a: TEmpty): string; inline;   end;   TEmpty = record   public type     PT = ^T;   public     class operator Implicit(a: PT): TEmpty ; inline;     class operator Implicit(a: TEmpty ): PT; inline;     class operator Implicit(a: TEmpty ): string; inline;     class operator Implicit(a: TEmpty ): T; inline;   end; I can say: type   TBSTTree = TBinaryTree Allowing me to have a single hierarchy and reuse more code.  What do you think?

Error reading TGestureStreamData.

Error reading TGestureStreamData.Control: Access violoation address 500D4E00 in module 'rtl220.bpl'. Read of address 00000008 I get this when I am attempting to assign actions to gestures in RadStudio XE8.   Steps: 1) Create new Multidevice application (Header/Footer with navigation) 2) Build and deploy application to android device and to Win32 without errors. 3) Drop a TGestureManager component on the main form 4) Assign Touch.GestureManager on the main form 5) Attempt to assign Touch.Gestures.Standard.Left to PreviousTabAction1 6) Receive access violation above After this i can no longer save the project until I unassign the .Left gesture (receiving the same access violation at each click).  NOTE: It does the same thing for any gesture I try to assign. Am I missing something relatively obvious or is this broken?

Error reading TGestureStreamData.Control: Access violoation address 500D4E00 in module 'rtl220.bpl'. Read of address 00000008

Error reading TGestureStreamData.Control: Access violoation address 500D4E00 in module 'rtl220.bpl'. Read of address 00000008 I get this when I am attempting to assign actions to gestures in RadStudio XE8.   Steps: 1) Create new Multidevice application (Header/Footer with navigation) 2) Build and deploy application to android device and to Win32 without errors. 3) Drop a TGestureManager component on the main form 4) Assign Touch.GestureManager on the main form 5) Attempt to assign Touch.Gestures.Standard.Left to PreviousTabAction1 6) Receive access violation above After this i can no longer save the project until I unassign the .Left gesture (receiving the same access violation at each click).  NOTE: It does the same thing for any gesture I try to assign. Am I missing something relatively obvious or is this broken?

Elevate Web Builder 2 is almost ready, but for now check out this cool application written by Uli Becker using the Elevate Web Builder 2 preview:

Image
Elevate Web Builder 2 is almost ready, but for now check out this cool application written by Uli Becker using the Elevate Web Builder 2 preview: http://www.elevatesoft.com/blog?action=view&id=check_out_this_elevate_web_builder_2_application_ !

Shell+ 3.12 for Delphi XE8 is avalable for download

Shell+ 3.12 for Delphi XE8 is avalable for download http://www.shellplus.com

SO, i found BeginEnd, mh? :D

SO, i found BeginEnd, mh? :D https://www.beginend.net/ https://www.beginend.net
When you install in XE8 from GetIt, where are the files installed to? And does it install sample projects? If so where are they?
What happened to Delphi Pipe?

This 8 minute video shows the new #FastReport exporting capability of #XtremeDocumentStudio #Delphi

This 8 minute video shows the new #FastReport  exporting capability of #XtremeDocumentStudio   #Delphi Originally shared by Gnostice.com Video demo by Girish Patil on ‪#‎FastReport‬ export using XtremeDocumentStudio ‪#‎Delphi‬ http://www.youtube.com/watch?v=6YmtnpZmUlQ

This is really annoying.

Image
This is really annoying. When debugging OSX apps I get this error: Fatal error starting debugger kernel: ‘Invalid debugger request’. Please save your work and restart Delphi XE7. Anyone else experienced this?

This is really annoying. When debugging OSX apps I get this error: Fatal error starting debugger kernel: ‘Invalid debugger request’. Please save your work and restart Delphi XE7. Anyone else experienced this?

Image
This is really annoying. When debugging OSX apps I get this error: Fatal error starting debugger kernel: ‘Invalid debugger request’. Please save your work and restart Delphi XE7. Anyone else experienced this?

Originally shared by Gnostice.com

Image
Originally shared by Gnostice.com Gnostice XtremeDocumentStudio Delphi 2015 R6 released http://www.gnostice.com/XtremeDocumentStudio_Delphi.asp?show=history Gnostice is pleased to announce the release of Version 2015 R6 of XtremeDocumentStudio Delphi, the next-generation multi-format document-processing framework for Delphi/C++Builder developers on VCL and FireMonkey platforms. In this release, we have introduced a new report-export component called TgtFRExport for use with FastReport reports. Now, you can just drop the component on your report form and it will take care of interfacing with the report and export the content to several new formats including PDF, PDF/A, XLSX, RTF, HTML, XHTML, TXT, SVG, PNG, JPEG, and GIF.

So.

So...  Does the TMapview component ONLY work on mobile devices?  I made a multiplatform test application and it built just fine, but nothing I do with the map component will actually show a map when I run it under 32bit Windows...
So...  Does the TMapview component ONLY work on mobile devices?  I made a multiplatform test application and it built just fine, but nothing I do with the map component will actually show a map when I run it under 32bit Windows...

Looking for ‎ODBC‬ drivers or having problems with standard ones?

Looking for ‎ODBC‬ drivers or having problems with standard ones?  Download new Devart ODBC drivers. Working great both on 32 and 64 bit systems.  Check the details http://goo.gl/gL7q0D http://goo.gl/gL7q0D

Go orn, give it a try folks....

Go orn, give it a try folks.... Originally shared by RAD Studio New in XE8! Get started with AppAnalytics for free! It’s easy to start tracking end user behavior in your app! http://embt.co/1JUpRBO

Go orn, give it a try folks....

Go orn, give it a try folks.... Originally shared by RAD Studio New in XE8! Get started with AppAnalytics for free! It’s easy to start tracking end user behavior in your app! http://embt.co/1JUpRBO

It will begin... soon :-)

Image
It will begin... soon :-)
Anyone know if HTML5 Builder comes with Delphi XE8 Enterprise or is it only with RAD Studio - I can't find any definitive answer on Embarcadero's web site.
Is there a plan for a new radstudio roadmap? Specifically we have all linux servers, and in the past roadmap i read that will be a compiler for linux to do console app for linux like dsnap servers. Is it already in the roadmap?

- Summary of "Delphi's New Feature Desired" Serie -

- Summary of "Delphi's New Feature Desired" Serie - Feature: [Title] - [Agree rate/ Disagree rate] Feature: Nullable Types and Null Propagation - 51%/49%  Allen Bauer disagreed this feature thus hardly ever it will come in next major version. Feature: Native Tuple Types - 49%/51% Allen Bauer disagreed this feature thus hardly ever it will come in next major version. Feature: Smart Properties declaration for Interfaces - 69%/31% Allen Bauer disagreed this feature thus hardly ever it will come in next major version. Pretty sad :'(, I have more "Delphi's New Feature Desired" posts that would come soon but now I'm thinking about killing this serie.

I have a 2TB NAS (LaCie D2) that I think just failed. We store our pictures and other documents on there. We'll take it to get the data recovered, but any ideas on how we can back up files (about 800 gb or so) reliably?

I have a 2TB NAS (LaCie D2) that I think just failed. We store our pictures and other documents on there. We'll take it to get the data recovered, but any ideas on how we can back up files (about 800 gb or so) reliably? Hard drives don't last forever, and I have a Blu-ray writer, but the blank Blu-ray disks I have are only 25GB each. Perhaps buy two 3TB external drives and have redundant backups to go with the NAS (when we get a new one)?
Are there any components / libraries that support form design at run-time in FMX, on mobile devices?

I try change Layout to Undocked , then I get toolbar missing :3 how to fix this ??? TIA

Image
I try change Layout to Undocked , then I get toolbar missing :3 how to fix this ??? TIA

Beyond Compare v4.1 beta released.

Beyond Compare v4.1 beta released. Notable changes: * Added 64-bit Windows and Linux builds. * Updated Linux build to use Qt 4.8 instead of Qt 3.3. * OS X/Linux: Added read/write support for .7z archives and read-only   support for many additional types (.iso, .rar, .dmg, etc). * Added support for .xz and .tar.xz archives. * OS X: Added MP3 compare with playback support. * Windows: Added support for Microsoft OneDrive. * Windows: Comparing MS Excel spreadsheets (.xls/.xlsx) is now   significantly faster and no longer requires Excel. * OS X/Linux: Added support for MS Word documents (.doc/.docx). About: Beyond Compare is a directory and file compare utility for Windows, OS X, and Linux.  It supports comparing and merging directory trees side-by-side with mismatches highlighted, and powerful filters to limit the display to just want you want to see.  Files can also be compared and edited, with specialized viewers for binary files, CSV and MS Excel spreadsheets, images, and Windows regist

If this Article is right, i am even more puzzled why people like Pure-GC environments like .Net CLR o.O

If this Article is right, i am even more puzzled why people like Pure-GC environments like .Net CLR o.O http://ericlippert.com/2015/05/18/when-everything-you-know-is-wrong-part-one/?utm_content=bufferbbd7a&utm_medium=social&utm_source=plus.google.com&utm_campaign=buffer http://ericlippert.com/2015/05/18/when-everything-you-know-is-wrong-part-one/?utm_content=bufferbbd7a&utm_medium=social&utm_source=plus.google.com&utm_campaign=buffer

AsciiImage for Delphi is now officially featured on http://asciimage.org/

AsciiImage for Delphi is now officially featured on http://asciimage.org/ Besides, DownSampling to avoid Aliasing has ben added(can be set from none to x8, x8 is default) and the Assign-Method has been implemented. You can finally use it in a TImage(for simple shapes which do not require a callback for coloring). Use Stretch of TImage to create upscaled versions. Designtimepackage-Project added http://asciimage.org

I think the picture speaks for itself.

Image
I think the picture speaks for itself. Get the alpha version (supports XE6-XE8 - please don't ask for other versions right now): http://1drv.ms/1Pz5s9o Please read the README.txt and don't bother me with questions it answers, thank you and enjoy! :)

It's allergy season again for me and I'm going crazy with itchy/watery eyes. This makes development work pretty tough. I've tried many over-the-counter and a few homeopathic remedies, but none seem overly helpful.

It's allergy season again for me and I'm going crazy with itchy/watery eyes.  This makes development work pretty tough.  I've tried many over-the-counter and a few homeopathic remedies, but none seem overly helpful.  If you have seasonal allergies that affect your eyes, what have you found that works to relieve the symptoms?

[XE3:] While debugging, digging deep in the message processing, the IDE suddenly vanishes and my browser opens and...

Image
[XE3:] While debugging, digging deep in the message processing, the IDE suddenly vanishes and my browser opens and shows "Product or License Validation Error"; while losing all break points and their conditions. What sick brain has devised this shit?! My XE3 is licensed. Perhaps I should search the net for a cracked version to avoid this situation in the future.

[XE3:] While debugging, digging deep in the message processing, the IDE suddenly vanishes and my browser opens and shows "Product or License Validation Error"; while losing all break points and their conditions. What sick brain has devised this shit?!

Image
[XE3:] While debugging, digging deep in the message processing, the IDE suddenly vanishes and my browser opens and shows "Product or License Validation Error"; while losing all break points and their conditions. What sick brain has devised this shit?! My XE3 is licensed. Perhaps I should search the net for a cracked version to avoid this situation in the future.

Just found a solution to do AntiAliasing with plain GDI by doing some kind of DownSampling (as described here: http://www.codeproject.com/Articles/21520/Antialiasing-Using-Windows-GDI). In this picture you see the PokeBall(Ascii-Resolution of 16x16) rendered to a 32x32 Image. First normal drawing, second with Downsampling(By using a temp-target scaled by 8). I think this looks gorgeous. Only drawback is, you can't toggle AA per shape, but only for the whole Picture. But is that really a draw back here!?

Image
Just found a solution to do AntiAliasing with plain GDI by doing some kind of DownSampling (as described here: http://www.codeproject.com/Articles/21520/Antialiasing-Using-Windows-GDI ). In this picture you see the PokeBall(Ascii-Resolution of 16x16) rendered to a 32x32 Image. First normal drawing, second with Downsampling(By using a temp-target scaled by 8). I think this looks gorgeous. Only drawback is, you can't toggle AA per shape, but only for the whole Picture. But is that really a draw back here!?
Is there any option to auto-start DATASNAP application server like MIDAS DCOM server?  Because our DATASNAP server always getting APPCRASH exception.

And here it is:

And here it is: AsciiImage for Delphi http://memnarch.bplaced.net/blog/?p=129 http://memnarch.bplaced.net/blog/?p=129

Let say I have two components: TThirdPartComponent TDataAwareThirdPartComponent. The second is inherited from the first.

Let say I have two components: TThirdPartComponent TDataAwareThirdPartComponent. The second is inherited from the first. I create a new component from TThirdPartComponent, add functionalities and so far so good. Now, I want these functionalities to be reflected in the descendents of TDataAwareThirdPartComponent too but. Which is the best way to achieve that ?

It was only a matter of time...

It was only a matter of time... [dcc32 Fatal Error] Test.pas(461): F2084 Internal Error: I18858 Anyone seen this I18858 before? Seems to be inlining related, if I comment out the inline keyword on a procedure I call in my method, it doesn't barf. edit: https://quality.embarcadero.com/browse/RSP-11186

Boom! Fooled by your own compiler: https://quality.embarcadero.com/browse/RSP-11184

Boom! Fooled by your own compiler: https://quality.embarcadero.com/browse/RSP-11184 Now wouldn't it be nice if the compiler would raise a W1035 Return value of function might be undefined for managed types? I think that issue has been brought up "recently" (not listing the dozen duplicates of that issue)  http://qc.embarcadero.com/wc/qcmain.aspx?d=894 Oh, btw, FixInsight finds these errors! ;)

reports on Lollipop

Image
reports on Lollipop
Any one know how to deploy an Xe7 application that use IBLite under Android 5 Lollipop... the lybgds.dylib that i use with XE5 or XE7 is not compatible with ART Kernel

Blog post "Article on Developing for Windows 10 with RAD Studio XE8" at http://blog.

Blog post "Article on Developing for Windows 10 with RAD Studio XE8" at http://blog.marcocantu.com/blog/2015-may-article-windows10-xe8.html http://blog.marcocantu.com/blog/2015-may-article-windows10-xe8.html

Blog post "Article on Developing for Windows 10 with RAD Studio XE8" at http://blog.marcocantu.com/blog/2015-may-article-windows10-xe8.html

Blog post "Article on Developing for Windows 10 with RAD Studio XE8" at http://blog.marcocantu.com/blog/2015-may-article-windows10-xe8.html http://blog.marcocantu.com/blog/2015-may-article-windows10-xe8.html
There is a way to view the name of the files included in the .EXE file created by Delphi Compiler?

Is there an official GExperts for XE8 yet?

Is there an official GExperts for XE8 yet?   If so, where do I get it. As a side note -- is gexperts.org updated anymore?
anyone knowns how to remove all marker into TMapView Delphi XE8?

New blog post https://theroadtodelphi.wordpress.com/2015/05/19/vcl-styles-nonclient-area-new-features/

New blog post  https://theroadtodelphi.wordpress.com/2015/05/19/vcl-styles-nonclient-area-new-features/ https://theroadtodelphi.wordpress.com/2015/05/19/vcl-styles-nonclient-area-new-features

Originally shared by Reinier Romero

Originally shared by Reinier Romero Hello developers, this application is written in Free Pascal with Lazarus, for windows and linux and i want to release a Mac version but i not have anything of this OS, the application is Open source and the code is share for all,  somebody can help me to try compile in Mac, run it and share Print screens of this, erros bugs etc???? https://sites.google.com/site/awggproject/

Is there a function in the OTAPI that returns the symbol name at the cursor? I don't want to know how to parse that myself using the editor buffer!

Is there a function in the OTAPI that returns the symbol name at the cursor? I don't want to know how to parse that myself using the editor buffer!

Blogged about my view on Delphi IDE http://t.co/HZyNNJc1ZY

Blogged about my view on Delphi IDE  http://t.co/HZyNNJc1ZY

Is there any smart way to test for Speed (Code performance) to catch speed regressions. In DUnit or other. I have some ideas what it should measure and how.

Is there any smart way to test for Speed (Code performance) to catch speed regressions. In DUnit or other. I have some ideas what it should measure and how.  What I can say just on top of my head there should be: 1. It should run the test many times and record the time with highest accuracy possible 2. Maybe filter out slowest if seems to be interference of other processes 3. Should run the test in Real-time priority 4. Save results with info OF Computer and CPU model (And maybe more info).  Maybe some Application of Library Version Number And Have some Graphs on the results. 5. Maybe Some warning report if Some suddenly Changes quite lot (If something important was taken out and it is faster but does not work) or something is suddenly very slow and you could check what is actually causing it.  I am been thinking of and library and now I have to figure out some very core internals and it affects the speed and memory usage. And without measuring I can't make any Choice what so ever

TIOBE Index and GitHut.

Image
TIOBE Index and GitHut. My humble conclusion: Delphi has actually grown as a commercial tool, people love it so much, but lacks more open-source projects, sad to say :'(
I seem to have lost my XE8 file associations from Explorer, anyone got a correct method of re-associating things?  I think it was using BdsLauncher.exe (didn't look closely prior to this) but that app might need a registry setting or some other parameter maybe as its not working.  Either Win7 update has killed the association or a recent install of VS.

Those of you who have kids (not me ...that I know of), check out what language is used in this kid's programming alphabet book at "D is for..."

Those of you who have kids (not me ...that I know of), check out what language is used in this kid's programming alphabet book at "D is for..." https://www.kickstarter.com/projects/627324241/programming-languages-abc Btw this is the book's preview, perhaps a more useful link:  https://s3.amazonaws.com/cdn.inedo.com/abc/ABC_Book_DRAFT_COPY.pdf https://www.kickstarter.com/projects/627324241/programming-languages-abc
I've been browsing some other groups here on g+. None is especially interesting compared to this one. As a perfect OT I'd like to invite you to comment and recommend other groups. Does absolutely not have to do with Delphi. But the groups recommended should contain mainly "quality" threads at the level of this one. Thank you so much! Let's see if i can select the appropriate properties for this post from this phone :)

Anybody here still use codenewsfast.com (used to be Tamarack)? For some reason it is redirecting to https://www.ifeelnaked.org/ (NSFW!) I haven't used it in awhile so not sure how long this has been happening.

Anybody here still use codenewsfast.com (used to be Tamarack)?  For some reason it is redirecting to https://www.ifeelnaked.org/ (NSFW!)  I haven't used it in awhile so not sure how long this has been happening.

I updated the documentation to reflect the latest state of our Open Source framework, for creating state-of-the-art CQRS Persistence Services in Delphi, following DDD best practices.

I updated the documentation to reflect the latest state of our Open Source framework, for creating state-of-the-art CQRS Persistence Services in Delphi, following DDD best practices. You can persist any kind of class, even complex with nested class instances, with no need to inherit from a fixed parent class, then store the content in most SQL or NoSQL engines using the framework ORM core. The fact that persistence is defined as interface services also features direct stubing/mocking of it, for easy unit testing of your precious business code. And you could access this persistence service remotely, via a JSON REST access point, if needed. #DDD   #CQRS   #Delphi   #ORM   #ODM   #MongoDB   #SQL   #NoSQL   #SOA   #OpenSource   #mORMot   http://blog.synopse.info/post/2015/05/18/CQRS-Persistence-Service-of-any-DDD-object-with-mORMot

Hi All

Hi All  $9 computer.  Hopefully it will run Android someday and we can create apps for it in Delphi. https://www.kickstarter.com/projects/1598272670/chip-the-worlds-first-9-computer   https://www.kickstarter.com/projects/1598272670/chip-the-worlds-first-9-computer

I am impressed... how does EMB manage to keep the up-time of the forums below 50% ? - it must require a strong knowledge of the underlying system to make it perform that bad :-)

I am impressed... how does EMB manage to keep the up-time of the forums below 50% ? - it must require a strong knowledge of the underlying system to make it perform that bad :-) https://forums.embarcadero.com/

Nice to see other GetIt additions, any other suggestions ?

Nice to see other GetIt additions, any other suggestions ? http://www.thedelphigeek.com/2015/05/omnithreadlibrary-getit.html

IDE Fix Pack 5.92 released for RAD Studio 2009-XE8.

IDE Fix Pack 5.92 released for RAD Studio 2009-XE8. http://andy.jgknet.de/blog/2015/05/ide-fix-pack-5-92-released/
Do you think a cross-platform game library for FireMonkey would succeed? Is there interest on it? :D

Starting to write another add on for the IDE (for work) and came across a situation in that the "procedure Register;" method wasn't being called. Yes, the case was correct but what I didn't know was that it failed to get called because the unit had an underscore in the name of it!!

Starting to write another add on for the IDE (for work) and came across a situation in that the "procedure Register;" method wasn't being called. Yes, the case was correct but what I didn't know was that it failed to get called because the unit had an underscore in the name of it!! Removed the underscore and the Register method got called. This might be because an underscore is a "special" character in the mangled version of the name... but that is a guess on my part. Just thought I would share this so others won't get caught out.

This compiles in XE8 and places a soccer ball in the caption of a VCL label. No special font required.

This compiles in XE8 and places a soccer ball in the caption of a VCL label. No special font required. var Emoji⚽️ : string;  begin      Emoji⚽️:= '⚽️';      label1.Caption :=  Emoji⚽️;  end;  Just because it works, doesn't make it a good idea.

Report Printer Pro - RAVE question, using the latest 11.0.10

Report Printer Pro - RAVE question, using the latest 11.0.10 Unfortunately I still have a few reports using these components.  I'll be switching it out for the next release of my app, trying to get the current release out!   In the mean time, any time I try printing the contents of a "BlobType" of ftMemo, I'm getting Chinese characters (want English, what it was entered as).   The database character encoding is UTF-8 (from Firebird 2.0.6 database).  The content displays fine in a memo control.   I haven't found any settings/properties on the components to set up the code page, or the like.  Here's a snippet of code:  Memobuf := TDBMemobuf.Create;  Memobuf.PrintStart := TabStart(1);  Memobuf.PrintEnd := TabEnd(1);  Memobuf.Field := (qryJONotes.FindField('COMEMO') as TMemoField);  MemoBuf.BaseReport := ReportPrinter;  lines := memolines(memobuf);  SetTab(0.75, pjLeft, 7, 5, BOXLINELEFTRIGHT, 0);  PrintTab(getmemoline(Memobuf, EOL)); Thanks, Curt

Does anyone know how to solve the issue with the file cache of the GExperts search? It always blows into my face when doing a search after changing my git branch and it had some files cached that don't exist anymore with the message:

Does anyone know how to solve the issue with the file cache of the GExperts search? It always blows into my face when doing a search after changing my git branch and it had some files cached that don't exist anymore with the message: The file blabla.pas does not exist. Search therefor does not work anymore until I switch back the branch or restart the IDE.

How is Google's Unwanted Software Policy affecting you?

How is Google's Unwanted Software Policy affecting you? Although Google doesn't come straight out and say it, I believe this is an attempt by Google to stop the practice of embedding secondary offers inside software installs. I'm referring to the practice of deceptively adding stuff like Installation of the ASK toolbar as part of a software install. What are your thoughts an Google's unwanted software policy? http://www.google.com/about/company/unwanted-software-policy.html?hl=en

Delphi's New Feature Desired: Nullable Types and Null Propagation

Delphi's New Feature Desired: Nullable Types and Null Propagation Nullable types are a common feature on the .NET Runtime, but Delphi does not supply a language integration to we have fun with it. Nullable types should have the following characteristics (borrowed from .NET):   - Nullable types represent value-type variables that can be assigned the value of nil. You cannot create a nullable type based on a reference type. (Reference types already support the nil value.)   - Assign a value to a nullable type just as you would for an ordinary value type. A nullable type can also be assigned the value nil.   - Use the GetValueOrDefault(const obj: TNullable ) global function to return either the assigned value, or the default value for the underlying type if the value is nil.   - Use the HasValue and Value global functions to test for nil and retrieve the value.   - The HasValue global function returns true if the variable contains a value, or false if it is nil.   - The Value global f

An updated version of DDDebug, my Delphi Memory Profiler, is available for download. This release now also supports Delphi XE8 32/64bit.

An updated version of DDDebug, my Delphi Memory Profiler, is available for download. This release now also supports Delphi XE8 32/64bit. http://ddobjects.de/dddebug

Just a simple question: is possible to create a webservice with JSON response, compatible, using Delphi XE7?

Just a simple question: is possible to create a webservice with JSON response, compatible, using Delphi XE7? I am using TFDJSONDataSets but someone already told me to not use it. I just need a simple compatible JSON result, but I receive {"type":"Data.FireDACJSONReflect.TFDJSONDataSets","id":1,"fields".. as result... and the data such {"FData":"QURCUw4AtQ...  When using a JSON output, result: [{"historico":"QURCUw4AAACGeAAA\/wABAAH\/Av8DBAAOAAAA I can remove that "result" and [] after dig the web, but that not possible to the client to understand.

Testing... So lets say you're writing some wrapper library, for example around the named pipe API* in Windows. So you're wrapping CreateNamedPipe, CreateFile, ReadFile, WriteFile etc.

Testing... So lets say you're writing some wrapper library, for example around the named pipe API* in Windows. So you're wrapping CreateNamedPipe, CreateFile, ReadFile, WriteFile etc. So what's the best way of writing tests for something like this? Drop testing of the lower-levels and only test that the higher-level stuff works? Ie that you can create a pipe, connect to it and the data sent is received ok? It seems unit testing is of limited value, as each call in isolation is not very useful. Maybe I'm missing something? I'll admit I'm rather inexperienced when it comes to unit testing. Input very much appreciated. *No, I'm not writing a named pipe library.

More and more Devart #Delphi components receive #XE8 support. Check the full list of SecureBridge improvements and download new version now

More and more Devart #Delphi components receive #XE8 support. Check the full list of SecureBridge improvements and download new version now    http://goo.gl/bkryJu http://goo.gl/bkryJu

Embarcadero should be embarrassed. When selecting a forum link from within G+ on Android, this is what happens.

Image
Embarcadero should be embarrassed. When selecting a forum link from within G+ on Android, this is what happens. Marco Cantù - can't someone fix this?
I need to print from Android 4.4.  Has anyone done this using the new native printing built into Android 4.4?  If so, can you share some code.

Hi!

Hi! ...I'm trying to figure out how to use the virtual keyboard from w8 in a metro vcl xe3 app. Just found a code to show the virtual keyboard via shellexecute tabtip.exe ....and now the question is how to close it ...any ideas?
Hi! ...I'm trying to figure out how to use the virtual keyboard from w8 in a metro vcl xe3 app. Just found a code to show the virtual keyboard via shellexecute tabtip.exe ....and now the question is how to close it ...any ideas?

I am taking the plunge and starting on my first FireDAC project.

I am taking the plunge and starting on my first FireDAC project.  I am working in XE8, freshly installed on win32.  When I set my connection DriverName to "ODBC", the FireDAC.Phys.ODBC, and FireDAC.Phys.ODBCDef units get included and I can no longer build my project, and it no longer compiles due to the following error: [dcc32 Fatal Error] data.pas(18): F2613 Unit 'FireDAC.Phys.TDataMeta' not found.   data.pas(18): Unit 'FireDAC.Phys.TDataMeta' is used by 'FireDAC.Phys.ODBC' Bug?

I am taking the plunge and starting on my first FireDAC project. I am working in XE8, freshly installed on win32. When I set my connection DriverName to "ODBC", the FireDAC.Phys.ODBC, and FireDAC.Phys.ODBCDef units get included and I can no longer build my project, and it no longer compiles due to the following error:

I am taking the plunge and starting on my first FireDAC project.  I am working in XE8, freshly installed on win32.  When I set my connection DriverName to "ODBC", the FireDAC.Phys.ODBC, and FireDAC.Phys.ODBCDef units get included and I can no longer build my project, and it no longer compiles due to the following error: [dcc32 Fatal Error] data.pas(18): F2613 Unit 'FireDAC.Phys.TDataMeta' not found.   data.pas(18): Unit 'FireDAC.Phys.TDataMeta' is used by 'FireDAC.Phys.ODBC' Bug?

Is $IFEND deprecated? I had a discussion with a coworker about the compiler switch "$LEGACYIFEND ON" which forces $IF to be closed by $IFEND. With "$LEGACYIFEND OFF" (default) you can ALSO use $ENDIF.

Is $IFEND deprecated? I had a discussion with a coworker about the compiler switch "$LEGACYIFEND ON" which forces $IF to be closed by $IFEND. With "$LEGACYIFEND OFF" (default) you can ALSO use $ENDIF. So do you think that this is a sign that $IFEND is disappearing in future?

Fun code of the day:

Fun code of the day: var   a, b: DynamicArray ; begin   a := [0,1,2,0,1,2,3,4,5,6,7,8,9];   b := [5,6,7,8,9,10,11,12,13,14];   Writeln((a xor b).ToString); What's the output?
Is ARC (aka NextGen) for all Firemonkey plattforms used or just for the mobile (iOS and Android) plattforms?

WebSockets (server side). What have we got?

WebSockets (server side). What have we got? Andre's Open Source DelphiWebSockets. mORMot implementation sEsGeCe.com WebSockets for Delphi (paid) /n software IPWorks WS Eldos HTTPBlackbox
Wouldn't it be great if there was a common layer for all HTTP stuff like TDataset? In my vision i would be able to choose the base implementation like Indy or RTC and then i could use implementations of LDAP, WebSockets, IMAP, WebDAV, OData and so on and so forth from other vendors or open projects. No?
Is there a cross-platform implementation of memory mapped files somewhere that can be used in FMX apps?

Anyone at Embarcadero Technologies : any plans to add native controls in Firemonkey for other platforms except iOS?

Anyone at Embarcadero Technologies : any plans to add native controls in Firemonkey for other platforms except iOS? A native TEdit with a native context menu would be great on OSX for example.
Anyone at Embarcadero Technologies : any plans to add native controls in Firemonkey for other platforms except iOS? A native TEdit with a native context menu would be great on OSX for example.

Hello

Hello I'm trying to Delphi DataSnap server using xe7 with MSSQL database. I have a GetAnyProc method. This metod is call storedprocedure use TFDStoredProc. when i call getanyproc method then my sql procedure is run twice. When i call sp doing insert then inserted doblicate row. function TServerMethods1.GetAnyProc(const Tip, SqlStr, ParamStr: string): TFDJSONDataSets; begin   GenProc.Active := False;   GenProc.Params[1].Value := Tip;   Result := TFDJSONDataSets.Create;   TFDJSONDataSetsWriter.ListAdd(Result, GenProc); end; can anyone help

Hello!

Hello! So, I did it! i bought XE8 Pro with Mobile (no FireDac for now). My main issue is how to install the mobile part properly. When I tried XE5, it was trying to install its own SDK version. Question? Would you advise that? Would it be, instead, better to install the normal one? Experiences? A

I've found a solution to send SMS from Android device. (http://www.fmxexpress.com/send-and-fetch-sms-messages-with-delphi-firemonkey-on-android/) Unfortunately it isn't working on Lollipop. Do you have any idea? I tried it and always closed after the splash screen.

I've found a solution to send SMS from Android device. ( http://www.fmxexpress.com/send-and-fetch-sms-messages-with-delphi-firemonkey-on-android/ ) Unfortunately it isn't working on Lollipop. Do you have any idea? I tried it and always closed after the splash screen. http://www.fmxexpress.com/send-and-fetch-sms-messages-with-delphi-firemonkey-on-android

Hello group

Hello group, I need to implement Active Directory authentication in Delphi Intraweb application.  can anyone help with some resources. Thanks in advance.

Annoying bug with help system in #Delphi #XE8 . Any thoughts to fix it?

Image
Annoying bug with help system in #Delphi #XE8 . Any thoughts to fix it?

IDE new hint suggestion

IDE new hint suggestion if Condition then     Str := 'SomeString';     i := 5; ShowMessage(Str); Warning: suspect indentation at line 3 I'm not sure it will not be too verbose, but It can probably fix a lot of bugs ;)

Simon Stuart mate, do you still have the Twitter Streaming API example that was on your website? Would you mind sharing it with us (i.e. me? :D)

Simon Stuart mate, do you still have the Twitter Streaming API example that was on your website? Would you mind sharing it with us (i.e. me? :D) Thanks! A

SomeBody remembering the "Replacing NSStrings with Photoshop" Blogpost?

Image
SomeBody remembering the "Replacing NSStrings with Photoshop" Blogpost? http://cocoamine.net/blog/2015/03/20/replacing-photoshop-with-nsstring/ Currently working on a Delphi-Version.

Hi!

Hi! I am writing a new post on Linked-in, trying to make a case for a few things that EMB could do. There is something, however, that I am not completely sure about: what was the minimum version for Usertility? Jacob Thurman ? A

Originally shared by Boian Mitov

Originally shared by Boian Mitov There is an article about Visuino (Graphical Arduino Programming IDE) in the "Blaise Pascal Magazine": http://www.blaisepascal.eu/ Part 2 will be in the next Issue with how to connect to Arduino from Delphi using Visuino #Arduino #Visuino #Delphi http://www.blaisepascal.eu

Hi Guys

Hi Guys, I want to start a new mobile application, using firedac, (datasnap?) and mysql database. There is a way to connect to datasnap server application using firedac, instead of tsqlconnection? And execute sql commands on the server database connection, in the client application ? I remember that I read some articles about it, but now, I cant  find it. What is the best approach using XE7 to do this job?  Maybe Reflection ?

DelphiBaseNcoding

DelphiBaseNcoding This is a Port of BaseNcoding Library from CSharp to Delphi by me. Library for encoding binary data to strings using base32, base64, base85, base91, base128, base256, base1024, base4096 and other algorithms. https://github.com/Xor-el/DelphiBaseNcoding

Pictures and demo of our last live event (in Italy)! #xe8

Pictures and demo of our last live event (in Italy)! #xe8 Originally shared by Andrea Magni Wintech Italia Paolo Rossi  #delphi  #xe8

SvCom for Delphi XE8 is avaialble now

SvCom for Delphi XE8 is avaialble now http://aldyn-software.com/svcom.html

Hi

Hi Has anyone successfully installed XE8 for android development from the ISO? I've installed it on 2 computers and ADB hasn't been installed on either... (I tried posting to the EMB community site but that seems to be broken) Vince

I did not make it, but no other category fitted, and TBCEditor is worthy of its own post, rather than just comments in an unrelated thread :)

I did not make it, but no other category fitted, and TBCEditor is worthy of its own post, rather than just comments in an unrelated thread :) https://github.com/bonecode/TBCEditor Well worth checking out! https://www.delphitools.info/2015/05/11/tbceditor-syntax-highlighting-editor

Hello!

Hello! I AM STILL WAITING FOR CONFIRMATION FROM EMB THAT THIS IS FACTUALLY CORRECT AND NO MISTAKES HAVE BEEN MADE ONTHE WEBSITE but it should be. If you are willing to upgrade to XE8, an easy and relatively cheap way is this: - Buy Delphi XE8 PRO upgrade using the offer - Add the mobile pack in upgrade (you can if you buy with a subscription) - Add FireDac if you need it This is a lot cheaper and gives you a foothold into the most recent version of Delphi. When/If you start making money, nobody stops you from upgrading again so that it pays for itself. It's taken me a lot of reading to come up with this plan, so please feel free to share it far and wide :) Cheers, A

HI group

HI group Have a problem with error (XE6 compiled program) entry point _except_handler4-commen could not be located in the dynamic link library msvcrt.dll for users of my software on windows xp but I think its a bit of a red herring, and is related to some other dll file that I am reg server with inno setup...but I lost my original inno .iss file.. anyway, just looking for pointers (other than telling customers what the heck are you still using win xp) :)

HTML Editor Library trial is now available for Delphi 6 - Delphi XE8

HTML Editor Library trial is now available for Delphi 6 - Delphi XE8 Please use the following link to download it: http://delphihtmlcomponents.com/editor.html http://delphihtmlcomponents.com/editor.html

XE8 deploying files with your app (Win32, iOS)

XE8 deploying files with your app (Win32, iOS) I've been trying to follow DavidI's post here ( http://blogs.embarcadero.com/davidi/2013/11/23/43005 ) but I'm finding that the external file seems to be cached somewhere. I can add the file, run it on iOS and the file is there, no problem (I don't have any case-sensitive issues, it's working ok and finding the right file). But if I go and change the contents of the file that I added (it's a text file, the contents will change during the app development), I only ever see the old version of the file on iOS - even if I hit the 'reconcile' button on the Deployment screen. However, removing the file completely and then adding it in again causes it to pick up my changes. Is there some way of saying to Delphi 'always send over the latest copy of this file'? Am I missing some 'doh!' step that I should have taken somewhere? :-) Sorry if I haven't explained this very well. I'm assuming the XE5

Does anyone know how to get any of the Project Manager's context menus (TPopupMenu)? In particular the Project's context menu, instead of "Group Project", "Build Configuration", "Platforms", "Contains..." context menu.

Does anyone know how to get any of the Project Manager's context menus (TPopupMenu)? In particular the Project's context menu, instead of "Group Project", "Build Configuration", "Platforms", "Contains..." context menu. I don't want to add to the menu, I want access to it so I can modify it - Please don't ask why...
Using a DI container without understanding certain design principles, design patterns and what purpose DI serves is like using an excavator without knowing where and what to dig for - just saying

We are happy to announce the release of kbmMW v. 4.81.00

We are happy to announce the release of kbmMW v. 4.81.00 Professional and Enterprise Edition. kbmMW continues to set the bar for what an n-tier product must be capable of in the real world! Keywords for this release: - State of the art XML/JSON marshalling improvements! - Better jQuery integration! - Bug fixes! Look at end of post for detailed list of additions, changes and fixes. Professional and Enterprise Edition is available for all with a current active SAU. If your SAU has run out, please visit our shop to extend it with another 12 months. kbmMW CodeGear Edition is available for free for Delphi XE6/Win32, XE7/Win32, XE8/Win32 and includes kbmMemTable CodeGear Edition. It can be used for commercial work and require no royalty or distribution payment for compiled user executables. Please visit https://portal.components4developers.com to download. ---- kbmMW is the premiere n-tier product for Delphi, C++Builder and FPC on .Net, Win32, Win64, Linux, Java, PHP, Android, IOS, embedded

Hey guys

Hey guys, How do I create thread-local variables in Delphi? Do I use some class or attribute for flag that the variable is thread-local? Do I use "threadvar" modifier for this purpose? Thanks in advance :D

Hey guys

Hey guys, How do I create a "internal" class for an unit? For that other users are not able to use it, I wish the class was not nested in another one. Is there something as .NET-like internal modifier for Delphi? :D Thanks in advance :D

Select the Delphi units you want to debug with Selective Debugging:

Select the Delphi units you want to debug with Selective Debugging: http://www.uweraabe.de/Blog/2015/05/08/selective-debugging/ http://www.uweraabe.de/Blog/2015/05/08/selective-debugging

TStringHelper is just broken, even at compiler level.

TStringHelper is just broken, even at compiler level. Its injected methods do NOT work for sub types. The following would not compile: type   mystring = type string; var s: string;     s2: mystring; begin   s := '1234';   writeln(s.IndexOf('3'),'=2');   s2 := '1234';   writeln(s2.IndexOf('3'),'=2'); It complains on the last line compilation (I tested with XE6), with a: [dcc32 Error] stringhelper.dpr(20): E2018 Record, object or class type required IMHO this is just a show stopper. If you define your own sub-type, you would not be able to use the string helper syntax. Then you would have to use the system.pas classic functions - which will work, of course. I use a lot of those custom types, which are IMHO mandatory to write safe code. Strong typing, even for simple types, is a very good practice. If you define type   TTimeInSeconds = type double;   TTimeInMilliseconds = type double; Then the compiler will make a difference between a second

Hi!

Hi! There's something I really do not like with the EMB marketing these days: have you seen all of those "white papers" that you can download only after having given your details? Why can't we (EDN registered users) have them in an appropriate download section? I think it would make a lot more sense. Also, people are usually not very happy to give their details in fear that they may be spammed. Or, to avoid that, they will give a "spammable" email address. So, why bother? Wouldn't it be easier to say "Register to the EDN", which - incidentally - would also give them access to plenty of resources? Isn't that what EMB ultimately wants for its customers, i.e. have all the tools, understanding and knowledge to make an informed decision about buying? I think their methods are quite outdated and frankly I am surprised that nobody has pointed this out yet. Opinions? A

Hi!

Hi! someone have experience with attribute [JSONReflect ] for serialization?  i'm triing to use :  [JSONReflect(TConverterType.ctTypeObjects, TReverterType.rtTypeObjects, TRowsInterceptor)] to avoid xe8 bug with tobjectlist.  TRowsInterceptor is a TJSONInterceptor descendant, where I define  TypeObjectsConverter  and TypeObjectsReverter.  Serialization is ok, but unmarhaslling not.  in rest.jsonreflect unit, at line 2825 (xe8) there's a exception "not implemented" that is always raised =O
Just out of curiosity: how many of you have a "Pro" Linked-in account?

This will likely be the first in a series of questions as I migrate a D5 desktop app to an XE8 based desktop app.

This will likely be the first in a series of questions as I migrate a D5 desktop app to an XE8 based desktop app. I downloaded and installed the trial last week and I'm a sucker for the themes. But that is not what this first question is about. My current app makes use of Alternate Data Streams and I've made the decision that this is not adequate for further development for a number of reasons. So my intent is to move to a database based app. I'm at a point where I need to consider my options and there are several factors that will drive my needs and decision. 1) I'm not a DB expert by any stretch of the imagination. 2) I intend to go with just XE8 Professional 3) I'm looking for a DB that would work easily (Ha!) for a single user desktop, a small office networking group, and a multi-site/multi-office type of environment. 4) Possible future migration to "the cloud" or an SAS  based product. What would your suggestions be? Many thanks

Delphi sorcery: Extending the Spring4D DI container - lifetime managers

http://delphisorcery.blogspot.de/2015/05/extending-spring4d-di-container.html

What am i missing here? This is how TStringHelper.Remove looks:

What am i missing here? This is how TStringHelper.Remove looks: function TStringHelper.Remove(StartIndex, Count: Integer): string; begin   Result := Self;   System.Delete(Result, StartIndex + 1, Count); end; The Result := Self will copy the string. Do you think this was intentional? The TStringHelper.Replace function operates on the string itself so that renders the result i was expecting. The docs are vague: "Removes the substring at the position StartIndex and optionally until the position StartIndex + Count, if specified, from this 0-based string." I'd interpret "from this 0-based" that the function operates on the string "object" itself. I think i'll refrain from TStringHelper in the same way i do from With. Especially as long as they are a pain to debug.

Hm...

Hm...  I have a Firebird database - locally on my PC. The FireDAC connection to the database, the transactions and for example component like TFDQuery... all they work fine. But when I try to use the component "TFDFBNBackup" - I received a strange error message: "[FireDAC][Phys][FB]Cannot attach to services manager Services functionality will be supported in a later version  of the product" Details: Windows7x64 Firebird 2.1.7.18553 (x64) Source code: FDFBNBackup1.DriverLink := FDPhysFBDriverLink1; FDFBNBackup1.UserName := 'sysdba'; FDFBNBackup1.Password := 'masterkey'; FDFBNBackup1.Host := '192.168.9.24'; FDFBNBackup1.Protocol := ipLocal; FDFBNBackup1.Port:=3050; FDFBNBackup1.Database := 'D:\FD_TESTS.FDB'; FDFBNBackup1.BackupFile := 'D:\fd_test.backup'; FDFBNBackup1.Level := 0; // full backup FDFBNBackup1.Backup; Is this a bug? Or not (my mistake)? ... Help?

I'm starting to code using TStringHelper. What do i have to do to be able to evaluate the expressions in the debugger?

I'm starting to code using TStringHelper. What do i have to do to be able to evaluate the expressions in the debugger? Doing "Debug|Evaluate/Modify" on lString.IndexOf('/') gives E2018 Record, object or class type required whilst on Pos('/', lString) gives 1 i would like to be able to inspect the first case (would show 0). Thanks!

Why oh why does TFileStream and friends not expose OPEN_ALWAYS?

Why oh why does TFileStream and friends not expose OPEN_ALWAYS? Why am I forced to use low-level CreateFile just for this rather essential feature?

Very useful video about interfaces, exceptions and more... Especially for beginners and not only

Very useful video about interfaces, exceptions and more... Especially for beginners and not only https://www.youtube.com/watch?v=6Ob8fHtjSZI&feature=share

Hello!

Hello! Being a bit daft today, I could do with a bit of help! So, this is my class declaration: TAttachmentList = class( TInterfacedPersistent,IAttachmentList )   private     FGroupID: Integer;     FSequence: Integer;     FDescription : String;     FAttachmentList : TInterfaceList;     FAttachments : Spring.Collections.IInterfaceList ;   protected     procedure AddAttachment(AnAttachment: IAttachment);     procedure DelAttachment(AnAttachment: IAttachment);     function Get(Index: Integer): IAttachment;     function GetAttachmentCount: Integer;     function GetDescription: string;     procedure SetDescription(Value: string);     procedure SetGroupID(Value: Integer);     function GetGroupID: Integer;     function GetListType: TAttachmentListType;     function NewAttachment: IAttachment;     function GetAttachments: Spring.Collections.IEnumerable ;   public     constructor Create;virtual;     destructor Destroy;override;   end; And this is my uses list: uses Classes, uInterfaces, IOUtils

Updated iOS8.x-Deployment Hotfix for XE7-users:

Updated iOS8.x-Deployment Hotfix for XE7-users: for XE7-Pro: http://cc.embarcadero.com/Item/30190 for XE7-Ent/Arc/Ult: http://cc.embarcadero.com/Item/30189 Quote: "A rebuilt hotfix was posted on 5/6/2015 to address issues some customers were running into." http://cc.embarcadero.com/Item/30190