Posts

Showing posts from November, 2014

Hello everyone, I'm Italian and I'm sorry for my bad english..

Hello everyone, I'm Italian and I'm sorry for my bad english.. Can I ask advice on how programming? I stayed to Delphi 7, I recently restored to programming for to make a management program design of pressure equipment, but I was always applications with MDI child form.. 1- I would like to evolve my way to program and use applications with the ribbon .. I familiarity ( Delphi EX2 ) but still we did not.. How can I make a file with the ribbon but using + form ?! ( MDI FORM ??) 2- What you need to do to make a program that is streamlined format from multiple files? (one for each form?) , currently Barring the configuration files of preferences ( XML or old ini ) and the DB , my programs are made up of a single exe file very large! if you give me some advice I'd be grateful .. thanks

Is it possible to prevent the DFM file from being updated?

Is it possible to prevent the DFM file from being updated? See this SO question from Brian Long http://stackoverflow.com/questions/5486957/is-there-a-delphi-option-to-lock-the-design-layout-of-a-form-against-acciden

Just blogged about a new feature in +Marshmallow:

Just blogged about a new feature in +Marshmallow:  http://www.soundvibe.net/blog/mapping-rows-in-orm/ http://www.soundvibe.net/blog/mapping-rows-in-orm

Quite offtopic, but who knows much about the internals of how Delphi's debugger is implemented? I was reading these two articles on "hard" vs "soft" debuggers, and I suspect Delphi's is a hybrid.

Quite offtopic, but who knows much about the internals of how Delphi's debugger is implemented? I was reading these two articles on "hard" vs "soft" debuggers, and I suspect Delphi's is a hybrid. http://blogs.msdn.com/b/matt_pietrek/archive/2005/02/14/372424.aspx (hard vs soft debuggers in Windows 3 (!)) http://blogs.msdn.com/b/jmstall/archive/2004/10/13/241828.aspx (implications of the soft / inprocess debugger in .Net) I used to think Delphi's debugger was a "hard" one (in modern terms, different to the definitions in the first article), but some time ago, could be years, I noticed there seem to be extra threads in a debugged process which I speculate are used by Delphi for some parts of its debugging - maybe evaluation, etc. I'm sure they never used to be there. So at some point, if this is right and I'm not imagining it, the debugger changed how it worked and/or became a hybrid of the two models. It's sparked my curiosity. Doe

Did you know it is possible to use ORM over NoSQL engines? This blog post describes how mORMot is able to translate a regular SQL "where" clause to a well-formatted MongoDB query object, so that you could share the same business code with RDBMS (FireBird/Oracle/MSSQL/SQLite3/PostgreSQL...) or MongoDB, at runtime.

Did you know it is possible to use ORM over NoSQL engines? This blog post describes how mORMot is able to translate a regular SQL "where" clause to a well-formatted MongoDB query object, so that you could share the same business code with RDBMS (FireBird/Oracle/MSSQL/SQLite3/PostgreSQL...) or MongoDB, at runtime. http://blog.synopse.info/post/2014/11/28/ODM-magic%3A-complex-queries-over-NoSQL-/-MongoDB

Delphi outdated? Says who!

http://jonlennartaasenden.wordpress.com/2014/11/28/delphi-outdated-says-who/

Fellow Delphi developers

Fellow Delphi developers, This is with great pleasure that we announce a 40% discount on all editions of HelpNDoc starting now and until Monday. HelpNDoc is an easy to use yet powerful help authoring tool producing CHM help files, HTML or mobile WebSites, DocX and PDF manuals as well as ePub and Kindle eBooks from a single source. But hurry up as this offer ends Monday. See: http://www.helpndoc.com/news/2014-11-28-black-friday-40-discount-helpndoc-till-monday-only Learn how to use HelpNDoc with the step-by-step video guides: http://youtu.be/u1XVAR985g8?list=PLe52dEok5gAlrGpJ9IxdFEfVrCjTucOhF Best regards, John, HelpNDoc team. http://www.helpndoc.com Join us on social networks... * RSS feed: http://www.helpndoc.com/rss.xml * Facebook: http://www.facebook.com/helpndoc * Twitter: http://www.twitter.com/helpndoc * LinkedIn: http://www.linkedin.com/company/helpndoc * Google+: http://plus.google.com/+HelpndocTool * YouTube: http://www.youtube.com/user/HelpNDoc http://www.helpndoc.com/news/20

Need help describing a user preference option to play all videos in succession.

Need help describing a user preference option to play all videos in succession. I've created a program that contains eight chapters (they are actually videos) and I have a user preference that when checked will play all eight chapters in succession one right after the other. For Example: When Chapter 1 finishes Chapter 2 starts When Chapter 2 finished Chapter 3 starts so on and so forth... When Chapter 8 finishes it starts over again with Chapter 1 I can't seem to come up with user friendly phrase to describe this option. Here are some of the phrases I came up with so far... Loop Presentation Play Continuously Play Chapters in Succession All of these seem to miss the mark as far as conveying the meaning in a succinct but user friendly way. What do you think would be a good phrase to use for this user preference option?

Parallel Code Library - Terrible Real-World Performance

Parallel Code Library - Terrible Real-World Performance I have some time consuming code which I thought would be an ideal candidate for the parallel code library. The code simplifies the boundaries of zip codes i.e. takes out all the small zip-zags. This involves a lot of perpendicular-distance-to-line type of calculations. There is a little memory allocation since for each zip code I need to create a list of possible intersecting lines.  A non parallel version completed the transformation in 4 minutes 56 secs on my i7 desktop (4 core plus hyper-threading).  The parallel implementation was simple. I used the Parallel.For loop with a stride of about 1000. To my surprise this completed in 5 minutes 12 seconds.  Yes the parallel version is slower than the simple for loop!! When I look at the task manager the CPU utilization of the parallel version is about 20% while the routine is running.  I then switched to ScaleMM2 as the memory manager. This version takes only 1 minute 34 seconds and

Tools used to develop IDE Fix Pack | Andy's Blog and Tools

http://andy.jgknet.de/blog/2014/11/tools-used-to-develop-ide-fix-pack/

Marco Cantù's opening keynote from CodeRage 9 is up. I'm listening to it in the background while doing other work.

Marco Cantù's opening keynote from CodeRage 9 is up.  I'm listening to it in the background while doing other work. Some things that were interesting to me:  - Gives an overview of the state of Delphi and where Embarcadero see the product to be placed (useful to me, since I want to reply to this thread soon:  http://arstechnica.com/civis/viewtopic.php?f=20&t=1261959 Please don't everyone swarm it at once, a rush of posts by new posters will seem like I'm spamming.)  - More source control than just Git and SVN is coming (here's hoping for Mercurial!)  - Focusing on 'developer productivity in the IDE' noting that Delphi used to be great but has fallen behind 'some other products'. This is especially interesting to me, as someone busy writing plugins to make the IDE better ;) I don't know of course what this means - whether it means fixing Error Insight, or whether it means entirely new tools. If the latter, hopefully we won't duplicate eff

Is EMBT's Boolean dockwiki wrong?

Is EMBT's Boolean dockwiki wrong? http://docwiki.embarcadero.com/Libraries/XE7/en/System.Boolean Is states: A Boolean value is considered True when its ordinality is 1 and False when it's ordinality is 0 (zero). Wouldn't a more accurate statement be... A Boolean value is considered False when it's ordinality is 0 (zero) and True when it's ordinality is not 0 (zero). When I do a BoolToStr I see -1 (negative 1) when True not 1 but I always see 0 (zero) when false. Wat am I not understanding? http://docwiki.embarcadero.com/Libraries/XE7/en/System.Boolean

We wish you happy holidays and offer 50% price cut!

Image
We wish you happy holidays and offer 50% price cut!  Do not miss your discount! http://goo.gl/1cHsOl #discount   #Thanksgiving   #Devart

Now application development for #SQLServer became really cross-platform with Devart Data Access Components for #Delphi http://goo.gl/nye02I

Image
Now application development for #SQLServer  became really cross-platform with Devart Data Access Components for #Delphi   http://goo.gl/nye02I

Interview with Frank Karlitschek from ownCloud

https://soundcloud.com/radio-bitnami/interview-with-frank-karlitschek-from-owncloud?utm_source=soundcloud&utm_campaign=share&utm_medium=googleplus

Top 8 Productivity Enhancing Mega Delphi XE7 IDE Tool Roundup

http://www.fmxexpress.com/top-8-productivity-enhancing-mega-delphi-xe7-ide-tool-roundup/
If anyone in Western Canada is looking for Delphi work, drop me a line.

Hello all

Hello all, is someone who using ODAC.9.3? i have one question about blob field.

Sorry I asked this earlier in Discussion forum. But asking here again hoping to get some answer.

Sorry I asked this earlier in Discussion forum. But asking here again hoping to get some answer. I am trying to validate a user against table aspnet_Membership that is created by asp.net MVC 5 entity framework . As most of you know it has hash password with PasswordSalt. Any idea how to validate user against this table aspnet_Membership  from Delphi? FYI table aspnet_Membership  has following fields   username, userid, password, PasswordSalt, binHash1 Thanks.

Strictly off topic :P

Strictly off topic :P Sometimes you stumble on websites that have very little real world value, but still hold a certain entertainment value :) http://crumbles.co http://goo.gl/ygvcBs

How do people keep track of current, and (possible) future, personal projects?

How do people keep track of current, and (possible) future, personal projects? What applications do you use to keep features, ideas , etc recorded? What bug tracking software do people use for their personal projects?

hey there, everyone. I learned to use delphi 7 end of 2006 and since, never used again. But now, by destiny, I have the chance to back, even with a lack of memory about. My point is: Is there much diference between delphi 7 and Embarcadero's newest versions?

hey there, everyone. I learned to use delphi 7 end of 2006 and since, never used again. But now, by destiny, I have the chance to back, even with a lack of memory about. My point is: Is there much diference between delphi 7 and Embarcadero's newest versions? sorry for my english and thanks since now.

I found this piece of code in Datasnap.DSReflect.pas unit of XE7:

I found this piece of code in Datasnap.DSReflect.pas unit of XE7:    TDSAdapterClassType = type of TDSAdapterClass; Does anybody know what this "type of" thing means? Is it an alias for "class of" or something more?

I am trying to do IBM Bluemix Mobile Data on Android with XE7. When I import IBMData.jar - the IBMData.class is not imported by Java2OP. Instead of that I get IBMData$1 to IBMData$4, but not the one of which I want to call the InitializeService method.

I am trying to do IBM Bluemix Mobile Data on Android  with XE7. When I import IBMData.jar - the IBMData.class is not imported by Java2OP. Instead of that I get IBMData$1 to IBMData$4, but not the one of which I want to call the InitializeService method. Does anybody know if I can do anything about that? What woulde be a workaround?

Delphi Detours Library v2 is released.

Delphi Detours Library v2 is released. https://code.google.com/p/delphi-detours-library/ https://code.google.com/p/delphi-detours-library

Anybody else having problems with OpenSSL and iOS with XE7 update 1?

Anybody else having problems with OpenSSL and iOS with XE7 update 1? See my StackOverflow question for more info -  http://stackoverflow.com/questions/27076460/access-violation-using-thttpget-with-openssl-under-ios-after-upgrading-to-xe7-up?noredirect=1#comment42663762_27076460 http://stackoverflow.com/questions/27076460/access-violation-using-thttpget-with-openssl-under-ios-after-upgrading-to-xe7-up?noredirect=1#comment42663762_27076460

Anybody else having problems with OpenSSL and iOS with XE7 update 1? See my StackOverflow question for more info - http://stackoverflow.com/questions/27076460/access-violation-using-thttpget-with-openssl-under-ios-after-upgrading-to-xe7-up?noredirect=1#comment42663762_27076460

Anybody else having problems with OpenSSL and iOS with XE7 update 1? See my StackOverflow question for more info -  http://stackoverflow.com/questions/27076460/access-violation-using-thttpget-with-openssl-under-ios-after-upgrading-to-xe7-up?noredirect=1#comment42663762_27076460 http://stackoverflow.com/questions/27076460/access-violation-using-thttpget-with-openssl-under-ios-after-upgrading-to-xe7-up?noredirect=1#comment42663762_27076460

Has anybody an idea why Apples tight integration between OS, exclusive inhouse dev environment XCode and App Store is not under investigation by competition lawyers/politics?

Has anybody an idea why Apples tight integration between OS, exclusive inhouse dev environment XCode and App Store is not under investigation by competition lawyers/politics? As I have read today the EU might try to prohibit search engine suppliers to combine their business with the offering of other products in a move against google. Isn't Apples close shop attitute on its plattform also a problem for competititon? Well I guess they try to proove it is not at the moment, since XCode is rated with two stars in the App Store and reported to be barely usable in the new version.

CreateRotationMatrix3D

CreateRotationMatrix3D Is it a good time now to do a quick retest in XE7? (In XE4, CreateRotationMatrix3D only worked with positive values for Angle.) uses   Math,   FMX.Types3D; procedure TForm1.Button1Click(Sender: TObject); var   Axis: TVector3D;   Angle: single;   y, s, t: TVector3D;   m1, m2: TMatrix3D;   r: single; begin   //the finger of the clock at noon   y := TVector3D.Create(0, 1, 0);   //the axis of the finger   Axis := TVector3D.Create(0, 0, 1);   Angle := 1.0;   m1 := CreateRotationMatrix3D(Axis, -Angle);   m2 := CreateRotationMatrix3D(Axis, Angle);   s := Vector3DTransform(y, m1);   t := Vector3DTransform(y, m2);   r := s.Y - t.Y;   //Assert(Abs(r) < Epsilon);   if Abs(r) > Epsilon then     Caption := Format('Hey! %.2f should be 0.00', [r])   else     Caption := 'OK, sin(pi/2 + Angle) = sin(pi/2 - Angle)'; end;

A while back i asked if anyone had a trick for using the IDE in a VM.

A while back i asked if anyone had a trick for using the IDE in a VM. The specific problem is that i resize the VMs window frequently and the IDE does not (by design) synchronize the size of the windows when it goes into the debug layout. Anyone of the people into extending the IDE that agrees with me that this can be very annoying? An option to have design and debug layout's synchronize their size and position would be cool.

A while back i asked if anyone had a trick for using the IDE in a VM. The specific problem is that i resize the VMs window frequently and the IDE does not (by design) synchronize the size of the windows when it goes into the debug layout.

A while back i asked if anyone had a trick for using the IDE in a VM. The specific problem is that i resize the VMs window frequently and the IDE does not (by design) synchronize the size of the windows when it goes into the debug layout. Anyone of the people into extending the IDE that agrees with me that this can be very annoying? An option to have design and debug layout's synchronize their size and position would be cool.

Does anyone know how to do this kind of stuff in Delphi?

Does anyone know how to do this kind of stuff in Delphi? So http but also tcp tunneling/proxy/forwarding? (transparent!) Originally shared by **** How to Tunnel HTTP-Protocol with a Simple Java Proxy Server through a Firewall? A small Java example (with less than 400 Lines of Code) which demonstrates: How to tunnel HTTP protocol through a firewall? A client side proxy server called HttpProxyAdapterClient and a server component called HttpProxyAdapterServer. http://www.sw-engineering-candies.com/blog-1/how-to-tunnel-http-protocol-with-a-simple-java-proxy-server-through-a-firewall#.VG5Fp2EKJ_0.google_plusone_share

I am trying to validate a user against table aspnet_Membership that is created by asp.net MVC 5 entity framework . As most of you know it has hash password.

I am trying to validate a user against table aspnet_Membership that is created by asp.net MVC 5 entity framework . As most of you know it has hash password. I think I found a link for C#  http://stackoverflow.com/questions/20621950/asp-net-identity-default-password-hasher-how-does-it-work-and-is-it-secure Any idea how to validate from Delphi? Thanks.

So I created a simple ISAP server and a client that talks to it.

So I created a simple ISAP server and a client that talks to it.  I followed this example http://docwiki.embarcadero.com/RADStudio/XE6/en/Tutorial:_DataSnap_Application_Using_an_ISAPI_DLL_Server Now here is the problem. If I pass   firstName  as Joe+  then ISAPI server freaks out and I get  below error . http/1.404 Not Found Am I not supose to use  plus sign ( + ) with ISAPI strings  ?? Please advice. Thanks.

Speed of Generic TList<TMyObject) vs. Typecast TList?

Speed of Generic TList In one of my apps I have a core data structure which uses a Typecast TList to store a list of TMyObjects. There are about 6 million of these TMyObjects scattered among about 33k lists. Speed and memory usage are important. I need to be able to enumerate and access the lists quickly. Memory usage is also important as I have, on occasions, hit the 2 Gb memory ceiling of Win 32!! My question is, would there be an advantage or disadvantage in converting the Typecast TList to a generic TList ? My criteria would be speed of enumerating / accessing and size of memory footprint - Thanks!

We just finished our Be-Delphi 2014 sessions and drank our last beers, so here we are.

We just finished our Be-Delphi 2014 sessions and drank our last beers, so here we are. I published some slides for this great event. http://blog.synopse.info/post/2014/11/20/BeDelphi-2014-Slides

Can you vote for this Quality report, please?

Can you vote for this Quality report, please? It's a serious issue where math done with TVector3D gives the wrong results - completely wrong. The reason is that it is not a 3D vector, despite its name, but a 4D vector. Any normal math you do, such as adding a scaled vector to a 3D point, gives the wrong result. Eg, for the expression "Pt3D + Vec3D * Scalar" where Pt3D is TPoint3D.Create(0,0,0), Vec3D is TVector3D.Create(1,0,0) and Scalar is Single = 12, you would expect a resulting 3D point value of (12,0,0), right? No. You get (1,0,0). Which is wrong. Even worse, TPoint3D is the stand-in for a real 3D vector. System.Math.Vectors goes so far as to deprecate vector operations like a cross product on the vector type, and puts them on the point type instead - something that makes no sense. Reading this code with some knowledge of 3D math makes my head hurt. Using it is even worse (I just fixed several bugs by replacing my usage of TVector3D with TPoint3D, despite wanting a

Can you vote for this Quality report, please? It's a serious issue where math done with TVector3D gives the wrong results - completely wrong. The reason is that it is not a 3D vector, despite its name, but a 4D vector. Any normal math you do, such as adding a scaled vector to a 3D point, gives the wrong result.

Can you vote for this Quality report, please? It's a serious issue where math done with TVector3D gives the wrong results - completely wrong. The reason is that it is not a 3D vector, despite its name, but a 4D vector. Any normal math you do, such as adding a scaled vector to a 3D point, gives the wrong result. Eg, for the expression "Pt3D + Vec3D * Scalar" where Pt3D is TPoint3D.Create(0,0,0), Vec3D is TVector3D.Create(1,0,0) and Scalar is Single = 12, you would expect a resulting 3D point value of (12,0,0), right? No. You get (1,0,0). Which is wrong. Even worse, TPoint3D is the stand-in for a real 3D vector. System.Math.Vectors goes so far as to deprecate vector operations like a cross product on the vector type, and puts them on the point type instead - something that makes no sense. Reading this code with some knowledge of 3D math makes my head hurt. Using it is even worse (I just fixed several bugs by replacing my usage of TVector3D with TPoint3D, despite wanting a

I have an issue trying to work with Google Maps API on Android. Has anybody managed to make it work?

I have an issue trying to work with Google Maps API on Android. Has anybody managed to make it work? http://stackoverflow.com/questions/27043385/jmapview-control-doesnt-appear-on-a-firemonkey-form-in-android

How optimize new RTTI (in XE4) ??? it's very slow !

How optimize new RTTI (in XE4) ??? it's very slow !  when I use the old rtti method (in TypInfo, Set/GetxxxProp family...) it's 5/6 times faster !  mostly is the TValue. Why ? I writed a function in a class to scan all published properties (with rtti) and compute CRC 32bits on it ; my version with old rtti is 8 times faster than the new rtti !  unbelievable !!! Unfortunately , for this example, I don't have the new rrti version (because too slow). but the old rtti (and the faster) is: function ComputeValueCRC(AOldCRC:Cardinal; const AObj:TObject; AProp:PPropInfo):Cardinal;inline; var   s:string;   ws:WideString;   i:Integer;   i64:int64;   f:Extended; begin   case AProp^.PropType^^.Kind of     tkInteger, tkChar, tkEnumeration, tkWChar, tkSet:     begin       i := GetOrdProp(AObj, AProp);       Result := ShaCrcCompute(AOldCRC,@i, Sizeof(i));     end;     tkString, tkLString, tkUString:     begin       s := GetStrProp(AObj, AProp);       Result := ShaCrcCompute(AOldCRC, Point

SQL SERVER – Take this Quiz for a chance to win a Quadcopter Drone. Deadline is tomorrow: November 21, 2014 midnight GMT. http://embt.co/1yCscID

SQL SERVER – Take this Quiz for a chance to win a Quadcopter Drone. Deadline is tomorrow: November 21, 2014 midnight GMT. http://embt.co/1yCscID http://embt.co/1yCscID

Stupid 3rd party component (developers) of the day:

Stupid 3rd party component (developers) of the day: After installing some commercial component I have 2 Lib directories for 32 and 64 bit which both contain all binaries (like dcu, bpl and dcp) AND all sources (pas, dfm and dpk for all Delphi versions). Seriously guys...

Migrating to FireDAC: The devil is in the details

Migrating to FireDAC: The devil is in the details I recently discovered that some of the few queries that we have that return a large rowset,  would max out at 50 rows. It turns out that TFDQuery.FetchOptions.Mode defaults to fmOnDemand, which means that the query first returns a default of 50 rows, and then fetches 50 more as you MoveNext past the 50 first.  Other options are fmAll, fmExactRecsMax, fmManual. Since we still are in the "make it work" and not in the "make it fast" stage, I switched to using fmAll. Interestingly, RowCount by default also returns 50 even if the query actually matches more rows. and there is a TFDQuery.FetchOptions.RecordCountMode setting that can be modified, as well: cmFetched, cmVisible, cmAll. This differs from ADO TQuery, which will retrieve all rows and the full record count by default. TFDDataSet has the same settings, and there are numerous other tweakable parameters that I need to explore for both of these components.. #FireDAC

Originally shared by Boian Mitov

Originally shared by Boian Mitov We have released officially the new free Mitov.Runtime library with the updated site :-) Enjoy! http://mitov.com/products/mitov-runtime#overview

Need Suggestion: Local DB and Driver for XE2 VCL app

Need Suggestion: Local DB and Driver for XE2 VCL app I'm looking to dump the storage-mechanism that I've been using (flat, text files) in favor of a database. Basically, I'm moving into a different customer market that needs more reporting and my current method of loading/saving flat text-files into/from a TObjectList is just not cutting it. It's been a while since I looked into this and most of my googling turns up results that just look stale. In previous apps, I used ZeosLIB and MySQL. It seems like that's still an option, by replacing MySQL with FireBird, but I'd like to get opinions. My requirements are: 1) Still actively supported and developed 2) Works with Delphi PRO XE2 VCL 32-Bit 3) Supports latest XE(X) with 32/64-Bit VCL/FMX (later migration) 4) Uses local DB files for storage with no external service needed (everything should run in the EXE or linked DLLs aka "embedded") 5) License is free allows for royalty free redistribution in software

Today is my birthday and I'm pleased to announce a 30% discount to HTML Component Library and HTML Report Library Single Developer Licenses.

Today is my birthday and I'm pleased to announce a 30% discount to HTML Component Library and HTML Report Library Single Developer Licenses.  Please use coupon code  HL20112014 . Coupons are valid only 20/11/2014 (your local time), 5 coupons available. http://delphihtmlcomponents.com/ About HCL: HTML Component Library is 100% native cross-platform (VCL+All FMX) HTML rendering library. It supports all versions of delphi from Delphi 7 to XE7 and almost all HTML5/CSS3 tags and properties including animations, transitions, shadows, blur, etc. Printing and PDF export are availabe on Win and MacOS. HCL parsing and rendering are extremely fast even on mobile platforms. About HRL: HRL is a template-based cross-platform reporting library for Delphi, designed to generate reports using databases, XML and other data sources (see Files example). Templates are simple HTML files containing special tags, and output is pure HTML suitable for displaying in any browser and sending by mail (all of the

Someone using UIB 2.5?

Someone using UIB 2.5? It seems there is a bug in TUIBDataset.Next At first call (after open) it do nothing

Direct - Hire Role for Delphi Developer - Gilbertsville, PA

Direct - Hire Role for Delphi Developer - Gilbertsville, PA Must have Delphi 2009+, XE preferred Must be comfortable with Large Systems E-Commerce is a plus Unit Testing is highly preferred Multi-Threaded Service Preferred Awesome Company, Great Benefits You can reach me at athrivikraman@relevante.com #permanent #pennsylvania #philadelphia #gilbertsville #delphi #developer #delphixe #hiring #hiringnow

My light version of a Command-line parsing with Delphi attribute ; it's a Primož Gabrijelčič 's idea, found in ITDevCon 2013 Pdf. (no source so I writed it!)

My light version of a Command-line parsing with Delphi attribute ; it's a Primož Gabrijelčič 's idea, found in ITDevCon 2013 Pdf. (no source so I writed it!) interface uses rtti; type   ParamNameAttribute = class(TCustomAttribute)   protected     FName:string;     FDefaultValue:TValue;   public     constructor Create(const AName:string);overload;     constructor Create(const AName:string; const ADefaultValue:string);overload;     constructor Create(const AName:string; const ADefaultValue:boolean);overload;     constructor Create(const AName:string; const ADefaultValue:Integer);overload;     property Name:string         read FName;     property DefaultValue:TValue read FDefaultValue;   end;   TCmdLine = class(TObject)   public     constructor Create;   end; implementation uses sysutils; { ParamNameAttribute } constructor ParamNameAttribute.Create(const AName: string); begin   FName := AName; end; constructor ParamNameAttribute.Create(const AName, ADefaultValue: string); begin  

4096 members passed!

Image
4096 members passed! 4110 Delphi Developers and counting... #cake

RAD in Action - Modernizing & Extending VCL Applications - webinar starting in 15 minutes at 6am PT (2pm UTC) -

RAD in Action - Modernizing & Extending VCL Applications - webinar starting in 15 minutes at 6am PT (2pm UTC) - http://forms.embarcadero.com/RADinAction-ModernVCLAppCaseStudies?utm_content=buffer4b19e&utm_medium=social&utm_source=linkedin.com&utm_campaign=buffer

Oracle Data Access Components for Delphi (ODAC) allow implementation of work with Oracle server

Oracle Data Access Components for Delphi (ODAC) allow implementation of work with Oracle server http://blog.devart.com/odac-integration-with-dbforge-studio-for-oracle.html

Working with FireUI in RAD Studio XE7 - Frequently Asked Questions http://embt.co/1v56dgu

Working with FireUI in RAD Studio XE7 - Frequently Asked Questions http://embt.co/1v56dgu http://embt.co/1v56dgu

Very very annoying, XE7 is unusable!

Very very annoying, XE7 is unusable!  Out of memory, exceptions, very slow, etc. please vote for this QC! https://quality.embarcadero.com/browse/RSP-9568 Marco Cantu: I thought you said there were many bugs solved? And XE7 is the best IDE? Well, I have to tell some customers to downgrade to XE6 now... :( (and no, SP1 did not fix this) https://quality.embarcadero.com/browse/RSP-9568

FastMM4 & Parallel Programming?

FastMM4 & Parallel Programming? I have seem a couple of comments which imply FastMM4, Delphi's memory manager, doesn't perform well in a parallel applications. Having Googled around a little I came across ScaleMM (see link). It claims better performance in multi-core apps.  Does anyone use ScaleMM in production applications? Is it stable? FastMM4 has been with us since Delphi 2010. Maybe it's time for Embarcadero to take a look at improving the memory manager now that we have the Parallel Library. Or is this a "storm-in-a-teacup" and is FastMM4 perfectly adequate for most parallel applications? https://code.google.com/p/scalemm/

I have a question about tabstop for control in TRectangle, may be anyone have solution?

I have a question about tabstop for control in TRectangle, may be anyone have solution? http://stackoverflow.com/questions/27005452/tabstop-and-trectangle

TML/SIDEX SDK for BEEP (Blocks Extensible Exchange Protocol) is now available as free version. New in Version 1.1.3 is the Delphi XE7 support of the VCL components.

TML/SIDEX SDK for BEEP (Blocks Extensible Exchange Protocol) is now available as free version. New in Version 1.1.3 is the Delphi XE7 support of the VCL components. https://www.tml-software.com/downloads/

Building Multi-Device Applications with FireUI - Frequently Asked Questions: http://embt.co/11jtvST

Building Multi-Device Applications with FireUI - Frequently Asked Questions: http://embt.co/11jtvST http://embt.co/11jtvST

The Rise Of The Sensornet: 4.9B Connected Things In 2015, Says Gartner http://tcrn.ch/1tBZwv0 via @techcrunch

The Rise Of The Sensornet: 4.9B Connected Things In 2015, Says Gartner http://tcrn.ch/1tBZwv0 via @techcrunch http://tcrn.ch/1tBZwv0

There will be a "Show and Tell" Delphi meetup in Oslo on the 4th December. It's a chance for us to discuss how we use Delphi and which components and techniques we employ.

There will be a "Show and Tell" Delphi meetup in Oslo on the 4th December. It's a chance for us to discuss how we use Delphi and which components and techniques we employ. I will give an overview of the products and components that I'm involved with: TChromeTabs, DUDs, NetTools, ShareBike and Easy-IP. Roman Yankovsky will talk about Delphi AST and FixInsight. We should have time for at least one or two more presenters. If you would like to give a short talk please let me know. http://www.meetup.com/delphi-173/events/218731457/?a=ra1_te http://www.meetup.com/delphi-173/events/218731457/?a=ra1_te

Parallel.For - What's the Best Way to Show Progress?

Parallel.For - What's the Best Way to Show Progress? I have a time consuming task which the new Parallel.For routine is ideally suited to. In a single thread environment I show progress using a ProgressBar which is updated inside the loop. I thought the parallel version would be a doddle - but it's not. If I update the ProgressBar using a TThread.Synchronize wrapper it becomes deadlocked. The main thread is waiting for the For loop to end, and the For loop need the main thread to perform the synchronized code.  This is something which was highlighted in a recent Coderage video. The second option is to update the code using a TThread.Queue wrapper. This works! However, it seems the progress updates all come once the main loop has completed (since the cores are busy doing the For loop). The third option is to call the Parallel.For loop as a TTask and use synchronize inside the loop.  This way the main loop isn't waiting for the For loop to end. This also works and the progres

Sign up for our 2-part webinar series on Modernizing and Extending VCL Applications Case Studies with David I.

Sign up for our 2-part webinar series on Modernizing and Extending VCL Applications Case Studies with David I. and John “JT” Thomas providing hands-on technical sessions. Part 1: Nov 19 & Part 2: Dec 10. http://embt.co/13PbFry http://embt.co/13PbFry

Sign up for our 2-part webinar series on Modernizing and Extending VCL Applications Case Studies with David I. and John “JT” Thomas providing hands-on technical sessions. Part 1: Nov 19 & Part 2: Dec 10. http://embt.co/13PbFry

Sign up for our 2-part webinar series on Modernizing and Extending VCL Applications Case Studies with David I. and John “JT” Thomas providing hands-on technical sessions. Part 1: Nov 19 & Part 2: Dec 10. http://embt.co/13PbFry http://embt.co/13PbFry

Sign up now for our First Look Webinar: InterBase XE7 on December 4th.

Sign up now for our First Look Webinar: InterBase XE7 on December 4th. Advance and enhance your business software with InterBase http://embt.co/11ok0BC http://embt.co/11ok0BC

Sign up now for our First Look Webinar: InterBase XE7 on December 4th. Advance and enhance your business software with InterBase http://embt.co/11ok0BC

Sign up now for our First Look Webinar: InterBase XE7 on December 4th. Advance and enhance your business software with InterBase http://embt.co/11ok0BC http://embt.co/11ok0BC

Last Chance!

Last Chance! Upgrade from any previous version and save up to 45%. Get the upgrade price on Delphi XE7 through TODAY regardless of what previous version you have. Details here: http://embt.co/RadOffers http://embt.co/RadOffers

Last Chance! Upgrade from any previous version and save up to 45%. Get the upgrade price on Delphi XE7 through TODAY regardless of what previous version you have. Details here: http://embt.co/RadOffers

Last Chance! Upgrade from any previous version and save up to 45%. Get the upgrade price on Delphi XE7 through TODAY regardless of what previous version you have. Details here: http://embt.co/RadOffers http://embt.co/RadOffers

Downloaded XE7 update 1 ISO

Downloaded XE7 update 1 ISO Uninstalled XE7 Mounted the ISO  Ran install_RADStudio.exe as Administrator clicked on Install XE7 and/or C++ Builder XE7 ...Nothing happens clicked on Install XE7 and/or C++ Builder XE7 ...Nothing happens clicked violently on Install XE7 and/or C++ Builder XE7 ...Nothing happens clicked violently while swearing on Install XE7 and/or C++ Builder XE7 ...Nothing happens Any ideas?

Embarcadero Delphi involvement with the ESA Rosetta Comet 67P spacecraft project

http://bitly.com/11u9SaM

So how about Embarcadero gets gutsy and adds a compiler option to require empty parentheses when calling parameterless functions and procedures.

So how about Embarcadero gets gutsy and adds a compiler option to require empty parentheses when calling parameterless functions and procedures. To me it's one of those things that has never made sense about the Pascal language, and makes it harder to read. And now, with function references, inconsistent.

XE6 to XE7 Update 1 Generics incompatibility.

XE6 to XE7 Update 1 Generics incompatibility. I can't say for sure if I ever tried this in XE7 first version, but I don't think I did. procedure TAbstractBaseFactory .CreateInner; begin   FInner := TBaseTypeClass(T).Create;   end; TBaseTypeClass(T).Create;  compiles and runs in XE6, but gives [dcc32 Error] : E2010 Incompatible types: 'T' and 'TAbstractBaseType' in XE7. Stefan Glienke - You showed me this trick for XE6 - any suggestions for XE7? {code} program CreateFromGenericTClassXE7; {$APPTYPE CONSOLE} {$R *.res} uses   System.SysUtils; type   TAbstractBaseType = class   public     Constructor Create; virtual;     procedure DoSomething; virtual; abstract;   end;   TDescendantType = class(TAbstractBaseType)   public     procedure DoSomething; override;   end; type   TBaseTypeClass = class of TAbstractBaseType; type   TAbstractBaseFactory = class abstract (TObject)   private     FInner: T;     procedure SetInner(const Value: T);   public     constructor Create
How-To Guide: Upgrading Your Delphi VCL Applications To Support 4K Displays

Does any one know a way to see if a key combination (ie, ctrl-shift-w) has been registered as a global hotkey? I do not want to know which application, just if it has been registered or not.

Does any one know a way to see if a key combination (ie, ctrl-shift-w) has been registered as a global hotkey? I do not want to know which application, just if it has been registered or not.

Version 1.0.1 of DDDebug - the Delphi Memory Profiler - has been released recently. Registered customers can download the update for free. In addition to some smaller enhancements, this release significantly improves the performance of the profiler. Read more about DDDebug and download a trial version at http://ddobjects.de/dddebug

Image
Version 1.0.1 of DDDebug - the Delphi Memory Profiler - has been released recently. Registered customers can download the update for free. In addition to some smaller enhancements, this release significantly improves the performance of the profiler. Read more about DDDebug and download a trial version at http://ddobjects.de/dddebug

Hi guys .

Hi guys . I had just finished implementing the new version of delphi detours library (v2). This new version was born from the scratch , and it's the same thing for InstDecode library. Many BugFix and new hooking architecture was introduced allowing support for multi hooks ! Whatever your hook was installed from your app process or via (dll,..).DDL v2 will manage your hook to run without problems . Beyond the multi hooks support, there are many new features : -VEX support . -Instructions Maping. -Hooking interfaces methods. -New function to detect if a function was hooked. -Three bytes escape table support. -I will try to cover the rest later. Before publishing the new version i need some beta tester to test the new version. If you want receive a beta version ..send me a mail to: ismspider at gmail.com https://code.google.com/p/delphi-detours-library/ https://code.google.com/p/delphi-detours-library

Anyone happen to know why all the memory management routines in Delphi take a signed rather than unsigned integer?

Anyone happen to know why all the memory management routines in Delphi take a signed rather than unsigned integer? Even routines that support 64-bit memory addresses use NativeInt rather than NativeUInt? A quick glance around the OS and language landscape suggests unsigned is the norm. Using signed integers unnecessarily limits the maximum size of contiguous memory that can be allocated and requires all those routines to check that parameters are not less than zero. Why would someone purposefully do this?

Anyone happen to know why all the memory management routines in Delphi take a signed rather than unsigned integer? Even routines that support 64-bit memory addresses use NativeInt rather than NativeUInt? A quick glance around the OS and language landscape suggests unsigned is the norm.

Anyone happen to know why all the memory management routines in Delphi take a signed rather than unsigned integer? Even routines that support 64-bit memory addresses use NativeInt rather than NativeUInt? A quick glance around the OS and language landscape suggests unsigned is the norm. Using signed integers unnecessarily limits the maximum size of contiguous memory that can be allocated and requires all those routines to check that parameters are not less than zero. Why would someone purposefully do this?

I hope there are some multithreading pros around :)

I hope there are some multithreading pros around :) http://stackoverflow.com/questions/26936088/best-way-to-synchronize-two-threads-with-each-other-in-delphi http://stackoverflow.com/questions/26936088/best-way-to-synchronize-two-threads-with-each-other-in-delphi

I have 5 more Google Inbox invitations to give away.

I have 5 more Google Inbox invitations to give away . If you would like one, reply in the comments section with your email.   If you missed out last time, ask again and you will be given priority. Note that you will need an iOS or Android mobile device to activate your Inbox account  You can use the web interface once the account is activated. http://www.google.com/inbox/

In a lot of common cases, handling memory for local variables with a try ... finally can be easily avoided, as soon as you care about the scope of the variable.

In a lot of common cases, handling memory for local variables with a try ... finally can be easily avoided, as soon as you care about the scope of the variable. We introduced some kind of automatic memory management to ease business code writing in our Open Source mORMot framework. Not perfect, of course, but definitively some syntaxic sugar to be used  on purpose, as a type saver. http://blog.synopse.info/post/2014/11/14/Automatic-TSQLRecord-memory-handling

I have changed my EDN email address, but I am still receiving some emails from Embarcadero to the old one.

I have changed my EDN email address, but I am still receiving some emails from Embarcadero to the old one. http://www.embarcadero.com/support only offers assistance with product installation and registration, as well as product support, but lacks support for EDN account issues.  What would be proper contact to resolve this issue?  http://www.embarcadero.com/support

XE7 Update 1 is available.

XE7 Update 1 is available. http://cc.embarcadero.com/Item/30049

Delphi XE7 compiling for android 5.0 lollipop ( Nexus 7)

Delphi XE7  compiling for android 5.0 lollipop ( Nexus 7) unit FMX.Graphics.Android; line 285 TJBitmapFactory.JavaClass.decodeByteArray return Options.outWidth=0 and Options.outHeight=0 .. function fails This makes any software with stored bitmap resources ( i.e. Timage ) failing to load on android lollipop. Anybody experienced the same?

OK, It's a C++ Developer position, but at least he/she gets to work with the cool Delphi dudes ;)

OK, It's a C++ Developer position, but at least he/she gets to work with the cool Delphi dudes ;) Originally shared by Anders Ohlsson WideOrbit is hiring a C++ developer in Lynnwood, WA I'm very happy to announce that we're not only hiring Delphi developers, but we are also hiring a C++ developer to work on some of our most complex technology! If you love C++ and don't mind hanging out with a bunch of cool Delphi developers, hop on over to...

Hi!

Hi! How use auto proxy (PAC script) with WinInet? Help please
didn't know that Delphi played a role in the Rosetta comet landing

Hi!

Hi! How can i access my SD card from my phone through an Windows APP in firemonkey? From the windows explorer i get a path like 'XPERIA U\Internal Storage\Download'   ... but this cant be used as path to read a file with FileExists or TStringlist.loadfromfile. How can i do this?

It will be great if embarcadero do something like this, not for old users like me, I mean for new one. We need bigger comunity!

It will be great if embarcadero do something like this, not for old users like me, I mean for new one. We need bigger comunity! Few minutes ago, Microsoft announced free Visual Studio Community edition  that is Visual Studio-u Professional with different licences. Also .NET framework becoming Open-Source  server for Linux i MacOS. http://cdn1.visualstudio.com/dynimg/IC765091.jpg

I search a cool, fast and free TTreeView (other than delphi TTreeView and TVirtualTreeView) with support Delphi Styles.

I search a cool, fast and free TTreeView (other than delphi TTreeView and TVirtualTreeView) with support Delphi Styles. any idea?

I've created a component to add a (simple) design time support to a DataSnap+FireDAC (FireDACJSONReflect) REST Server application.

I've created a component to add a (simple) design time support to a DataSnap+FireDAC (FireDACJSONReflect) REST Server application. Here's my blog post (in italian, but there's a Google translate widget on the right side of the blog). http://blog.delphiedintorni.it/2014/11/tfddatasetprovider-un-supporto-design.html What do you think about it?

Quality Portal report: quality central does not work

Quality Portal report: quality central does not work It is kind of funny and tragic at same time. https://quality.embarcadero.com/browse/RSP-9702

SvCom v7.14 is available for download. This release improves debug routines, installation and rebuild procedures and contains several minor bug fixes.

SvCom v7.14 is available for download. This release improves debug routines, installation and rebuild procedures and contains several minor bug fixes. http://aldyn-software.com/svcom.html

I found a trick to test conversion between 2 types in compile time (found in C++ Super Book "Modern C++ Design" by Andrei Alexandrescu)

I found a trick to test conversion between 2 types in compile time  (found in C++ Super Book "Modern C++ Design" by Andrei Alexandrescu) type   Small = Char;   Big   = Integer;   ConversionCore = class   public     class function Test(const Dummy:U):Small;overload;static;     class function Test(const Dummy):Big;overload;static;   end;   Conversion = class   public     class function IsExists():boolean;static;inline;   end; class function ConversionCore .Test(const Dummy: U): Small; begin end; class function ConversionCore .Test(const Dummy): Big; begin end; // doesn't work class function Conversion .IsExists: boolean; type   ConvertType = ConversionCore ; var   Dummy:T; begin   Result := Sizeof(ConvertType.Test(Dummy)) = Sizeof(Small); end; // Test procedure TForm1.Button2Click(Sender: TObject); type   BaseType = TList;   ConvertType = ConversionCore ; var   T:BaseType; begin   case Sizeof(ConvertType.Test(T)) = Sizeof(Small) of     true:  begin              ShowMessag

How do I test an interface? Should I even do that?

http://softwareonastring.com/2014/11/09/how-do-i-test-an-interface-should-i-even-do-that

I am battling an intermittent error. According to EurekaLog, the error occurs in this routine:

I am battling an intermittent error. According to EurekaLog, the error occurs in this routine: procedure TTreeItem.Clear; var   j: integer;   LinkedItem: TLinkedItem; begin   for j:=0 to LeafSize-1 do begin     if Items[j] <> nil then begin       if Items[j] is TTreeItem then begin <---- exception thrown here         TTreeItem(Items[j]).Free;         Items[j] := Nil;       end       else begin         LinkedItem:=TLinkedItem(Items[j]);         while LinkedItem <> nil do begin           Owner.DestroyItem(LinkedItem.Value);           LinkedItem:=LinkedItem.Next;         end;         TLinkedItem(Items[j]).Free;         Items[j] := Nil;       end;     end;   end; end; The code seems all too simple. Items added are TTreeItems, so the test for whether the item is a TTreeItem is almost redundant, but the question is, how can an is test on the item throw an exception? The code is taken from a Hash Trie implementation which is used in a third-party component, a version which is

Hi Guys

Hi Guys, I am looking for books to get up to speed using Delphi or Object-Pascal for that matter. Any recommendations? Thanks, Daniel
Does anyone know of a FMX component to read UPC barcodes (the type you find on products in the supermarket and other stores)?   In addition, anyone know of a web service (free or otherwise), where you can look up products based on the UPC?   Thanks.

Setting a default language with dxgettext » twm's blog

http://blog.dummzeuch.de/2014/11/10/setting-a-default-language-with-dxgettext/

Hi there

Hi there, I was wondering how you measure your software, I mean, how you know what the best feature of your software is, the feature which is less used, how often and for how long features are used and so on. I know there are surveys for that but if only 10% of the users answers then the answer is not meaningful.

Just realized you can run Delphi services (and many applications) directly on the Free Hyper-V 2012... anybody searched how allowed that is by the Microsoft license?

Just realized you can run Delphi services (and many applications) directly on the Free Hyper-V 2012... anybody searched how allowed that is by the Microsoft license? I'm referring to using Hyper-V 2012 itself as a "bare metal" OS, rather than as a virtualization OS. You're limited to command-line, but that's quite okay to run db or web servers, and you can easily install alternative shell, desktop and administration tools if you really want a GUI. If allowed, this effectively brings the costs of hosting services that are Delphi-based rather than IIS-based to the same level as Linux. Also since the OS is bare-bones, it just runs more efficiently that a full-blown Windows 2012 and is less vulnerable.

We are pleased to announce the availability of the EurekaLog 7.1.1 stable release. EurekaLog is a complete bug resolution tool for Delphi and C++Builder developers that gives your application the power to catch every exception and memory/resource leak, directly on the end user PC, generating a detailed log of the call stack (with file, class, method and line number), optionally sending you a copy of each log entry via email or to a web based bug-tracker.

We are pleased to announce the availability of the EurekaLog 7.1.1 stable release. EurekaLog is a complete bug resolution tool for Delphi and C++Builder developers that gives your application the power to catch every exception and memory/resource leak, directly on the end user PC, generating a detailed log of the call stack (with file, class, method and line number), optionally sending you a copy of each log entry via email or to a web based bug-tracker. See full changelog: http://www.eurekalog.com/showchangelog_delphi.php Watch Tutorials:  http://www.eurekalog.com/tutorials_delphi.php Download Trial: http://www.eurekalog.com/downloads_delphi.php Buy License: http://www.eurekalog.com/buy.php Buy Upgrade from previous major version: http://www.eurekalog.com/login.php http://www.eurekalog.com/showchangelog_delphi.php

4k

4k But no celebration until 4K ;) http://xkcd.com/394/

Like the "begin on enter" that is not always welcome, there's a menu option that could be very cool if it was not so...

Image
Like the "begin on enter" that is not always welcome, there's a menu option that could be very cool if it was not so designed so badly. It should at least extend selection to whole words (or line feeds), and reformat code after insertion.

Like the "begin on enter" that is not always welcome, there's a menu option that could be very cool if it was not so designed so badly. It should at least extend selection to whole words (or line feeds), and reformat code after insertion.

Image
Like the "begin on enter" that is not always welcome, there's a menu option that could be very cool if it was not so designed so badly. It should at least extend selection to whole words (or line feeds), and reformat code after insertion.

HTML Component Library now supports box-reflection

Image
HTML Component Library now supports box-reflection

I find this trick to identify 'T' Type in a delphi generic and select the appropriate code. I create a "dummy" parameter to identify the type of T...

I find this trick to identify 'T' Type in a delphi generic and select the appropriate code. I create a "dummy" parameter to identify the type of T...  type   Type2Type = class   type     OriginalType = T;   end;   TFoo = class     class procedure WriteLn(Dummy:Type2Type );overload;static;inline;     class procedure WriteLn(Dummy:Type2Type );overload;static;inline;     class procedure WriteLn(Dummy:Type2Type );overload;static;inline;   private     class procedure Bar;   end; { TFoo } class procedure TFoo .Bar; begin   WriteLn(Type2Type (nil)); end; class procedure TFoo .WriteLn(Dummy: Type2Type ); begin   ShowMessage('int'); end; class procedure TFoo .WriteLn(Dummy: Type2Type ); begin   ShowMessage('string'); end; class procedure TFoo .WriteLn(Dummy: Type2Type ); begin   ShowMessage('Unknown'); end; Example : procedure TForm1.Button1Click(Sender: TObject); begin   TFoo .Bar;      //ShowMessage('int');  //  TFoo .Bar; end; What do you

embarcadero's support

embarcadero's support http://thedailywtf.com/articles/just-testing-the-news

Yeah... That's familiar :rolleyes

Image
Yeah... That's familiar :rolleyes Originally shared by Justin Lee How QA is done.

A colleague of mine spotted the weirdest XE6 bug so far.

A colleague of mine spotted the weirdest XE6 bug so far. On an TMS TAdvStringGrid 1. for i := 0 to Grid.RowCount - 1  do Grid.RowHeights[i] := rh; 2. for i := 0 to Grid.RowCount - 1 do begin   Grid.RowHeights[i] := rh; end; Example 1 failed at setting all lines, Example 2 worked. Does anyone know of an XE6  QC or QP that is related to "missing" begin/end enclosures?

JCL & JVCL - What are the Real Gems in these Tool Sets

Image
JCL & JVCL - What are the Real Gems in these Tool Sets I've just installed JCL and JVCL for the first time. I'm really quite picky about the components I use.  I generally stay away from free (due to the lack of incentive for the author to upgrade). However, JVCL seems a little different to the average freeware. It has strong community support and was upgraded to XE7 support really quickly. So I thought I'd take a look. Now I have installed it, I'm quite overwhelmed by the plethora or components. So... to all those experienced JCL and JVCL users, what are the real gems in this set of components / routines? What are the components you find the most useful? What are the components you simply cannot do without? Thanks - Steve #JCL   #JVCL

This is slightly OT...

This is slightly OT... One of my "Delphi Heros" has its birthday today Dr. Bob - a lot of others and me probably learned Delphi also by his tutorials. Thanks for that and "Happy Birthday" ... http://www.drbob42.com/ http://www.drbob42.com
Can anyone point me to full tutorial or book or any other online resource towards database development with ISAPI . I am using xe6. Thanks.
Now that LogMeIn is a paid service with less features than the free version, what are you using to remote into a machine behind a firewall? I need to be able to get to my Delphi dev machine while I am on the road.
What would be cool is if freebies (Nick's book, Castalia, etc.) that are given throughout a release cycle applied to prior purchasers of that release version.  So for example if I purchased XE7 a week after release I'd get everything added to future promotions.  If I purchased a month before the next release I'd only get the promotional items for that promotion only.

I'm looking for tools or method how to determine what exactly packages are still being compiled into main...

I'm looking for tools or method how to determine what exactly packages are still being compiled into main application after enabling "use packages" option. This problem is related to this SO question http://stackoverflow.com/questions/1562601/determining-delphi-runtime-packages-to-include  but from a different angle. I know which packages the app depens on (thanks to Project Info, Required tool http://cc.embarcadero.com/Item.aspx?id=18561 , Dependency Walker, etc), what I need to know - what packages are inside the app - to further decide what to do about it. Yet another angle of the problem is lack of information what package which unit belongs to. I don't see this neither on official docwiki page, nor in installed help system. Am I missing some simple clear solution to both these problems? Anyway I'm going to file a bug or two ;) http://stackoverflow.com/questions/1562601/determining-delphi-runtime-packages-to-include

I'm looking for tools or method how to determine what exactly packages are still being compiled into main application after enabling "use packages" option. This problem is related to this SO question http://stackoverflow.com/questions/1562601/determining-delphi-runtime-packages-to-include but from a different angle. I know which packages the app depens on (thanks to Project Info, Required tool http://cc.embarcadero.com/Item.aspx?id=18561, Dependency Walker, etc), what I need to know - what packages are inside the app - to further decide what to do about it.

I'm looking for tools or method how to determine what exactly packages are still being compiled into main application after enabling "use packages" option. This problem is related to this SO question http://stackoverflow.com/questions/1562601/determining-delphi-runtime-packages-to-include  but from a different angle. I know which packages the app depens on (thanks to Project Info, Required tool http://cc.embarcadero.com/Item.aspx?id=18561 , Dependency Walker, etc), what I need to know - what packages are inside the app - to further decide what to do about it. Yet another angle of the problem is lack of information what package which unit belongs to. I don't see this neither on official docwiki page, nor in installed help system. Am I missing some simple clear solution to both these problems? Anyway I'm going to file a bug or two ;) http://stackoverflow.com/questions/1562601/determining-delphi-runtime-packages-to-include

http://blog.delphiedintorni.it/2014/11/google-material-design-e-firemonkey.html

http://blog.delphiedintorni.it/2014/11/google-material-design-e-firemonkey.html I was trying to get something similar to the Google+ Android App and came up with this (still primitive I know but I'm happy so far)... source code is included and you can give it a try using the APK too. Comments/suggestions are appreciated! :-)
I am testing my REST Server and found a Chrome Extension "Advanced Rest Client". With Delphi I can test the functions/methods by using the HTML Server Function Invoker, sending parameters and watch the result. That server with be used by a Java Client, so the programmer asked how he could test it using the Chrome Extension. I tried to use passing some parameters but the server function themselves won't work, I just see the page loading without error, but no result. How do I inform my fellow about using Delphi Rest with Java?

Today I spent several hours hunting down a problem with opening a COM port. Basically the program opens a COM port, writes some bytes to it, reads an answer and closes it again. This determines whether the expected device is connected to the COM port or not.

Today I spent several hours hunting down a problem with opening a COM port. Basically the program opens a COM port, writes some bytes to it, reads an answer and closes it again. This determines whether the expected device is connected to the COM port or not. If the answer is the expected one, so the device is connected and active, the detection loop exists (the COM port has been closed using CloseHandle). Now the actual communication with the device starts. The first thing is does, is open the same COM port again. Which fails with the error code 5 (ERROR_ACCESS_DENIED). WTF? http://blog.dummzeuch.de/2014/11/05/when-closehandle-does-not-close-the-handle/

I have posted this to my blog so I hopefully won't forget it again. But it might be helpful to others.

I have posted this to my blog so I hopefully won't forget it again. But it might be helpful to others. http://blog.dummzeuch.de/2014/11/04/class-as-interface-operator-not-applicable-to-this-operand/

Since it's fashionable today, may I ask you to vote for this Quality report too please?

Since it's fashionable today, may I ask you to vote for this Quality report too please? It's to add an orthographic projection to FireMonkey's 3D views. Currently they have a perspective projection only (ie where objects get smaller as they are further away). An orthographic projection doesn't shrink with distance, and is used for technical 3D work, everything from engineering diagrams to 3D graphs. In a "business" 3D environment, it's a strange omission. Every 3D environment I know of, apart from FMX, has these two always. It can be achieved in FMX currently via hacks, but they may be fragile as the FMX code changes. Better to have it inbuilt. Even better, I just so happen to know it's not actually that much code to implement, so I'm really hopeful they might be able to add it. https://quality.embarcadero.com/browse/RSP-9670 https://quality.embarcadero.com/browse/RSP-9670

Since it's fashionable today, may I ask you to vote for this Quality report too please? It's to add an orthographic projection to FireMonkey's 3D views. Currently they have a perspective projection only (ie where objects get smaller as they are further away). An orthographic projection doesn't shrink with distance, and is used for technical 3D work, everything from engineering diagrams to 3D graphs.

Since it's fashionable today, may I ask you to vote for this Quality report too please? It's to add an orthographic projection to FireMonkey's 3D views. Currently they have a perspective projection only (ie where objects get smaller as they are further away). An orthographic projection doesn't shrink with distance, and is used for technical 3D work, everything from engineering diagrams to 3D graphs. In a "business" 3D environment, it's a strange omission. Every 3D environment I know of, apart from FMX, has these two always. It can be achieved in FMX currently via hacks, but they may be fragile as the FMX code changes. Better to have it inbuilt. Even better, I just so happen to know it's not actually that much code to implement, so I'm really hopeful they might be able to add it. https://quality.embarcadero.com/browse/RSP-9670 https://quality.embarcadero.com/browse/RSP-9670

When trying to create a #DataSnap Rest Application from the wizard dialog I am getting a "TDSProxyException" with an...

When trying to create a #DataSnap Rest Application from the wizard dialog I am getting a "TDSProxyException" with an error about meta data. This happens when open browser button is clicked, aftre this the Reverse String function will not work.
When trying to create a #DataSnap Rest Application from the wizard dialog I am getting a "TDSProxyException" with an error about meta data. This happens when open browser button is clicked, aftre this the Reverse String function will not work.

EMB doesn't think it is a bug. Really?

EMB doesn't think it is a bug. Really? https://quality.embarcadero.com/browse/AP-101 https://quality.embarcadero.com/browse/AP-101

Just saw these guys surpassed their $10,000 goal. Nice work!

Just saw these guys surpassed their $10,000 goal. Nice work! https://www.kickstarter.com/projects/1981928931/virtualuitm-a-comprehensive-html5-ui-remoting-solu (I'm a bit puzzled what the kickstarter is for, since the product already exists and I've seen posts here before, and even tried a demo myself. Perhaps it's just to do the final work to bring it to market. The KS page doesn't really say. Either way, presumably they need it and it's really cool to see a kickstarter for a Delphi product meet the goal and go ahead. It's still got just over one day to go if you want to add to it yourself, too.) https://www.kickstarter.com/projects/1981928931/virtualuitm-a-comprehensive-html5-ui-remoting-solu

High DPI awareness is must have feature for XE8.

High DPI awareness is must have feature for XE8. Not only for Delphi IDE, but also for VCL and FMX frameworks.  https://quality.embarcadero.com/browse/RSP-9678

New blog post -

New blog post - VCL Styles Utils – Major Update (Dialogs, ProgressBar, DateTimePicker, ListView and more)    http://theroadtodelphi.wordpress.com/2014/11/04/vcl-styles-utils-major-update-dialogs-progressbar-datetimepicker-listview-and-more/ http://theroadtodelphi.wordpress.com/2014/11/04/vcl-styles-utils-major-update-dialogs-progressbar-datetimepicker-listview-and-more

I have 3 Google Inbox invitations to give away.

I have 3 Google Inbox invitations to give away . If you would like one, reply in the comments section with your email. Note that you will need an iOS or Android mobile device to activate your Inbox account  You can use the web interface once the account is activated. http://www.google.com/inbox/

FireDAC - MSSQL - Stored Proc context details?

FireDAC - MSSQL - Stored Proc context details? Without adding parameters to the stored procedure, is it possible to pass / push more process context info than what MSSQL already has in sp_who?  http://msdn.microsoft.com/en-us/library/ms174313.aspx In particular: client app processid and thread id Any optional connection parameter or similar? #firedac   #mssql   http://msdn.microsoft.com/en-us/library/ms174313.aspx

FixInsight 2014.11 released.

FixInsight 2014.11 released. What's new? * Command line tool * Per-project settings * Delphi 2006, Delphi 2007 and Delphi 2009 support added * Many bugs fixed http://sourceoddity.com/fixinsight/

Just a little reminder (70 hours to go):

Just a little reminder (70 hours to go): https://www.kickstarter.com/projects/1981928931/virtualuitm-a-comprehensive-html5-ui-remoting-solu https://www.kickstarter.com/projects/1981928931/virtualuitm-a-comprehensive-html5-ui-remoting-solu

I was wrong about the life-cycle of a Form.

I was wrong about the life-cycle of a Form. I thought it was Free()'d from Application.Run, but it's not. This appears to be the reality... FormDestroy() is a called, but not where I thought.  The form is being created in the *.dpr with a CreateForm() and the associated FormDestroy() connected to the form isn't called until the "end." in the *.dpr, when a "unit finalization" calls Vcl.Forms.DoneApplication ->  System.Classes.TComponent.DestroyComponents ->  INstance.Destroy() ... and only then is FormDestroy() executed. var    MyApp      : TApplication; begin . . .    MyApp := Application;    MyApp.Initialize();    MyApp.CreateForm(TFMyForm, FMyForm);    MyApp.Run(); . . . end. -> finally calls  1) Vcl.Forms.DoneApplication -> which calls 2) System.Classes.TComponent.DestroyComponents -> which calls 3) Instance.Destroy() -> which calls 4) FormDestroy()

I was wrong about the life-cycle of a Form. I thought it was Free()'d from Application.Run, but it's not. This appears to be the reality...

I was wrong about the life-cycle of a Form. I thought it was Free()'d from Application.Run, but it's not. This appears to be the reality... FormDestroy() is a called, but not where I thought.  The form is being created in the *.dpr with a CreateForm() and the associated FormDestroy() connected to the form isn't called until the "end." in the *.dpr, when a "unit finalization" calls Vcl.Forms.DoneApplication ->  System.Classes.TComponent.DestroyComponents ->  INstance.Destroy() ... and only then is FormDestroy() executed. var    MyApp      : TApplication; begin . . .    MyApp := Application;    MyApp.Initialize();    MyApp.CreateForm(TFMyForm, FMyForm);    MyApp.Run(); . . . end. -> finally calls  1) Vcl.Forms.DoneApplication -> which calls 2) System.Classes.TComponent.DestroyComponents -> which calls 3) Instance.Destroy() -> which calls 4) FormDestroy()

Hello!

Hello! So I have this interface in Delphi XE: IUserList = interface   ['{A9E4DC2D-CDEA-4B5C-8A68-8086D7800455}']     function GetUser( const Index : Integer ) : TUserClass;     procedure NewUser( IP : String );     procedure AddUser( ID: Integer;Token : String;EmployeeLevel : Integer;ProfileName : String );     function FindUser( IP : String ) : TUserClass;     property Users[ Index : Integer ] : TUserClass read GetUser;   end; When I try to compile the project, Delphi XE complains that GetUser doesn't have an open bracket. Sigh! Doesn't make sense to me. Anybody knows what's going on? Thanks! A

ANN: HTML Component Library 2.5 beta available.

ANN: HTML Component Library 2.5 beta available. What's new since 2.4 1. transition: blur; 2. Transition timing functions (now are supported only ease and linear) 3. Shadows drawing performance incredible improved. 4. CSS z-index property 5. CSS cursor property 6. AdaptiveZoom support for FMX 7. Rendering speed improved 8. Margin collapsing for block element 9. SVG shape-rendering attribute (=crisp-edges - no antialiasing) 10. CSS @media rule support (THtDocument.Media: TCSSMedia property) 11. PDF export on MacOS 12. Document.ShowImages property 13. CSS background-size, background-position properties 14. HtPanel.LazyImageLoading and BackgroundImageLoading properties 15. New HtPanel events:     OnElementDragEnd     OnElementResizeEnd     AfterTableColumnMoved    OnElementClick 16. New TElement flag - efDesignerSelected - force drawing selection on element 17. TElement.AddCSS/ClearCSS - add (clear) css rule to element selft-style 18.   TCSSStyleSheet.ClearProp/ClearSection - clears pr

Hi!

Hi! Just downloaded LockBox 3 for my Delphi XE - but getting loads of errors on the build. What happened? The last time I did it was alright (I had to change pc, so this is my first install on the new machine). Anybody's got working sources for it? Thanks! A

I wanted to share this because we recently started using Slack.com within our team and love it (no, I'm not affiliated with Slack in any way)

I wanted to share this because we recently started using Slack.com within our team and love it (no, I'm not affiliated with Slack in any way) I thought Slack was going to be just like the many other collaborative social networks that we've tried, but Slack is quite different. It's centred around the idea that everything your team needs is in one place and searchable.  Yeah, sounds like a potential mess, but they've really made it quite slick.  It only took about an hour of playing around with it before we were all saying, "Yeah, this is pretty cool." The thing that really brings Slack together is its integrations with other services such as dropbox, google drive, github, bitbucket, zendesk, etc., etc. http://slack.com
I have some amount value in the text box..usually the text ox value will show like this 123456789.00..i have to show the value in the INDIAN RUPEES FORMAT like this 12,34,56,789.00..I want the syntax for this  for a single line command ..................please help me....

Reading technical books - paper vs digital What's your thoughts?

Reading technical books - paper vs digital What's your thoughts? I haven't bought a digital book in 4 years.  My experience back then was that the Kindle edition of technical books (ones with code samples and diagrams) was terrible. The formatting just didn't work. Has this improved in recent times, or am I still better off buying the paper version? PDF books only work well on computer monitors - a place I don't like reading books. PDF's just don't work on a phone or 7" tablet because it doesn't auto format. So when I say "digital books" I'm more referring to formats like ePub, CHM, INF - something that scales to the device's screen size.