Posts

Showing posts from February, 2014

Hi everyone

Hi everyone, I use FireDAC link to control SQLite, when I buil to Android app, It's font error....... use linkcontrolto Field Listview . Font Unicode, UTF-8 encoding.  give some advised .Thanks all,

Originally shared by RAD Studio

Originally shared by RAD Studio Cross-platform secure database storage, including mobile with InterBase http://embt.co/ibxplatformdb http://embt.co/ibxplatformdb

What should I do to connect to SQL Server installed in a virtual machine?

Image
What should I do to connect to SQL Server installed in a virtual machine?

I wonder who had the idea to implement a ToBoolean method in the new record helper for simple numeric types.

I wonder who had the idea to implement a ToBoolean method in the new record helper for simple numeric types. Or does anyone think this is a good coding style? if i.ToBoolean then

Blog post "My Views on Mobile World Congress 2014 (or Nokia is doing Android) " at http://blog.marcocantu.com/blog/views_mwc2014_nokia_android.html

Blog post "My Views on Mobile World Congress 2014 (or Nokia is doing Android) " at http://blog.marcocantu.com/blog/views_mwc2014_nokia_android.html http://blog.marcocantu.com/blog/views_mwc2014_nokia_android.html

Copy Protection & Feature Enablement Component?

Copy Protection & Feature Enablement Component? For one of my application I license third party zipcode data. It's provided on an annual license basis. So I need to ensure my application stops working if the license isn't renewed.  To accomplish this I'm looking for a Delphi component similar to OnGuard (which I have used in the past). In this case I don't want to use OnGuard as I notice it's riddled with 32 bit assembler and at some stage a 64 bit version of my application will be needed. It also isn't actively supported which is another negative point. So -does anyone know of a suitable component? I realize everything can be hacked if there is enough determination. I'm aiming to keep the honest guy honest? All help appreciated! Steve

TStream.Seek(Int64) problem in Delphi XE2

TStream.Seek(Int64) problem in Delphi XE2 I've just discovered a condition in which I'm sending a INT64 value to a variable of type TStream, but it seems to use a 32-bit version of the function? Specifically, When I use TStream.Seek(MyInt64, soFromBeginning) it seems to be calling the 32-bit version of the function and "eff'ing" up the seek when the value is over 32-bit.  I've swapped it to use the TStream.Position property and it seems to use the 64-bit correctly. Any idea why? Stack Trace URL added for more documentation. == System.Classes == == START CUT == function TStream.Seek(const Offset: Int64; Origin: TSeekOrigin): Int64; begin { Default implementation of 64 bit seek is to deflect to existing 32 bit seek.   Descendents that override 64 bit seek must not call this default implementation. }   if (Offset < Low(Longint)) or (Offset > High(Longint)) then     raise ERangeError.CreateRes(@SRangeError);   Result := Seek(Longint(Offset), Ord(Origin)); en

I needed about 4 hours to find this bug in Delphi XE5 (it may be there since D2009).

I needed about 4 hours to find this bug in Delphi XE5 (it may be there since D2009). Actually, I can understand why Delphi behaves like that but to my mind it's still a very dangerous bug that is also very hard to find. The problem occurs with non-packed records that have unused space inside. The default hash function in Delphi (e.g. that is used by TDictionary) may return 2 different hashes for the same record because it uses the bit represantation of the records which can be different for equal records (due to garbage in the unused record section). More importantly, the garbage may be caused by Delphi itself because records are not initialized. I definitely think it's a bug and I'll post it to QC. But before I do so I posted it here so you are aware of it as well. I am also a little bit worried if Embarcadero fixes it because it doesn't have a straightforward solution. A workaround is to use packed record. + What do you think about it? Showcase: program DictBug; {$APP

I'm trying to convert some Delphi/FireDAC code that works with Firebird SQL to MSSQL. It should be straightforward, but of course it isn't :)

I'm trying to convert some Delphi/FireDAC code that works with Firebird SQL to MSSQL. It should be straightforward, but of course it isn't :) For Firebird, I have a simple SQL statement:  UPDATE MY_TABLE SET FIELD_A=:PARAM_A I then set the FireDAC parameter and execute the statement. All good. The above SQL doesn't work with MSSQL so I change the parameter declaration to: UPDATE MY_TABLE SET FIELD_A=@PARAM_A I set the FireDAC parameter and execute the statement and I get the following error: Must declare the scalar variable "@PARAM_A". Any idea what could be wrong?

Hi

Hi,  is there anybody experienced in firemonkey mobile business app? Has anybody created such an app and could provide link to app store/play? I want to see business app so I can compare it with ours. I mean not one frame apps. Minimaly 20 frames or forms, showing rich data, connected to isapi datasnap server, nice design. Can anybody share a little of his knowledge? Is anywhere one app at least ? Thanks

Twitter / marcocantu: Delphi Android app running ...

Delphi Android app running on a Nokia phone..  https://twitter.com/marcocantu/status/438272586703982592/photo/1

Hello, I have question how to check if Client datasnap loss connection from server?

Hello, I have question how to check if Client datasnap loss connection from server? i try use : if SQLConnection1.Connected then    ShowMessage('Connected') else    ShowMessage('DisConnect'); but this not work. if Server disConnect condition of SQLConnection still connected. Thanks you

Hi guys, I am just new to Delphi and I am trying to learn some of components. I tried to add a checkbox and wanted to store its value to a certain variable.

Hi guys, I am just new to Delphi and I am trying to learn some of components. I tried to add a checkbox and wanted to store its value to a certain variable. if checkbox1.Checked then BIT:=1; /// when i tried to run the program and trap into it, it would say that the variable is inaccessible due to optimization.

I have recently introduced FireDac into our main app here at work.

I have recently introduced FireDac into our main app here at work. When running it on Windows Server 2003, I get the delightfully unhelpful: "Cannot load type library/dll" message.  Naturally, no info on which DLL is not able to be loaded -- that would be too easy. Can anyone think of what DLL might be missing on WIndows 2003 such that a FireDac application wouldn't run?

Originally shared by RAD Studio

Originally shared by RAD Studio CodeRage C++ Opening Keynote starts in 2 hours. Still time to register for 2 days of free sessions. http://embt.co/CR8CPP http://embt.co/CR8CPP

Hello form Greece (I live very close to Delphi town).

Hello form Greece (I live very close to Delphi town). 25 years of programming with Pascal / Delphi and counting. What a great journey !

Strange Warning

Strange Warning I wonder if anyone has an explanation for this little nugget? From the output log of a build. c:\program files (x86)\embarcadero\rad studio\12.0\Bin\CodeGear.Delphi.Targets : warning W1030: W1030 Invalid compiler directive: 'true'

... and do you remember the Borland Hypno Pigs ?

Image
... and do you remember the Borland Hypno Pigs ?

Ok Delphi Geeks. I found these in the bottom of my desk drawer today. Anyone else have a set?

Image
Ok Delphi Geeks. I found these in the bottom of my desk drawer today. Anyone else have a set?

True or False or False = False!

Image
True or False or False = False! (True or False or False) = True. function TPSDConnectionMonitor.IsOnline: Boolean; var   cState: TPSDConnectionState; begin   Result := (Not OfflineStoreEnabled) or (Not Enabled) or IsOnline(cState); end; See the picture.   FOfflineStoreEnabled = False FEnabled = True IsOnline(cState) does an and between two states and returns False The expression  (Not OfflineStoreEnabled) or (Not Enabled) or IsOnline(cState) is (True) or (False) or False and Result is False! #WTF   Add extra paranthesis to the expression  ( (Not OfflineStoreEnabled) or (Not Enabled) or IsOnline(cState)) is ((True) or (False) or False) and Result is True as expected! Can someone make sense of this? #XE5

Is anyone here active in the Delphi area of Stack Overflow? I've felt a bit frustrated there recently, since they closed a couple of good posts you may have seen blog posts about.

Is anyone here active in the Delphi area of Stack Overflow? I've felt a bit frustrated there recently, since they closed a couple of good posts you may have seen blog posts about. This one was great (although I had the top answer, so I might be biased :p)  http://stackoverflow.com/questions/6063274/hidden-features-in-the-delphi-language as was this Oxygene one:  http://stackoverflow.com/questions/1745772/hidden-features-of-oxygene All a bit of a pity really.  If you feel like it, you could make a request on meta.so to reopen them, and I think it'd be great if you did and they were kept there.

Google Authentication, Google Drive and Delphi?

Google Authentication, Google Drive and Delphi? I am looking for Delphi code samples related to authentication and access to documents on Google Drive. To be specific, I'd like to be able to - log on with Google+ credentials - Do like Google Forms and submit entries, one line at a time, to a Google Sheet document - Retrieve the specific sheet document on Google Drive Any other component packs or source samples out there, besides TMS Cloud Pack?
Is there a way where I can Bind my class property to a control? wherein, if I change its value, the control will be automatically updated as well?

Ann: Nexus Quality Suite - More Tools!

Ann: Nexus Quality Suite - More Tools! Having been hard at work bringing these great tools back from the brink of extinction, we are happy to announce two more tools have been added to Nexus Quality Suite. The best part: The Quality Suite is still only AUD 300. Take advantage of the weakened aussie dollar today and save*! New - MethodTimer! ================== The MethodTimer tool is a method level performance analyzer. It measures and reports activity in your code with the purpose of identifying performance bottlenecks. It records routine calls and reports time spent in each routine. It also shows you a list of routines that are called from a particular routine and how much was spent in a routine on behalf of a calling routine. In addition, MethodTimer contains a disassembler that reports the clock counts and pairing issues that affect the efficiency of your code. The MethodTimer works in conjunction with the LineTimer; use the MethodTimer to locate slow routines, then switch to the Li
Anyone know of any hosting sites that support ASP.Net AND Delphi? (Datasnap, Intraweb, ISAPI), etc.  I found a good one that supports ASP.Net, VS, but not ISAPI, Datasnap, etc.
Just got XE5 and looking to port an XE2/FIBPlus application to it, I would like to use FireDAC instead of FIBPlus as FIB+  dosen't seem to be as supported as it once was and FireDAC gives me the opportunity to use other database back ends for fussy customers.  I was looking at the refind utility the EMB provide for BDE or AnyDAC migration to FireDAC.  It uses a text file with rules in it and I was wondering if anyone has one that they have already done for FibPlus to FireDAc that they had success with.  Lazy I know but why reinvent the wheel :)

We're looking for the best way to translate our Delphi applications into several other languages. Do you have any experience with 3rd party components? Perhaps the built in translation tools are up to the job?

We're looking for the best way to translate our Delphi applications into several other languages. Do you have any experience with 3rd party components? Perhaps the built in translation tools are up to the job? Any thoughts?

#TeeChart Pro update coming soon. What's New: https://docs.google.com/document/d/1BXLXZRYn6pUDMx3dYPQR7G2Em518tZkcMNHwVn5v5vw

#TeeChart Pro update coming soon. What's New: https://docs.google.com/document/d/1BXLXZRYn6pUDMx3dYPQR7G2Em518tZkcMNHwVn5v5vw
Had registered copy of Delphi 6 pro but lost disc. Anywhere I can purchase a copy ?

Who on earth had the idea to make TObject.Create NOT virtual like 20 years or more ago?! :(

Who on earth had the idea to make TObject.Create NOT virtual like 20 years or more ago?! :( If it were you could create new instances using TClass.

I just laughed so hard about a comment of Ville Krumlinde in an old blog post from Mason Wheeler: http://tech.turbu-rpg.com/299/wish-list-generics-collapsing/comment-page-1#comment-2762

I just laughed so hard about a comment of Ville Krumlinde in an old blog post from Mason Wheeler:  http://tech.turbu-rpg.com/299/wish-list-generics-collapsing/comment-page-1#comment-2762

Is there any FireMonkey component that achieves this result? A treeview with three state checkboxes?

Is there any FireMonkey component that achieves this result? A treeview with three state checkboxes? http://www.codeproject.com/KB/tree/Three_State_TreeView/ThreeStateTreeView1.png
Just joined. Hello from sunny Spain.

I need a new development PC.

I need a new development PC. Apart from personal taste and Modern UI - are there compelling reasons NOT to run Delphi under Windows 8.1 Pro/Enterprise?
I was searching for a delphi xe5 book but i didn't found one. Can somebody tell me where can i get one?... for buy it of course. Thanks.

I'm currently staring in disbelief at the OnCreate of a form that's measuing 684 lines long.

I'm currently staring in disbelief at the OnCreate of a form that's measuing 684 lines long. What... the... This shouldn't be allowed. As in, the compiler should not accept this kind of crap.

Hi Friends

Hi Friends, I trying to run one of my delphi 5 application on window 7, however its going hang.it is using informix database. Hence i try to execute by "run as administrator" and it works fine. For its solution i attach manifest file with delphi5 application and it execute direct in "run as administrator" mode. Is there any other way to execute delphi 5+ informix application on window 7 without manifest file?

The non-debuggable unit

The non-debuggable unit I have a unit that now refuses to have blue dots when compiling.  Doesn't matter if it is in debug or release mode.   - It is referenced in .dpr file - I've searched all paths for stray .DCUs and found none - I've have deleted .dcr, .local and .identcache files  - I've done Clean and Build, and still no blue dots and breakpoints Once running, I can set breakpoints, but some lines will not accept them (such as in multiline statements) #annoying

I'm a bit rusty so I don't see what I'm doing wrong here.

I'm a bit rusty so I don't see what I'm doing wrong here. I'm having some issues where the finalization order seems to depend on Application.Run being executed or not. In my setup, Unit1 uses Unit2 in the interface section. Unit1 contains a form which accesses a global pointer variable in Unit2 in the OnDestroy handler. Unit2 has an initialization and finalization section, and it nils the pointer in the finalization section. Now, by default, this works fine. However if I do not call Application.Run in the DPR file, then the finalization section in Unit2 is called before the form is destroyed. Sample code is here, add/remove a command line parameter to trigger the error. Alternatively just comment out Application.Run. https://www.dropbox.com/s/ky3ob758xofer1f/FinalizationError.zip In my real-world case, the "Unit2" is actually Data.SqlTimSt, and the global variable is it's internal SQLTimeStampVariantType variable, which is used indirectly through Data.DB,

XML issue in XE

XML issue in XE We have an issue which seems very strange. We use it for processing a return call from an external service (WorldPay in the most immediate case). It seems that everything that was compiled before December 19th (maybe a little later) handles the returned XML without a problem. Anything that has been compiled recently fails to load the XML. It may had a problem with $#A characters (adding them in when we created xml and not handling them when loading. This helped with some apps but even when we took those out and it still had a problem. It seemed to have a problem loading with this as part of the document  http://dtd.worldpay.com/paymentService_v1.dtd ">  once I took that out it was fine. I haven't updated anything within my XE for sometime. Any ideas?

Blog post "Delphi (and C++) Blogs of the Week #5" at http://blog.marcocantu.com/blog/delphi_blogs_week_5.html

Blog post "Delphi (and C++) Blogs of the Week #5" at http://blog.marcocantu.com/blog/delphi_blogs_week_5.html
Where would we be, if not for Nicklaus Wirth's creation of Pascal? Yet we overlooked yesterday his 80th birthday?

Some time has passed and it's still so so difficult for me to change style in XE5 FireMonkey Style Designer. How do you create/set styles?

Some time has passed and it's still so so difficult for me to change style in XE5 FireMonkey Style Designer. How do you create/set styles? For instance I want to change button style for android. Watch my steps: - Put button+bookstyle and see no stylelookup or style is set for button. - I GUESS 'buttonstyle' is style i'm looking for.  - Click on buttonstyle and NO button designer appears. - Change font color, click apply and voila, color has changed. Good. - I wanna change background BUT i see it uses rectangle png image. What now?  - I wanna have second button with different style. How can I make copy of style? What now? Should I save current style, make somewhere some changes and load it again?  Or can I do it EASILY? Thanks

Vitali Nasonov died today. He was one from the men which started with me www.torry.net in 1996 (as carbohyd.siobc.ras.ru/torry).

Image
Vitali Nasonov died today. He was one from the men which started with me www.torry.net in 1996 (as carbohyd.siobc.ras.ru/torry ). And just the good man and friend.

Please help to decide future of package manager for Delphi

Please help to decide future of package manager for Delphi Originally shared by Alexey Petushkov Dear community members, Hosting package manager for Delphi seems to be expensive to me. So lets decide what should i do: 1) Close the project 2) Make it commercial Please vote in comments

I'm a late convert to TDD and unit testing in general, but I'm wondering if/when a slide back into RAD is warranted. Take a (very) simple CRUD, for instance, something we all know can be created in Delphi with very little effort. Are Delphi developers choosing to abstract all of that data access so it can be unit tested, or do they dip back into RAD?

I'm a late convert to TDD and unit testing in general, but I'm wondering if/when a slide back into RAD is warranted.  Take a (very) simple CRUD, for instance, something we all know can be created in Delphi with very little effort.  Are Delphi developers choosing to abstract all of that data access so it can be unit tested, or do they dip back into RAD? I guess it boils down to...does "always write testable code" generally translate to "never use RAD" for most TDDers? Thanks.

I confess I don't know how to translate this into normal code:

I confess I don't know how to translate this into normal code: if (Integer1 and Integer2) = 0 then  .....

plus blanc que blanc...

Image
plus blanc que blanc...

this is a strange behavior isn't it ? This is just a FMX 3D form with a RoundCube under XE5 Starter Updt2

Image
this is a strange behavior isn't it ? This is just a FMX 3D form with a RoundCube under XE5 Starter Updt2

Blog post "It's Delphi Birthday" at http://blog.marcocantu.com/blog/its_delphi_birthday.html

Blog post "It's Delphi Birthday" at http://blog.marcocantu.com/blog/its_delphi_birthday.html http://blog.marcocantu.com/blog/its_delphi_birthday.html

Happy birthday Delphi I guess! :)

Happy birthday Delphi I guess! :) 19 years old and still immature sometimes /rant off :p
Hi, anyone with some experience on #Android and #iOS development with Delphi #XE5 can share some thoughts on it? I have a mobile project to put in production and I am wondering if I should go for Delphi, #CoronaSDK , or  Java and xcode (2 separate projects for iOS and Android).

Has anybody used FFVCL? What are your experiences? Right now we are using TVideograbber for all of our video functionality but are not very happy with it because

Has anybody used FFVCL? What are your experiences? Right now we are using TVideograbber for all of our video functionality but are not very happy with it because a) it's very expensive, which would be ok if not b) basically no support whatsoever and c) very buggy http://www.delphiffmpeg.com/

OXml is slowly approaching production state. Please take a look at it, test it and provide me some feedback. It has already become a pretty complex project, so I can hardly test all cases.

Image
OXml is slowly approaching production state. Please take a look at it, test it and provide me some feedback. It has already become a pretty complex project, so I can hardly test all cases. Just 2 facts you have to know about OXml: - It's cross-platform and supports all Delphi compilers starting with Delphi 6. OSX, Mobile platforms and Lazarus are supported as well. - It is the fastest XML library for Pascal: Reading performance is about 6 times better than MSXML, 4 times better than OmniXML and it's even faster than the C-based libxml2 ported to Delphi. Version 0.7 introduces a cross-platform DOM vendor for Delphi's own XmlIntf.TXMLDocument. http://www.kluug.net/oxml.php

what's wrong?

Image
what's wrong?
Anyone have a good component for creating Excel spreadsheets? I am needing to make some of our reports export to Excel nicer than Quick Reports or Fast Reports do.

Go orn while your eating your Lunch..

Go orn while your eating your Lunch.. Originally shared by Embarcadero Technologies "Unit Testing in #Delphi " technical webinar with Nick Hodges starts in 60 min. Register Now http://embt.co/1eeHJXu http://embt.co/1eeHJXu

Originally shared by Steema Software

Image
Originally shared by Steema Software New additions to #TeeChart Maps:   UK Counties and Germany Landkreise

This is possible? Where to start?

This is possible? Where to start? I want to retrieve info from my user accounts in some websites using authentication and HTTP requests i suppose.. but I never have done anything web with Delphi.  I don't want to bother you, I only need some light, where to start? How to ask google what i want! Then I can make all the reasearch and study... because currently I'm very lost in that subjet :-/  Thanks for your help! (currently using Delphi XE3)

Hey all! My name is Adam, and I am fairly new to Delphi! I have been around it for about 5 years now at the company I work for, but only recently have been put in charge of managing our development projects and determining where we will go in the future!

Hey all! My name is Adam, and I am fairly new to Delphi! I have been around it for about 5 years now at the company I work for, but only recently have been put in charge of managing our development projects and determining where we will go in the future! I originally wasn't a huge fan of Delphi, but after developing a few small utilities using it in a fraction of the time it would have taken me in other languages I am familiar with I am becoming a convert! If you are interested, check out our company website at www.szencorp.com I will try not to let my Delphi Newbieness be too inconvenient! http://www.szencorp.com

I am wanting to upgrade our code from Delphi 2007/2010 to XE5, and I am running into some roadblocks.

I am wanting to upgrade our code from Delphi 2007/2010 to XE5, and I am running into some roadblocks... third party libraries... We have upwards of 20 of those, some of which are buried deep in the darker caverns of our code, and some that I think the original developers threw in there merely to torment future developers. It is cumbersome (nigh impossible) to re-install the IDE, let alone upgrade. Anyone have any advice/wisdom on whether ripping out the more obscure components is wise/worth it? At this point, my lack of experience with Delphi is leaving me with no idea which direction to go. Thanks!

I am wanting to upgrade our code from Delphi 2007/2010 to XE5, and I am running into some roadblocks... third party libraries...

I am wanting to upgrade our code from Delphi 2007/2010 to XE5, and I am running into some roadblocks... third party libraries... We have upwards of 20 of those, some of which are buried deep in the darker caverns of our code, and some that I think the original developers threw in there merely to torment future developers. It is cumbersome (nigh impossible) to re-install the IDE, let alone upgrade. Anyone have any advice/wisdom on whether ripping out the more obscure components is wise/worth it? At this point, my lack of experience with Delphi is leaving me with no idea which direction to go. Thanks!

Unit Testing in Delphi with Nick Hodges

Unit Testing in Delphi with Nick Hodges Wednesday, February 12, 2014 6AM San Francisco / 9AM New York / 2PM London / 3PM Milan 11AM San Francisco / 2PM New York / 7PM London / 8PM Milan 5PM San Francisco / 13-Feb 10AM Tokyo / 13-Feb 12PM Sydney You’re invited to join Embarcadero and Delphi programming expert and author, Nick Hodges, for an in-depth look at unit testing in Delphi.  Without unit tests your code is fragile, hard to change, and unreliable. Unit testing is the only way that you can be sure that your code does what it is supposed to do. In this webinar, Nick discusses the basics of Unit Testing as well as providing a demo that illustrates the points at hand using the new DUnitX framework. This will lead to a discussion of stubs and mocks, and the use of the DelphiMocks framework to ensure that all your classes are tested in isolation. Topics covered include: * What is Unit Testing? * Why you should be doing Unit Testing * Proper unit testing techniques including covering the

I have an issue writing a FireMonkey component.

Image
I have an issue writing a FireMonkey component. It is very basic! I cannot draw a rectangle with a line thickness of one pixel. Is always draw at least two pixels. On the bottom of the image is the rectangle drawn. Above is the lower left corner of a TTabControl. My rectangle has two pixels while the tabcontrol has a border of one pixel. How can I do that? I wrote a simple component to reproduce the issue: unit RectangleControl; interface uses     System.SysUtils, System.Classes, System.UITypes,     FMX.Types, FMX.Controls, FMX.Graphics; type     TRectControl = class(TControl)     private     protected         procedure Paint; override;     public     published         property Position;         property Width;         property Height;     end; procedure Register; implementation procedure Register; begin     RegisterComponents('Samples', [TRectControl]); end; procedure TRectControl.Paint; begin     Canvas.Stroke.Kind     := TBrushKind.bkSolid;     Canvas.Stroke.Color    := TAlp

I have an issue writing a FireMonkey component. It is very basic! I cannot draw a rectangle with a line thickness of one pixel. Is always draw at least two pixels. On the bottom of the image is the rectangle drawn. Above is the lower left corner of a TTabControl. My rectangle has two pixels while the tabcontrol has a border of one pixel. How can I do that?

Image
I have an issue writing a FireMonkey component. It is very basic! I cannot draw a rectangle with a line thickness of one pixel. Is always draw at least two pixels. On the bottom of the image is the rectangle drawn. Above is the lower left corner of a TTabControl. My rectangle has two pixels while the tabcontrol has a border of one pixel. How can I do that? I wrote a simple component to reproduce the issue: unit RectangleControl; interface uses     System.SysUtils, System.Classes, System.UITypes,     FMX.Types, FMX.Controls, FMX.Graphics; type     TRectControl = class(TControl)     private     protected         procedure Paint; override;     public     published         property Position;         property Width;         property Height;     end; procedure Register; implementation procedure Register; begin     RegisterComponents('Samples', [TRectControl]); end; procedure TRectControl.Paint; begin     Canvas.Stroke.Kind     := TBrushKind.bkSolid;     Canvas.Stroke.Color    := TAlp
We have invested many years in building our application framework based on a Remote Objects and very happy we are with it as well. Now we have a problem. RO are not supporting Delphi Mobile (iOS or Android). I would like to have as much code sharing as possible between the apps. So if we were to completely redevelop our framework, what would you suggest as the base?

Marco Cantù Please finally fix: http://qc.embarcadero.com/wc/qcmain.aspx?d=32663

Marco Cantù Please finally fix:  http://qc.embarcadero.com/wc/qcmain.aspx?d=32663

A new video showing a Lazarus application as a sample for the TML/SIDEX SDK features. The video demonstrates multi threaded command calls and file streaming capabilities.

A new video showing a Lazarus application as a sample for the TML/SIDEX SDK features. The video demonstrates multi threaded command calls and file streaming capabilities. http://www.youtube.com/watch?v=BxWvsTT7-0c

So close, and yet so far away.

So close, and yet so far away. Is there any way I can implement SHCreateItemFromParsingName from within a Delphi 5 app? I'm trying to extract the Windows thumbnail for known files and I've found a bit of code that gets me close ( http://embarcadero.newsgroups.archived.at/public.delphi.nativeapi/201007/1007283828.html  ) but I'm assuming D5's ShlObj unit does not contain the  SHCreateItemFromParsingName declaration. I'm currently using the VirtualTreeView components and the derivatives and that works for the most part but not catching all of the thumbnails. If you can help I would be extremely grateful.  http://embarcadero.newsgroups.archived.at/public.delphi.nativeapi/201007/1007283828.html
Need best practice tip for deleting units. What i currently do is remove file from project, ( don't forget to cleanup so the compiled version is removed or else i have to delete it manually), remove the file from disk and than remove the references in all the other units

Again about DCC CodeGen, this time featuring XE2.

Again about DCC CodeGen, this time featuring XE2. Can you make an array with different elements types... No. Not that. Can you even make an array with a SAME type of all the elements? And how procedural procedure variables really are ? All this and something else in our new adventures down the link below! http://synopse.info/forum/viewtopic.php?pid=9625

Fellow Delphi developers, we are thrilled to announce the release of HelpNDoc 4.2 which is available as a free download starting now. HelpNDoc 4.2 adds folders to categorize library items, multi-selection to the library and keywords and is able to store the expansion state of all trees in the project amongst many other additions and bug fixes. See: http://bit.ly/1eu935J

Fellow Delphi developers, we are thrilled to announce the release of HelpNDoc 4.2 which is available as a free download starting now. HelpNDoc 4.2 adds folders to categorize library items, multi-selection to the library and keywords and is able to store the expansion state of all trees in the project amongst many other additions and bug fixes. See: http://bit.ly/1eu935J http://bit.ly/1eu935J

Blog post "Nick Hodges Webinar on Unit Testing and a C++ CodeRage" at http://blog.marcocantu.com/blog/nick_webinar_coderage_cpp.html

Blog post "Nick Hodges Webinar on Unit Testing and a C++ CodeRage" at http://blog.marcocantu.com/blog/nick_webinar_coderage_cpp.html

Anyone using Delphi XE# with SDL 2.0?

Anyone using Delphi XE# with SDL 2.0? After a stressful fight against FireMonkey to allow  me direct access to TBitmap I've realized that the solution for what want is SDL 2.0 I think this is the most recent updated  and maintained  headers conversion :  https://github.com/ev1313/Pascal-SDL-2-Headers (While JEDI-SDL isn't updated since 2008) I'm using Delphi XE3,  if you have any experince usind SDL 2 or a suggestion for better library wrapper  would be very welcomed!  Thanks! https://github.com/ev1313/Pascal-SDL-2-Headers

I am attempting to upgrade one of our applications from D2007 to D2010, and I have run into an issue I am not sure...

I am attempting to upgrade one of our applications from D2007 to D2010, and I have run into an issue I am not sure about. Basically, I try to compile and get an Undeclared Identifier error. However, I look and the identifier named as being undeclared is, in fact, declared. It is declared as a protected function of a class. Also, this code compiles just fine under D2007. A Google search of course returns examples of trying to use variables before they are declared... which I don't think is the case here. My questions is thus: Does anyone know of any strange issues with updating from D2007 to D2010 that may cause this? I should also probably mention that this is a fairly fresh install of D2010, are there any updates/fixes I have missed that may fix this issue? I can provide code examples if necessary... however the unit this occurs in is quite large. Also, I apologize that this is long. Please let me know (kindly) if anything I have posted here is inappropriate for this forum. Thanks

I am attempting to upgrade one of our applications from D2007 to D2010, and I have run into an issue I am not sure about.

I am attempting to upgrade one of our applications from D2007 to D2010, and I have run into an issue I am not sure about. Basically, I try to compile and get an Undeclared Identifier error. However, I look and the identifier named as being undeclared is, in fact, declared. It is declared as a protected function of a class. Also, this code compiles just fine under D2007. A Google search of course returns examples of trying to use variables before they are declared... which I don't think is the case here. My questions is thus: Does anyone know of any strange issues with updating from D2007 to D2010 that may cause this? I should also probably mention that this is a fairly fresh install of D2010, are there any updates/fixes I have missed that may fix this issue? I can provide code examples if necessary... however the unit this occurs in is quite large. Also, I apologize that this is long. Please let me know (kindly) if anything I have posted here is inappropriate for this forum. Thanks

What would be the best way to implement a list control with custom items in a Delphi VCL app? Something like the Firefox download manager in this picture:

What would be the best way to implement a list control with custom items in a Delphi VCL app? Something like the Firefox download manager in this picture: Do you know any component suited for that? http://www.stephenhorlander.com/images/blog-posts/theme-update-2010-04-20/panel-download-win7.png

We're looking for a Delphi developer (junior/medior) in The Hague, the Netherlands. Command of the Dutch language is preferred. The position is in The Hague; working remotely is currently not an option, though arrangements are possible to work from home one day per week.

We're looking for a Delphi developer (junior/medior) in The Hague, the Netherlands.  Command of the Dutch language is preferred. The position is in The Hague; working remotely is currently not an option, though arrangements are possible to work from home one day per week. http://dgmr.nl/vacature-softwareontwikkelaar http://dgmr.nl/vacature-softwareontwikkelaar

2600 members milestone

2600 members milestone I don't know how you found us, but you are most welcome :) In case you missed it, we also have a set of sibling communities listed in the "About this community" box. One of them is our Delphi iOS and Android Developers group which is nearing 500 members as well. I really appreciate that you are constructive, informative and helpful, and look forward to more posts about solving challenges using our tool of choice.

A new Delphi ORM framework has been revealed, now in Beta. I know Devart as the solid data access components provider, maybe their new product will be another good tool for us.

A new Delphi ORM framework has been revealed, now in Beta. I know Devart as the solid data access components provider, maybe their new product will be another good tool for us. https://plus.google.com/100618524626212041258/posts/bgMXYrHnoSz

dose any one know how do add views like thumbnail ,views . list ... to TVirtualExplorerTreeview TVirtualExplorerListview

dose any one know how do add views like thumbnail ,views . list ... to  TVirtualExplorerTreeview   TVirtualExplorerListview Or dose this component has a forum ?

Delphi x86 classic back-end: bit-rot or bit-swelling? (assembler dumps)

Delphi x86 classic back-end: bit-rot or bit-swelling? (assembler dumps) PS: vote please at http://qc.embarcadero.com/wc/qcmain.aspx?d=121566 PPS. comparison of Win64 codegen - almost the same results: http://kazav.blogspot.ru/2014/02/delphi-2-64.html PPPS: XE5 LLVM (Android) example, claimed are Release mode and maximum optimizations on: http://www.sql.ru/forum/actualutils.aspx?action=gotomsg&tid=1034973&msg=15555899
Does anyone know if Delphi can develop for Chromecast, or isn't it Android?

Delphi SVN Private Hosting

Delphi SVN Private Hosting Does anyone have any advice for getting up and running to share code. I've been developing with Delphi for eons, but I've never done any joint development (shame on me).  I now need to do so... Delphi XE4 seems "Open from Version Control..." which opens from a SVN.  So the questions which string to mind: 1. Is SVN the best way to go - are there alternatives which work better for Delphi? 2. Are there any add-in / plug-ins which make it easier (or is Delphi's built in functionality rock solid)? 3. If I have a program stored under my "Documents" folder does this cause problems with the "C:\Users\Steve Maughan\" when other, with different names, try to access the file? 4. Are there any other newbie gotchas I should be aware of? Thanks, Steve

Originally shared by Embarcadero Technologies

Originally shared by Embarcadero Technologies The very popular "Programming Devices and Gadgets with RAD Studio" webinar is now available on demand. Watch it here: http://embt.co/JYFgV9 http://embt.co/JYFgV9

Welcome.

Welcome.  How to control the backlight in Delphi XE5?  How to adjust the time and the brightness of the backlight for my application?  Is there a function in Delphi or need something to do with Java?

Having a hard time finding a way to create a

Having a hard time finding a way to create a  FMX TBitmap with predefined pixel format in XE3, as I used to do with VCL  setting TBitmap.PixelFormat, just after creating a vcl.TBitmap instance. Now in Firemonkey this property is read-only :( I want direct access to bitmap data using the Map method without using GetPixel, SetPixel as this solution does:  http://members.adug.org.au/2012/10/05/read-write-image-bitmap-pixels-in-delphi-xe3/   The purpose is doing image processing at 32bits fixed pixel format.  work with backbuffer non-visible  bitmap then after all processing is done I can show the result to any canvas no matter the final pixel format.  Any light on this? Help appreciated! http://members.adug.org.au/2012/10/05/read-write-image-bitmap-pixels-in-delphi-xe3

You take any care about your Delphi application Memory usage?

You take any care about your Delphi application Memory usage?  Trying to get back to programming and maybe i'm  bit old fashioned because:  When I complained about Chrome annoying me using 1.5GB of RAM with only 8 tabs these where the replys here in g+ : "It's annoying if you don't have RAM to spare " "Anyone complaining about applications using ram is odd"

XE3, XE4 and XE5 still exists in the same focus bug when we put a control in TTabControl.

XE3, XE4 and XE5 still exists in the same focus bug when we put a control in  TTabControl. Embarcadero promised development with FireMonkey in OSX and now it seems they are only focused on mobile, maybe in the XE9 bugs will be fixed.
XE3, XE4 and XE5 still exists in the same focus bug when we put a control in  TTabControl. Embarcadero promised development with FireMonkey in OSX and now it seems they are only focused on mobile, maybe in the XE9 bugs will be fixed.

FireMonkey and VCL Styles - articles, blogs, videos, docs and examples - DelphiFeeds.com

http://www.delphifeeds.com/go/s/112304