Posts

Showing posts from January, 2015

New stable release of CnPack has been released - http://www.cnpack.org/showdetail.php?id=764&lang=en

New stable release of CnPack has been released -  http://www.cnpack.org/showdetail.php?id=764&lang=en Just passing on the news - I have nothing to do with the project, except for being a satisfied user :-) http://www.cnpack.org/showdetail.php?id=764&lang=en

Hi Guys.

Hi Guys. Can anybody confirm if this is the right way to send a stream in an ISAPI app? I am a little bit irritated because it seams not to be working by just calling SendStream alone ... In a standalone app everything works fine like this .... pprocedure TWebModule1.WebModule1DefaultHandlerAction(Sender: TObject;   Request: TWebRequest; Response: TWebResponse; var Handled: Boolean); var   ms: TMemoryStream;   png: TPNGImage; begin   if not Response.Sent then   begin   try     ms := TMemoryStream.Create;     png := TPNGImage.Create;     png.LoadFromFile('JESUISCHARLIE.png');     png.SaveToStream(ms);     Response.ContentType := 'image/png';     Response.SendStream(ms);     Handled := true;   finally     png.Free;    end;   end; end; ... but in the ISAPI dll I seem to have to do  it like this ... procedure TWebModule1.WebModule1DefaultHandlerAction(Sender: TObject;   Request: TWebRequest; Response: TWebResponse; var Handled: Boolean); var   ms: TMemoryStream;   png: TPNG

As a long term user of USB HID hardware, I was in need of an Android port of the Jedi JVCL HID controller software.

As a long term user of USB HID hardware, I was in need of an Android port of the Jedi JVCL HID controller software. I succeeded in writing a (simple) port. Internally used for communication with Microchip USB HID hardware. Made with XE7. Feel free to use. Simple demo included. Feedback very welcome. Alfred. https://github.com/LongDirtyAnimAlf/Delphi-Android-USB-HID

No doubt many of you sell your software over the internet and place a high value on Google search results. There is a lot low-class of software that relies on your good name to piggy-back on your efforts.

No doubt many of you sell your software over the internet and place a high value on Google search results. There is a lot low-class of software that relies on your good name to piggy-back on your efforts. Let's call them parasites. I'm talking about the fake virus reports, the fake malware reports, the fake uninstall trouble reports, etc. These parasites seem to get nearly as much (if not more) Google attention than my own software does. Typically they show as high as the 2nd page of Google results. Is there anything you do to combat these sleazy parasites? Do you know of a Google reporting tool? You would be correct if you guessed they piss me off.
Any one using the DevExpress TcxLocalizer component? If so, what 's your opinion? Any good? Are there better products on the market for localising VCL applications?

I'm using Live bindings in a firemonkey app to do CRUD for some tables in our SQLIte tables. Some of the fields are lookups to lookup tables, like State, Sex, etc, and I have it working where the records show up in a string grid (already joined, and displaying the descriptive names from the lookup tabes).

I'm using Live bindings in a firemonkey app to do CRUD for some tables in our SQLIte tables.   Some of the fields are lookups to lookup tables, like State, Sex,  etc, and I have it working where the records show up in a string grid (already joined, and displaying the descriptive names from the lookup tabes). I also display the record fields in edit boxes and combo boxes when a record is selected in the string grid, and the live binding code will select the right thing in the "lookup" combo box.   I even succeeded in getting the record updated when I make a change to the edit boxes and select another item in the lookups.. However, some of the fields can be NULL in the main table , but once I select a value in the combos, I can't select NULL again (In case I want to indicate that this field doesn't matter and can be null).   Perhaps intercept the CTL-DEL key on the control and Clear the field in the dataset?   I know some of the controls like Raize and Infopower use

Blog post "RAD Studio Update Subscription" at http://blog.

Blog post "RAD Studio Update Subscription" at http://blog.marcocantu.com/blog/2015-january-radstudio-update-subscription.html

Blog post "RAD Studio Update Subscription" at http://blog.marcocantu.com/blog/2015-january-radstudio-update-subscription.html

Blog post "RAD Studio Update Subscription" at http://blog.marcocantu.com/blog/2015-january-radstudio-update-subscription.html

hello everyone.

Image
hello everyone. I was playing with Delphi XE6 and found something interesting: TButton does not apply the color property. Font style, size, pitch, etc. shows ok but why the color isn't applied? TBitBtn works ok. But I don't want to use this component. i want to keep my apps clean and simple. I don't know if that is a bug or something else must be done to apply the color. if anyone knows about this issue, feel free to comment ;)

About a new feature in Spring4D 1.2

About a new feature in Spring4D 1.2 http://delphisorcery.blogspot.com/2015/01/new-dynamic-array-type-in-spring4d-12.html

Looking for some fun code snippets like:

Looking for some fun code snippets like: - unnecessarily convoluted code - obfuscated Delphi code - shortest line doing real wonders - totally nonsense code of the day for a session coming soon. Must be short, easy to describe in a minute. better if you email me directly (or via google+) than share here, or we'll spoiler the session.

Someone mentioned fluent programming recently.

Someone mentioned fluent programming recently. Breaking code of the day after the ORM got out of sync with the DB and many lines of manually typed code needed to be updated.   (Application.MainForm.ActiveMDIChild as TMyForm).AutoFillNewOrderTab(OrmGeneratedDataSet.FieldByName(ConstFieldNameOrmGeneratedFieldNameW).AsString,     OrmGeneratedDataSet.FieldByName(ConstFieldNameOrmGeneratedFieldNameX).AsInteger, OrmGeneratedDataSet.FieldByName(ConstFieldNameOrmGeneratedFieldNameY).AsInteger,     OrmGeneratedDataSet.FieldByName(ConstFieldNameOrmGeneratedFieldNameZ).AsFloat); A few of the error messages: [DCC Error] MainForm.pas(210): E2010 Incompatible types: 'TObject' and 'string' [DCC Error] MainForm.pas(211): E2010 Incompatible types: 'string' and 'Integer'

https://www.youtube.com/watch?v=h3FB5JbCBqw

https://www.youtube.com/watch?v=h3FB5JbCBqw A program that saves your links and also can describe the link, that would not forget that for the site.   I discovered a set of video tutorials how to write a program. The program was written in Delphi EX 7 https://www.youtube.com/watch?v=h3FB5JbCBqw

This guy is not too big on OOP

This guy is not too big on OOP

Just a reminder: Be constructive, informative and helpful.

Just a reminder: Be constructive, informative and helpful. We all have different backgrounds and different levels of experience.  If someone ask questions that seem basic to you, gently point them to resources that will help them finding answers, or make suggestions for how to solve their issues. We are all students of this tool of ours.
HI all, i just use XE7 update 1, but the XE7 IDE keep raise out of memory. and crash , i had used DDevExtensions282 &IDEFixPackRegXE7. how to fix it?

Help! I need input! :)

Help! I need input! :) How can I make a TForm "interface-able"? :) It'll only released when the Application terminates. Test/Sample project: http://data.hu/get/8452169/Test003.zip http://data.hu/get/8452169/Test003.zip

Note to self:

Note to self: When sending our xml schema to a third party, make sure to mention they do actually have to follow the xml standard and include the encoding attribute in the xml header if they intend to send files in anything but utf-8, like say windows-1252. Just got an email where the developer on the other side complained that this was NOT specified in our documentation...

This topic made a thinking into my mind:

This topic made a thinking into my mind: https://plus.google.com/103994866665215458549/posts/iKD4Gnh8ZXY When is a developer is a Developer? :)

Hi Guys, can anyone assist me with resolving incompatible types.

Hi Guys, can anyone assist me with resolving incompatible types. I want to place a circle in my listviewitem but i keep getting this error. is there a quick fix?  [DCC Error] TabbedTemplate.pas(197): E2010 Incompatible types: 'TFmxObject' and 'TListViewItem'

Originally shared by Boian Mitov

Originally shared by Boian Mitov BitTime is launching online training for Delphi XE7 :-) http://www.bittime.it/update_online/

Originally shared by Thomas Mueller (dummzeuch)

Originally shared by Thomas Mueller (dummzeuch) In the olden days, when log files were huge and hard disks were small, programs used a single character as the first character in a line to mark the severity of the log entry, similar to this: ! This is an error message + This is a warning message : This is a normal message # This is a debug message   I don't know about this (no marker character) Depending on the program the line also contained a time stamp directly after that character. This example is made up, I don't remember which characters were actually used. I am only pretty sure of the "!" being used for errors. I could not find any description of a log file that uses this kind of syntax. Is there a Standard for this? If yes, were is it described? I could make up my own system easily but if there is a standard I would like to use it. http://stackoverflow.com/q/28150777/49925

Hello all, recent XE7 purchaser and I just had a fun day putting together my first simple Android app. It is a simple two-tab view, each with a TPanel holding a few TLabels, a TListbox and a TButton. A TGestureManager lets one slide between tabs.

Hello all, recent XE7 purchaser and I just had a fun day putting together my first simple Android app. It is a simple two-tab view, each with a TPanel holding a few TLabels, a TListbox and a TButton. A TGestureManager lets one slide between tabs. I was a bit surprised to see the final apk was around 32MB. Is there anything I should do to trim down/strip the build, or is this just the baseline size due to overhead of FireMonkey?

More interesting influences of functional programming

More interesting influences of functional programming http://delphisorcery.blogspot.com/2015/01/the-either-type-for-delphi.html

Fluent style seems to be rather controversial theme among developers.

Fluent style seems to be rather controversial theme among developers.  I would like to get some insights from those that consider it really bad, why they do, as well as opinions from other side.  Obviously I am using fluent style (with interfaces) under some circumstances and my primary reasons are:  - automatic reference counting that removes need for try..finally blocks - fluent itself is more readable, especially in longish constructions - no need for declaring variables and can be used inline additionally improving readability of more complex code I have included link to SO question that may provide more context for discussion. While I had duh moment and missed accepted solution myself, I am still interested in possibly better ways of achieving goals I asked in my question, even though I don't think Delphi currently offers other solutions. http://stackoverflow.com/q/28125514/4267244

26 January is Australia Day and as an Aussie Developer we are celebrating with discounts on our products!

26 January is Australia Day and as an Aussie Developer we are celebrating with discounts on our products! Use AUSTRALIADAY-2015 when purchasing any of our ESBPCS for VCL packages from FastSpring and get a 20% discount on your purchase. More info at  http://www.esbconsult.com/esbpcs If any fellow Aussies wish to purchase direct from us in AUD via PayPal then email us at support@esbconsult.com and I will arrange a good price that includes discount - and naturally we will supply you a Tax Invoice. You are welcome to share this - only lasts till 7 Feb 2015

So I'm in total n00b mode here.

So I'm in total n00b mode here. I'm trying to set up a master/detail relationship with two TClientDataSets, accessing two tables via dbExpress' TSQLQuery. I'd love to use something else (like FireDAC) but got a severe time constraint here and this is extending existing code. Anyway, anyone know of a clear guide for doing this? My Google-fu seems to lacking today. I've tried adapting this[1] EDN article, but it's not working and it's not clear to me how it will figure out the correct master/detail relationships anyway (ie how does it know what field in the detail table is referencing the master etc). [1]: http://edn.embarcadero.com/article/29825

Steema News, TeeChart 2015.14.150120 VCL/FMX release - News Item

http://steema.com/entry/239

Android L style pack at http://cc.embarcadero.com/item/30118

Android L style pack at  http://cc.embarcadero.com/item/30118 http://cc.embarcadero.com/item/30118

Blog post "New Series of RAD Studio Partners Webinars" at http://blog.marcocantu.com/blog/2015-january-rad-studio-partners-webinars.html

Blog post "New Series of RAD Studio Partners Webinars" at http://blog.marcocantu.com/blog/2015-january-rad-studio-partners-webinars.html http://blog.marcocantu.com/blog/2015-january-rad-studio-partners-webinars.html

What does a "Sr Software Developer" in delphi mean to you?

Image
What does a "Sr Software Developer" in delphi mean to you? I ask, because I recently applied for a position that listed this as a requirement. I've been an independent developer for almost two decades now; while I've had employees, they weren't developers, but support staff, QA, Doc, etc. I consider myself very good with the language (<= XE2), I've written several products, make better money than a salary job, I'm comfortable dealing with any problem I run into and leading a team (or going on my own) to create something... ...But there's some really smart people here on the forum and developers who have been "heads-down" coders for the same time and find myself seeking their help to answer questions.  So what makes a Sr Software Developer? Is it technical prowess, wisdom of experience, people management, the ability to architect and sell something from start to finish? I'm not sure. Impostor Syndrome?

iOS 64 bit

iOS 64 bit http://forms.embarcadero.com/RADiOS64Webinar http://forms.embarcadero.com/RADiOS64Webinar

News about the recent buying of Castalia

News about the recent buying of Castalia http://www.greymatter.com/corporate/news/embarcadero-acquires-castalia-and-usertility-from-twodesk-software/

Hello Group

Hello Group, I am using ShortDateFormat function to get system's current date format in an ISAPI dll. I am hosting this DLL on IIS. My problem is that ShortDateFormat always returning 'M/d/yyyy' format irrespective to what format has been set on System Please help me to resolve this issue.

I tryed to call a webservice form a ISAPI Module (Delphi XE6, 64bit).

I tryed to call a webservice form a ISAPI Module (Delphi XE6, 64bit). I get an AV on the line calling the webservice. Targedet on 32bit it works well. if found following: http://stackoverflow.com/questions/16083434/delphi-xe2-64-bit-isapi-access-violation I sheems that this still happens in Delphi XE6. Does anybody knows a solution for that? http://stackoverflow.com/questions/16083434/delphi-xe2-64-bit-isapi-access-violation

I tryed to call a webservice form a ISAPI Module (Delphi XE6, 64bit). I get an AV on the line calling the webservice. Targedet on 32bit it works well. if found following:

I tryed to call a webservice form a ISAPI Module (Delphi XE6, 64bit). I get an AV on the line calling the webservice. Targedet on 32bit it works well. if found following: http://stackoverflow.com/questions/16083434/delphi-xe2-64-bit-isapi-access-violation I sheems that this still happens in Delphi XE6. Does anybody knows a solution for that? http://stackoverflow.com/questions/16083434/delphi-xe2-64-bit-isapi-access-violation

Embarcadero Acquires Castalia and Usertility from TwoDesk Software | Press Releases

http://www.embarcadero.com/press-releases/embarcadero-acquires-castalia-and-usertility-from-twodesk-software

Blog post "Embarcadero Acquires Castalia and Usertility" at http://blog.

Blog post "Embarcadero Acquires Castalia and Usertility" at http://blog.marcocantu.com/blog/2015-january-embarcadero-acquires-castalia-usertility.html http://blog.marcocantu.com/blog/2015-january-embarcadero-acquires-castalia-usertility.html

Blog post "Embarcadero Acquires Castalia and Usertility" at http://blog.marcocantu.com/blog/2015-january-embarcadero-acquires-castalia-usertility.html

Blog post "Embarcadero Acquires Castalia and Usertility" at http://blog.marcocantu.com/blog/2015-january-embarcadero-acquires-castalia-usertility.html http://blog.marcocantu.com/blog/2015-january-embarcadero-acquires-castalia-usertility.html

3 weekly events up to the end of March: XE7 skill sprints, FireDAC skill sprints, and partners spotlight. A good summary (from David I) at:

3 weekly events up to the end of March: XE7 skill sprints, FireDAC skill sprints, and partners spotlight. A good summary (from David I) at: http://community.embarcadero.com/index.php/blogs/entry/3-weekly-online-events-this-quarter-rad-xe7-firedac-technology-partner-spotlight

Hi, my name is Roman Ignatiev.

Hi, my name is Roman Ignatiev. I'm Delphi and database developer and I've been programming in Delphi since Delphi 3.

HTML Report Library demo updated - new preview window.

Image
HTML Report Library demo updated - new preview window. http://delphihtmlcomponents.com/dbreports.zip It is also HTML Component Library demo because HCL is heavily used in this demo - DB selection form, left menu, preview panel, thumbnails panel, seach panel - all of them are THtPanel. Preview window features: + Paginal and continuous view modes + Thumbnails panel + Page number on every page + Merge pages (2->1, 4->1, 6->1) + Search with result list and navigation (in both modes) + Send to email (MAPI/SMTP) + Pages navigator on scrollbar (visible when pressed) + Text (and style - font size, color, etc.) editing. Use Shift+Click http://delphihtmlcomponents.com/

More on functional programming influences in Delphi

More on functional programming influences in Delphi http://delphisorcery.blogspot.com/2015/01/never-return-nil-maybe.html

New blog post https://theroadtodelphi.wordpress.com/2015/01/20/delphi-ide-colorizer-new-version-released/

New blog post https://theroadtodelphi.wordpress.com/2015/01/20/delphi-ide-colorizer-new-version-released/ https://theroadtodelphi.wordpress.com/2015/01/20/delphi-ide-colorizer-new-version-released

Now available: "Beta hotfix enabling TForm.Quality to HighQuality for iOS" from http://cc.embarcadero.com/Item/30115

Now available: "Beta hotfix enabling TForm.Quality to HighQuality for iOS" from  http://cc.embarcadero.com/Item/30115 http://cc.embarcadero.com/Item/30115

Has anyone (other than myself) noticing the number of "Jira Admin" changes, especially "Assignee to 'Internal Dev'"?

Has anyone (other than myself) noticing the number of "Jira Admin" changes, especially "Assignee to 'Internal Dev'"? So it looks like they are getting prepared for the next release...
Hi, I'm a Delphi Developer.  I'm from Mexico. I liked your community. :D

Hi

Hi, I just updated DDL to allow hooking Delphi Interfaces by MethodName . As you probably know : hooking with MethodIndex is somehow difficult because you need to count all parents interfaces methods. The basic idea is simple: -Get object from Interface =>this is achieved by InterfaceToObj function. -Using RTTI to get method pointer inside that object. -Finaly , Insert the hook. NB: This method will works only with interfaces created by Delphi. For others interfaces you must use the HookByMethodIndex way! https://code.google.com/p/delphi-detours-library/ https://code.google.com/p/delphi-detours-library

Edit 2015-01-25: I have had heaps of responses to this - thankyou all! I haven't replied to everyone yet and it will take a few more days. Given the unexpectedly high volume of responses, I'm not looking for any more emails - please consider this ad closed.

Edit 2015-01-25: I have had heaps of responses to this - thankyou all! I haven't replied to everyone yet and it will take a few more days. Given the unexpectedly high volume of responses, I'm not looking for any more emails - please consider this ad closed. I run a small Delphi consulting company, and over the past few months have had to turn down a number of jobs because I was too busy to accept them. So I'm interested in finding other Delphi programmers who I can subcontract to. Are you a freelance Delphi programmer, or someone interested in an occasional short-term contract job? Do you know your stuff (really!)? Are you familiar with any of: mobile programming using Delphi, FireMonkey, graphics in general, scientific / engineering-style coding and math, networking or Indy, 3D / DirectX, threading, etc? Plus modern Delphi style, including use of interfaces, libraries like Spring4D, basic code quality techniques like test-driven coding, etc? If so, please send an email to

Any Delphi Developers available for a 3-6 month contract to train a .Net developer in Delphi 6 while maintaining the current Client Server Application? SQL Server 2008 - 2012.

Any Delphi Developers available for a 3-6 month contract to train a .Net developer in Delphi 6 while maintaining the current Client Server Application?  SQL Server 2008 - 2012.   Maintenance tasks include:  -Create new DB -Add customer versions of screens or reports -Customize data feeds This is located in Richmond, VA.  Anyone interested?  Feel free to email me a gregp@synigent.com or Synigentgreg@gmail.com. Thanks!

FireDAC - database structure

FireDAC - database structure Has any of you written code that analyses foreign keys to find structural dependencies between tables? Are there components out there which can do the job for me?

Hi Folks.

Hi Folks. i have Delphi 7 Professional installed (no Sql driver provided). Bde 5.1 It means on an app with BDE components i get the error "BDE error 15880 - Your application is not enabled for use with this driver" Then i installed BDE 5.2 and the SQL driver appear om BDE, but the same error persists.  Does anybody could help me?? Tks in advance for your prompt reply.

I was wondering, that what is the closest value to the Zero floating point types can hold, it could be handy to try to kill the code that compares to zero wrongly in the Unit Tests.

I was wondering, that what is the closest value to the Zero floating point types can hold, it could be handy to try to kill the code that compares to zero wrongly in the Unit Tests.  How I get the constants for those? Or is those already defined in somewhere?

Hi

Hi, Is this a bug? //-------------------------------------- var   i: integer; begin   i := 0;   { Delphi will not generate any instructions     for this two line of code ! }   for i in [10 .. 5] do     Writeln(i);   Readln; end. If it's not a bug why delphi does not warn me ?
Hi! Anyone experienced with HTML5 Builder/ Delphi for PHp/ RadPHP? I am doing a project with RadPHP XE2 and need some guidance

So I got this interface to a memory buffer of sorts. I'd like to provide TStream access to this buffer so it can be read from and written to using System.Classes.TStream, for interop with existing code.

So I got this interface to a memory buffer of sorts. I'd like to provide TStream access to this buffer so it can be read from and written to using System.Classes.TStream, for interop with existing code. I'm struggling to decide the best approach to this trivial problem, and would welcome some thoughts from a "user perspective". It's highly unlikely I'll even provide more than one implementation of the interface, so my two primary options are: - Provide a property Stream: TStream in the interface, and have the buffer implementation return some private implementation of TStream, not unlike how GetEnumerator is done for the generic collections. Lifetime would be that of the buffer instance, so the user has to ensure the buffer is alive for the duration of any TStream operations. - A separate "glue class", a TStream descendant where I pass the buffer in the constructor. This places the burden of lifetime management of the glue instance on the user. In ei

Great Video On Delphi Form/Code Separation

Great Video On Delphi Form/Code Separation Code Rage9 Video by David Schwartz http://bit.ly/1xG7NQC #delphi

Hello, for a client I have to maintain a XE3 product, I've put this in a VM but I'de like to reduice the disk usage. There's no more update for XE3, so can I remove those folders without disturbing Delphi ?

Hello, for a client I have to maintain a XE3 product, I've put this in a VM but I'de like to reduice the disk usage. There's no more update for XE3, so can I remove those folders without disturbing Delphi ?  %USERPROFILE%\Documents\Rad_Studio_XE3_Downloads folder C:\ProgramData\ {C0B0DBF1-FDC4-4F45-9641-6FE986DD2F55}  (help) {D58335DC-C8DE-44AB-87E6-A01F75AE0930}  (boost) {95E74D47-F7E3-45F0-98A6-C4EB87FC1E6A}  (main installer) Any other things to remove ? Regards

On Jan 10th I created a posting in this area requesting assistance with "FD REST MSSQL update not posting".

On Jan 10th I created a posting in this area requesting assistance with "FD REST MSSQL update not posting". It was a comprehensive [long] post and there have been no comments made to date; so, if I limit my request to the below someone may be able to advise me on how to inspect the delta's content or recommend another course of action. This issues only seems to occur when using MSSQL. Thank you in advance. I’d love to understand how to inspect the payload in the TFDJSONDeltas [see image] at the client or the server. I can see the name of my key field [ccustno] but I do not understand the rest of the information in the watch tree.

On Jan 10th I created a posting in this area requesting assistance with "FD REST MSSQL update not posting". It was a comprehensive [long] post and there have been no comments made to date; so, if I limit my request to the below someone may be able to advise me on how to inspect the delta's content or recommend another course of action. This issues only seems to occur when using MSSQL. Thank you in advance.

On Jan 10th I created a posting in this area requesting assistance with "FD REST MSSQL update not posting". It was a comprehensive [long] post and there have been no comments made to date; so, if I limit my request to the below someone may be able to advise me on how to inspect the delta's content or recommend another course of action. This issues only seems to occur when using MSSQL. Thank you in advance. I’d love to understand how to inspect the payload in the TFDJSONDeltas [see image] at the client or the server. I can see the name of my key field [ccustno] but I do not understand the rest of the information in the watch tree.
Any suggestions for a free screen video capturing/editing tool?

My git tip of the day:

My git tip of the day: Every git repository should contain a .gitattribute file to enforce proper eol handling. Especially when working with multiple people/accepting pull requests. If you don't do that different people or one person working from different machines with different git eol settings, editors or operating systems will mess up things. See:  https://help.github.com/articles/dealing-with-line-endings/
What is a good (trustworthy but inexpensive) place to get a code signing certificate? I am looking into signing a setup so it does not show the yellow UAC dialog with "unknown publisher"..

Make Your Software Installs More Professional

Make Your Software Installs More Professional   http://bit.ly/1znpX0m

SORT Methods in Source Code:

SORT Methods in Source Code: Is anyone aware of a tool that will sort methods for a class? I'm aware of MMX, but it's pretty buggy under XE2 with my source code and bombs out doing practically anything, causes Exceptions in the IDE. Looking for another tool to sort my source code by Method name.

I am looking for additional Delphi development contract work. I am working with Delphi since v.1 in 1996, did alot of development with D2010, XE4 and now XE7 (not to mention D3, 5, and 7 of course :)).

I am looking for additional Delphi development contract work. I am working with Delphi since v.1 in 1996, did alot of development with D2010, XE4 and now XE7 (not to mention D3, 5, and 7 of course :)). Great expertise working with many third-party VCL, including DevEx, TMS, FastReports, ReportBuilder, RemObjects, ASTA and many many others. Last 8 years i've been heavily involved with US law enforcement industry, interfacing with various hardware and writing service applications among other tasks. I am based in Russia, and i would be happy to discuss your offers at egold2005 at gmail dot com . Thank you.

Any users of FireDAC TFDScript out there?

Any users of FireDAC TFDScript out there? Scripts produced by ApexSQL Diff, which runs fine in SQL Server Management Studio, fail when run from a TFDScript.  I am trying to figure out if it is options related, or if it is an implementation problem. Problem 1: Transaction handing causes an error:   Exception class EMSSQLNativeException with message '[FireDAC][Phys][ODBC][Microsoft][SQL Server Native Client 11.0][SQL Server]A transaction that was started in a MARS batch is still active at the end of the batch. The transaction is rolled back.'.  Problem 2: If I remove the begin tran at line 38/39 and reduce the script to only contain the create table part - it still fails silently. The spool output shows no errors, nor does any errors show in the FireDAC Monitor.  And yet - no table is created. I also suspect that multiline /* block comments */ confuse the script analyzer. Suggestions, anyone, particularly for Problem 2? #firedac   #script   http://pastebin.com/dzR8T6fC

I would like to access to Wordpress Database tables in read/write mode but not sure where to start.

I would like to access to Wordpress Database tables in read/write mode but not sure where to start. How would you approach this ? Rest API ? FireDac/Devart components ? ( https://wordpress.org/download/ ) https://wordpress.org/download
I need to pass string from Delphi to C# DLL and return integer in return. Its been awhile since I worked with DLL and google is not helping much. Any idea how to do this. An example will help. I did managed to created DLL in C# and pass and return integer from Delphi to C# DLL. Thanks.

https://www.youtube.com/watch?v=UXcitzD_lSU

https://www.youtube.com/watch?v=UXcitzD_lSU How to download files from the server DTP write your client for FTP- server. part 2 https://www.youtube.com/watch?v=UXcitzD_lSU
I think I saw a post on here a short while back about which apps to use to create "how to" videos. I have one, but it is years old now. On the Mac I use Quicktime, but want to see what's available for Windows - suggestions?

I have yet to see a compelling case for the use of anonymous methods. Can someone point to one?

I have yet to see a compelling case for the use of anonymous methods. Can someone point to one?  In many (if not most) cases, they seem to me to reduce readability, and the needed functionality could have been achieved in other ways, ways which I would consider much more readable and maintainable.

Just came across this FireMonkey question on SO, which has 31 upvotes and no answer. (Well, one answer, with 0 votes, and I don't understand what it's trying to say.) Can anyone help this guy out?

Just came across this FireMonkey question on SO, which has 31 upvotes and no answer. (Well, one answer, with 0 votes, and I don't understand what it's trying to say.) Can anyone help this guy out? http://stackoverflow.com/questions/24982857/how-to-create-a-dialog-like-component-that-allows-drop-other-controls-inside-it Basically, the author is writing a FMX control which has its own controls inside, so in the component's constructor it creates and parents some labels and panels (with Store = false so they are not streamed when the control itself is streamed.) However, they are being placed in the wrong spot, and the layout only works when Store = true. It's a good question and I'd like to know the answer too. I just added a small (100) bounty as well. http://stackoverflow.com/questions/24982857/how-to-create-a-dialog-like-component-that-allows-drop-other-controls-inside-it

Great functional code of the day

Great functional code of the day type   TSyntaxNodeHelper = class helper for TSyntaxNode     function FlattenHierarchy: IEnumerable ;   end; function TSyntaxNodeHelper.FlattenHierarchy: IEnumerable ; begin   Result := TGenerator .Create(     procedure     var       child, node: TSyntaxNode;     begin       Yield(Self);       for child in Self.ChildNodes do         for node in child.FlattenHierarchy do           Yield(node);     end); end;

Hi all. After some information regarding how to use ToolsAPI INTAServices.CreateDockableForm. I have search but my GoogleFu is letting me down on this topic.

Hi all. After some information regarding how to use ToolsAPI INTAServices.CreateDockableForm. I have search but my GoogleFu is letting me down on this topic. Will this form allow me to dock other dockable forms (created using the above call) on to itself? If not, what base for do I require? Anyhow has links, information, comment, etc they care to share?

The "gstat -h" command provides some statistic informations about an Interbase XE database. I succeeded to retrieve the main part of them with delphi XE6 (or 7) firedac components.

The "gstat -h" command provides some statistic informations about an Interbase XE database. I succeeded to retrieve the main part of them with delphi XE6 (or 7) firedac components. But there's still one that escapes me, which indicates whether an InterBase database is in the "shutdown" state (only SYSDBA can acces to it) or online (every granted users can access to it).. How can I retrieve (if possible) this information via Firedac component (i.e. without calling directly gstat, capturing output and parsing it) ? TIA

Horrendously bad ARM codegen

Horrendously bad ARM codegen Does anyone know anything about how to improve this? http://stackoverflow.com/questions/27946387/how-to-affect-delphi-xex-code-generation-for-android-arm-targets

Very cool server traffic analyzer tool

Very cool server traffic analyzer tool https://code.google.com/p/logstalgia/ via Wayne Leiser

I'm trying to move SysTools to Win64. There is a class TStDecimal which is a fixed-point value with a total of 38 significant digits. The class itself uses a lot of asm code.

I'm trying to move SysTools to Win64. There is a class TStDecimal which is a fixed-point value with a total of 38 significant digits. The class itself uses a lot of asm code. Is there someone who already moved this class to Win64?

New point of view from Delphi Developer about EntityDAC - new ORM tool for Delphi http://goo.gl/lP0W3W

New point of view from Delphi Developer about EntityDAC - new ORM tool for Delphi http://goo.gl/lP0W3W http://goo.gl/lP0W3W

Does anybody know, how the lizence model look like about EMS (Enterprise Mobility Services)? And what it costs? It looks pretty cool.

Does anybody know, how the lizence model look like about EMS (Enterprise Mobility Services)? And what it costs? It looks pretty cool. https://www.embarcadero.com/products/rad-studio/enterprise-mobility-services

Does anyone know any API or undocumented function to calculate null-terminated string length for cross-platform in delphi ?

Does anyone know any API or undocumented function to calculate null-terminated string length for cross-platform in delphi ? Here is what I implemented: function CString2TBytes(ptr :{$IFDEF NEXTGEN} MarshaledAString {$ELSE} PAnsiChar {$ENDIF}) :TBytes; var   by :Byte;   len :Integer; begin   len := 0;   by := Byte(ptr^);   while by<>0 do   begin     Inc(len);     by := Byte((ptr+len)^);   end;   if len>0 then   begin     SetLength(Result,len);     len := 0;     by := Byte(ptr^);     while by<>0 do     begin       Result[len] := by;       Inc(len);       by := Byte((ptr+len)^);     end;   end; end; The purpose is to solve the question in stackoverflow which Remy said that just typecast pointer to tbyts is buggy ( yes, I admit it). BTW, I'm not good at Delphi, so if anything just done wrong, please kindly tell me. Thanks. http://stackoverflow.com/questions/27857479/whats-the-correct-way-to-assign-pansichar-to-a-unicode-string/27873918#27873918 http://stackoverflow.com/q

Something Cool and fast is coming out (Alternative to the SynEdit, written from scratch for next version of EditBone : http://www.bonecode.com/ )

Something Cool and fast is coming out (Alternative to the SynEdit, written from scratch for next version of EditBone :  http://www.bonecode.com/ ) https://code.google.com/p/bonecode-bceditor/ https://code.google.com/p/bonecode-bceditor
Does anyone know how to format SMS text sent via @ .com? My SMS texts sent via email work fine but look terrible on the mobile phone.  Do I need to use HTML? I have tried all sorts of CR/LF, , , Etc. combinations to terminate each string but nothing seems to work.  It looks like a ransom note :-)

"inherited" keyword added to each time I drop a new visual component on the descendant and click to add an event.

"inherited" keyword added to each time I drop a new visual component on the descendant and click to add an event. Delphi XE2, I've got a TFrame that's descended from a couple other TFrames. One of the parent TFrames has a few visual controls... When I add new UI elements to the descendant form and click over to the object-inspector to add an event-handler. Each event that I add, will always get a template created with the keyword "inherited" added. I understand the need for this, when dealing with visual-components from the parent form. But I'm confused with new UI elements. Is there a reason for this? http://www.youtube.com/watch?v=y0UiX6kLvvs

I am using FireDac Monitor which stops after a short while with a message "EOF found".

I am using FireDac Monitor which stops after a short while with a message "EOF found". Has anyone encountered that before and maybe solved that problem?

Originally shared by Lennart Aasenden

Originally shared by Lennart Aasenden Hype be gone! #Delphi https://jonlennartaasenden.wordpress.com/2015/01/13/inversion-of-control-dependency-injection-service-oriented-programming

Loopless code of the day ;)

Loopless code of the day ;) function GetCommonDir(const paths: TArray ): string; var   files: IEnumerable ;   matchingChars: IEnumerable ; begin   files := TEnumerable.Query (paths);   matchingChars :=     TEnumerable.Select (TEnumerable.Range(0, files.Min(       function(s: string): Integer       begin         Result := Length(s);       end)).Reversed,       function(len: Integer): string       begin         Result := Copy(files.First, 1, len);       end).Where(       function(const possibleMatch: string): Boolean       begin         Result := files.All(           function(const f: string): Boolean           begin             Result := StartsText(possibleMatch, f);           end);       end);   Result := TPath.GetDirectoryName(matchingChars.First); end; Ok, I admit, in C# it looks not so weird and much nicer ;p var MatchingChars =             from len in Enumerable.Range(0, Files.Min(s => s.Length)).Reverse()             let possibleMatch = Files.First().Substring(0, len)          

I'm looking for a Delphi (XE5+) developer in Switzerland. The company is situated near Bern, has around 20 employees and does business in the sport-eventmanagement domain.

I'm looking for a Delphi (XE5+) developer in Switzerland. The company is situated near Bern, has around 20 employees and does business in the sport-eventmanagement domain. Your main tasks are the development and maintenance of an ERP and a CRM (inhouse developed tools). It's a requirement to work locally due to the business processes, that have to be understood (no remote work). Basic German language skills are also required. Let me know if you're interested or if you know potential candidates. Thanks a lot!

Is there any Tool/Plugin/Expert for Delphi which offers an Enhanced Scroll Bar like Visual Studio?

Is there any Tool/Plugin/Expert for Delphi which offers an Enhanced Scroll Bar like Visual Studio? http://blogs.msdn.com/b/zainnab/archive/2013/07/02/visual-studio-2013-preview-enhanced-scroll-bar.aspx http://blogs.msdn.com/b/zainnab/archive/2013/07/02/visual-studio-2013-preview-enhanced-scroll-bar.aspx

TMS Cloud Pack v2.8 released with Amazon Cloud Drive support + several other improvements. Now full abstract & transparent cloud storage access to Amazon Cloud Drive, Microsoft OneDrive, Google Drive, DropBox, Box.NET

Image
TMS Cloud Pack v2.8 released with Amazon Cloud Drive support + several other improvements. Now full abstract & transparent cloud storage access to Amazon Cloud Drive, Microsoft OneDrive, Google Drive, DropBox, Box.NET http://www.tmssoftware.com/site/cloudpack.asp

FYI - Added a Delphi Job Resources category to the directory.

FYI - Added a Delphi Job Resources category to the directory. I also added the various recently mentioned Delphi job resources as separate posts under that category.  If you know other resources than those already mentioned - feel free to add them! #freelance
Do anyone know if someone supports the jedivcs? We use it for many years now and would like to use it for XE7 now.

FireDAC WTF of the day ;)

FireDAC WTF of the day ;) Conn := TFDConnection.Create(nil); Conn.DriverName := FireDriverLink.BaseDriverId; // The above lines were actually in a function in the worker pool for tgt in targetlist do begin   Conn.Params.Clear;   Conn.Params.Values['Server'] := tgt.Host;   Conn.Params.Values['Database'] := tgt.DatabaseName;   Conn.Params.Values['OSAuthent'] := 'No';   Conn.Params.Values['User_Name'] := tgt.UserName;   Conn.Params.Values['Password'] := tgt.Password;   Conn.Connect;   Exception: Driver name not set. I added the above clear since I would be reusing the connection for multiple databases in a loop, and it took me a few rounds in the debugger before I figured out that the property mapped into the params list instead of a property field of it's own. Lesson learned.

Thanks to Eli M for pointing out oDesk as a place to find Delphi freelance work. Not only can you find jobs there - if you need temporary manpower, you can post jobs there as well.

Thanks to Eli M for pointing out oDesk as a place to find Delphi freelance work. Not only can you find jobs there - if you need temporary manpower, you can post jobs there as well. #freelance   https://www.odesk.com/o/jobs/browse/?q=Delphi

https://www.youtube.com/watch?v=0PReYcp-f9U

https://www.youtube.com/watch?v=0PReYcp-f9U https://www.youtube.com/watch?v=0PReYcp-f9U
With TClientDataSet you can load from a file at design time, can you do this with TfdMemTable? It's a really useful feature.

FD REST MSSQL update not posting

Image
FD REST MSSQL update not posting  I built a test app using “Using a REST DataSnap Server with an Application and FireDAC” found on http://docwiki.embarcadero.com/RADStudio/XE7 as a starting point. The sample uses InterBase and everything worked as expected. I then added a FD connection to a MSSQL server and a couple of FDQuerys and created the respective GET’s and ApplyUpdate functions and procedures. The GET’s work and my controls are properly populated however when I execute the Applyupdate code the MSSQL GetDeltas and ApplyChanges seem to function the same as the respective InterBase ones do [producing no errors] BUT the updates are NOT applied. I’ve run the debugger on the server and the client but am unable to locate the flaw. The server is a desktop app so I added a grid to see if there was something I could discover. I found out that I had to set the FDQuery CheckReadOnly to false to get my updates to apply. I thought that would do the trick but not so. I’d love to understand h
18 years+ Delphi experience since it's frist version, looking for remote work.

Howdy all.

Howdy all. Is it possible to get the IDE to build .res files from a RC file, without resorting to a pre-build event? There is this syntax:   {$RESOURCE filename.res filename.rc} But that is only to show filename.rc in the project manager (which doesn't seem to work for me but I don't really care :-) ) -  http://docwiki.embarcadero.com/RADStudio/XE7/en/Resource_file_(Delphi) Currently I am using a pre-build event to do the compiling for me: brcc32 ..\relative\path\to\filename.rc

There is an unwanted system beep on Mac when handling arrow keys. How do I eliminate the noise?

There is an unwanted system beep on Mac when handling arrow keys. How do I eliminate the noise? //FMX TViewport3D can respond to keyboard: Viewport3D.CanFocus := True; Viewport3D.SetFocus; Viewport3D.OnKeyUp := HandleKeyUp; The arrow keys work on both Windows and Mac, but Mac keeps playing the sound.

does anyone have success build recoding app using free audio library for android & iOS ? what name of that library?

does anyone have success build recoding app using free audio library for android & iOS ? what name of that library? i have build using BASS , but  unfortunately it's not free again now.

I am searching for a barcode component or library with which I can generate pngs of barcodes in a Delphi webbrokler backend.

I am searching for a barcode component or library with which I can generate pngs of barcodes in a Delphi webbrokler  backend. Any suggestions? I think neither CGDev components nor winsoft FMX or VCL components will help me, because they would not work from a webbroker app.

OK, I know it's stupid and I really shouldn't care, but Delphi is now less than 50 points behind C# at http://www.code2014.com/. Wouldn't it be nice for the Delphi guys to beat Microsoft just once? Even if it is, as I'm sure many of you will point out, in a completely stupid, meaningless competition. Get tweeting "Delphi #code2014 " or you don't love Delphi :) ... only 12 hours left ...

OK, I know it's stupid and I really shouldn't care, but Delphi is now less than 50 points behind C# at http://www.code2014.com/ . Wouldn't it be nice for the Delphi guys to beat Microsoft just once? Even if it is, as I'm sure many of you will point out, in a completely stupid, meaningless competition. Get tweeting "Delphi #code2014 " or you don't love Delphi :) ... only 12 hours left ... http://www.code2014.com

OPs "multilevel" comments (i.e. the fact (* *) takes precedence over the other block-comment { and } is a boon. When debugging a larger block i can comment out small ones and then comment out the whole block containing these smaller block comments.

OPs "multilevel" comments (i.e. the fact (* *) takes precedence over the other block-comment { and } is a boon. When debugging a larger block i can comment out small ones and then comment out the whole block containing these smaller block comments. I remember showing this to people using other languages and they got pretty impressed. But this was a loooong time ago. Anyone has a hang on if this still is something to brag about for OP?

Yesterday, for the first time, I tried to create a multi-device app on XE7. Selected the app type in the wizard, clicked the button, and the IDE crashed. Made three tries, same result each time. I have update 1 in place, is there something else needed to make this work?

Yesterday, for the first time, I tried to create a multi-device app on XE7. Selected the app type in the wizard, clicked the button, and the IDE crashed. Made three tries, same result each time. I have update 1 in place, is there something else needed to make this work? UPDATE: I have e-mailed Andy Hausladen with info from the Windows Event viewer. Uninstalling the fixpack, however, did not solve the problem.
"with" almost killed me this morning. I copied 5 lines from a library demo and did not un-with it. I was going very deep into other stuff before i saw it. Someone wrote a source analysing tool recently. /Perhaps/ it's possible for a tool such as FixInsight to warn when variables have the same name inside a with as outside... (edited only spelling)

Just a WTF:

Just a WTF: TMyRecord = record   AString: string;   AnInt: integer; end; TMyRecordHelper = record helper for TMyRecord   function DoCalc: string; end; Why.... just.. why....

Does anyone know how to contact ADUG tech support? I've tried emailing the addresses on the ADUG Organisers page, and sent a G+ message to one person I found too. But no luck. Reason is their blog has been down for a month, and I want to read articles like this: http://members.adug.org.au/2011/12/15/how-to-create-your-own-firemonkeyimage-filtereffect-to-use-with-firemonkey/

Does anyone know how to contact ADUG tech support? I've tried emailing the addresses on the ADUG Organisers page, and sent a G+ message to one person I found too. But no luck. Reason is their blog has been down for a month, and I want to read articles like this:  http://members.adug.org.au/2011/12/15/how-to-create-your-own-firemonkeyimage-filtereffect-to-use-with-firemonkey/ (It's the whole members.adug.org.au domain. I'm sure it's on the Wayback Machine, but that's not the point. Better to let them know their website has a problem.)
How can I get the list of all updates / patches / hotfixes that have been released since, say XE7 Update1? The EDN registered download area is a bit random it seems.
With FMX, is it possible to create a TButton with a shortcut key, for example "Run" with the "R" underlined, so that I can press alt+r (on Windows) to invoke the button without clicking on it? I tried setting the "Text" property of an FMX' TButton to "&Run" but that doesn't seem to work.

What is the "correct" way to convert PAnsiChar to a unicode string?

What is the "correct" way to convert PAnsiChar to a unicode string? http://stackoverflow.com/q/27857479/49925

Beta Hotfix for FireMonkey apps on Android 5.

Beta Hotfix for FireMonkey apps on Android 5.0 (Lollipop) is available for XE7 from  http://cc.embarcadero.com/Item/30110 However, it looks like the next version of Delphi slowly coming towards us. The instructions use the directory path of: C:\Program Files (x86)\Embarcadero\Studio\ 16.0 but I have my XE7 is installed (default path) in C:\Program Files (x86)\Embarcadero\Studio\ 15.0 http://cc.embarcadero.com/Item/30110

Beta Hotfix for FireMonkey apps on Android 5.0 (Lollipop) is available for XE7 from http://cc.embarcadero.com/Item/30110

Beta Hotfix for FireMonkey apps on Android 5.0 (Lollipop) is available for XE7 from  http://cc.embarcadero.com/Item/30110 However, it looks like the next version of Delphi slowly coming towards us. The instructions use the directory path of: C:\Program Files (x86)\Embarcadero\Studio\ 16.0 but I have my XE7 is installed (default path) in C:\Program Files (x86)\Embarcadero\Studio\ 15.0 http://cc.embarcadero.com/Item/30110

Can someone please explain this, or is it a bug in the debugger?

Image
Can someone please explain this, or is it a bug in the debugger?

How to develop a Mac OS X application in Delphi XE7 for work with SQL Server using SDAC -> http://goo.gl/8AWFwC

How to develop a Mac OS X application in Delphi XE7 for work with SQL Server using SDAC  ->   http://goo.gl/8AWFwC http://goo.gl/8AWFwC

Since TDataModule creation and destruction synchronizes via a shared global lock, what else isn't thread safe when it comes to data modules?

Since TDataModule creation and destruction synchronizes via a shared global lock, what else isn't thread safe when it comes to data modules? I need to do some entirely independent SQL work (DBX) in a background thread. Delphi XE6.

A short article about one of the many features Spring4D 1.2 will contain.

A short article about one of the many features Spring4D 1.2 will contain. http://delphisorcery.blogspot.com/2015/01/smart-pointers-in-delphi.html

I know that I risk to be blocked by some of you for spamming this community with my calls to tweet #code2014 delphi. its Nick Hodges​ fault who got me started :-)

I know that I risk to be blocked by some of you for spamming this community with my calls to tweet #code2014 delphi. its Nick Hodges​ fault who got me started :-) we passed c++ and if about two hundred more people from this community would engage we would pass c#. why not?
I'm just wondering what is the difference when logging on to EDN website with EDN authentication and without EDN authentication (the checkbox)? Is there anything EDN authentication offers more?
OK, for new work, what XML component of framework would you choose, and why?

XE7 and more With weirdness

XE7 and more With weirdness 100% reproducable fail: Access violation at address 00B5464D in module 'MyApp.exe'. Read of address 00000040. Fails:     tpLot := Tp.Add;     with tpLot do     begin       LotId := Lot.Id; // <--BANG       LotNo := Lot.LotNumber;       ExpiryDate := Lot.ExpireDate;       ProducedDate := Lot.ProducedStartTime;       ArticleId := ArtSum.ArticleId;       ArticleNo := ArtSum.ArticleNumber;       OriginalArticleId := ArtSum.ArticleId;       Quantity := NumDPacks * ArtSum.BaseUnitsPerKPack;       NetWeight := Quantity * ArtSum.NetWeightPrBaseUnit;       GrossWeight := NetWeight +         (ArtSum.TaraWeightPrFPack * Quantity);       LotLockState := Lot.LockStateCode;     end; Works:     tpLot := Tp.Add;     tpLot.LotId := Lot.Id;     tpLot.LotNo := Lot.LotNumber;     tpLot.ExpiryDate := Lot.ExpireDate;     tpLot.ProducedDate := Lot.ProducedStartTime;     tpLot.ArticleId := ArtSum.ArticleId;     tpLot.ArticleNo := ArtSum.ArticleNumber;     tpLot.Original

There is one thing that has troubled me for long time (in every Delphi version since Delphi 2010).

There is one thing that has troubled me for long time (in every Delphi version since Delphi 2010). When I am typing code sometimes edit cursor jumps to one line above and I end up typing into wrong place. Has anyone else encountered this issue?
There is one thing that has troubled me for long time (in every Delphi version since Delphi 2010). When I am typing code sometimes edit cursor jumps to one line above and I end up typing into wrong place. Has anyone else encountered this issue?

I'm currently working on advanced print preview window for reporting library and need some feedback.

I'm currently working on advanced print preview window for reporting library and need some feedback. What features (in preview) are you missing in your current reporting tool? Or maybe there are some important features that I've missed. I made a short video demonstrating what is currently implemented. https://www.youtube.com/watch?v=Z-yWZe78C58 https://www.youtube.com/watch?v=Z-yWZe78C58

I have found a bug when saving the key/value value.

I have found a bug when saving the key/value value. Delphi XE7 Windows 8.1 64bit. If one of the Values contains an apostrophe ('), then the file incorectly adds a semicolon (;). Setting CompanyName to "none" is OK             true         1         2         CompanyName=none;FileDescription=;FileVersion=1.1.2.3;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=         1033         3         false          but using "it's a test 2" causes this:               true         2         3         CompanyName=no'ne;FileDescription=;FileVersion=1.2.3.4;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=         1033         4         false          Do a compile and the .vrc shows: "  {   BLOCK "040904E4"   {    VALUE ""CompanyName",  "no'ne\000\000"    VALUE "FileVersion",  "1.2.3.4\000\

Bug vote request: It seems you cannot turn on/off hints and warnings in the project options for BPLs in XE7.

Bug vote request: It seems you cannot turn on/off hints and warnings in the project options for BPLs in XE7. The hints and warnings just aren't shown in the Hints and Warnings page the way they were in XE6 and below, and the way they are for other project types (eg EXEs or DLLs.) Ie, it's a regression since XE6. Added a Quality report here:  https://quality.embarcadero.com/browse/RSP-9890 Would you mind voting please? I haven't got XE7.1 installed to check, but searching the fix list ( http://edn.embarcadero.com/article/44156 ) for 'hint', 'warning', 'project' or 'option' doesn't show anything about it.  Discovered via a Stack Overflow thread here:  http://stackoverflow.com/questions/27805151/cannot-edit-hints-warnings-in-bpl-project-options https://quality.embarcadero.com/browse/RSP-9890

Bug vote request: It seems you cannot turn on/off hints and warnings in the project options for BPLs in XE7. The hints and warnings just aren't shown in the Hints and Warnings page the way they were in XE6 and below, and the way they are for other project types (eg EXEs or DLLs.) Ie, it's a regression since XE6.

Bug vote request: It seems you cannot turn on/off hints and warnings in the project options for BPLs in XE7. The hints and warnings just aren't shown in the Hints and Warnings page the way they were in XE6 and below, and the way they are for other project types (eg EXEs or DLLs.) Ie, it's a regression since XE6. Added a Quality report here:  https://quality.embarcadero.com/browse/RSP-9890 Would you mind voting please? I haven't got XE7.1 installed to check, but searching the fix list ( http://edn.embarcadero.com/article/44156 ) for 'hint', 'warning', 'project' or 'option' doesn't show anything about it.  Discovered via a Stack Overflow thread here:  http://stackoverflow.com/questions/27805151/cannot-edit-hints-warnings-in-bpl-project-options https://quality.embarcadero.com/browse/RSP-9890

VCL Ribbon revisited

VCL Ribbon revisited How this made it through initial QA is a mystery.  Abstract errors (requiring an IDE restart), disappearing controls (requiring you to close and reopen the form), access violations (requiring an IDE restart), mouse caret getting trapped in region within IDE (requiring an IDE restart) - and trial and error the only way to figure it all out. I am not a happy camper.

Is it possible to vote the Out of memory problem in the quality forum .

Is it possible to vote the Out of memory problem in the quality forum . I hope that embarcadero give a solution about this problem. https://quality.embarcadero.com/browse/RSP-9568
For a new project, should we simply not bother with VCL and use FMX exclusively?

Hello good people :-)

Hello good people :-) I intend to write a little hobby project which will require reading raw bytes from a serial COM port. In your experience, what would be a free and relatively painless Serial component to do the job? TComPort? I have Delphi XE2, the project is for Windows only. Thanks!

The Daily WTF has the first Delphi WTF that I've seen for quite some time: http://thedailywtf.com/articles/jack-and-the-beanstalk

The Daily WTF has the first Delphi WTF that I've seen for quite some time:  http://thedailywtf.com/articles/jack-and-the-beanstalk (I don't know if many of you still read the Daily WTF. I liked it back in, oh, 2006 or so when it had snippets of bad code with well-written explanations of what was wrong, which was both interesting and educational. Since then it seems to have devolved into a site focusing on "humorous" writing and stories. Too much snark and unfunny humour, too little actual code and analysis. I still check it occasionally hoping for a return to form. This one is standard and if you read it you may think much the same as me about the site. Posting mainly for interest.) #DailyWTF http://thedailywtf.com/articles/jack-and-the-beanstalk

This is the last week to Tweet for Delphi in the contest.

This is the last week to Tweet for Delphi in the contest. It is simple to do it, just tweet “Delphi #code2014” to get your vote counted. You can see the current rankings here: http://www.code2014.com/ It is only counting on Twitter, but if everyone Tweets this on the accounts they manage it will really help move Delphi up in the ranks!  http://www.code2014.com

This is the last week to Tweet for Delphi in the contest. It is simple to do it, just tweet “Delphi #code2014” to get your vote counted. You can see the current rankings here: http://www.code2014.com/ It is only counting on Twitter, but if everyone Tweets this on the accounts they manage it will really help move Delphi up in the ranks!

This is the last week to Tweet for Delphi in the contest. It is simple to do it, just tweet “Delphi #code2014” to get your vote counted. You can see the current rankings here: http://www.code2014.com/ It is only counting on Twitter, but if everyone Tweets this on the accounts they manage it will really help move Delphi up in the ranks!  http://www.code2014.com

Off topic but for those running Win7 and recently being challenged you don't have a genuine copy anymore there is a patch available to remove a recent MS patch that has caused this issue. Been scratching my head for a bit to fix this on my Dev VM. Path is here, http://support.microsoft.com/kb/3024777. After running this today I noticed they have pushed the patch out in the auto updates now as well so people might have fixed this already. If you get the genuine software popping up with validation code 0x8004FE21 this is the fix for it.

Off topic but for those running Win7 and recently being challenged you don't have a genuine copy anymore there is a patch available to remove a recent MS patch that has caused this issue.  Been scratching my head for a bit to fix this on my Dev VM. Path is here,  http://support.microsoft.com/kb/3024777 .  After running this today I noticed they have pushed the patch out in the auto updates now as well so people might have fixed this already.  If you get the genuine software popping up with validation code 0x8004FE21 this is the fix for it. http://support.microsoft.com/kb/3024777

Let me try it by sharing a cartoon from David Kantrowitz

Let me try it by sharing a cartoon from David Kantrowitz  Please tweet #code2014  Delphi if you programmed Delphi this year and have a twitter account or are willing to open one to do so. https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdnSlph0OkscMsrnQoxA4LlwpdnE9nMh8hDS2YudPAQGZwK0BvJ0B2GjWhj5TeOvvETEukQmoQ7qf1HKU97dpZPVtSAiqtsUAhKvKdTJYWJBmghe66AZGv3bp35cOz5Jdr9UJjAlYkYp1J/s320/crying+bird.jpg We are close to position Delphi right in between Swift and Objective-C in the ranking. Just 21 more tweets are necessary. Please share this call to action with your local Delphi usergroup. https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdnSlph0OkscMsrnQoxA4LlwpdnE9nMh8hDS2YudPAQGZwK0BvJ0B2GjWhj5TeOvvETEukQmoQ7qf1HKU97dpZPVtSAiqtsUAhKvKdTJYWJBmghe66AZGv3bp35cOz5Jdr9UJjAlYkYp1J/s320/crying+bird.jpg
Hai, im having 7+ years experience in Delphi, SQL server, Oracle server, dot net technologies. Im looking for job on my experience.
Curious to know whether anyone here is using DDDebug, and whether they have meaningful success stories to tell.

Android Web Browser On A Tab

Android Web Browser On A Tab Hi All, I've just discovered some odd behaviour when adding a web browser on to a tab page. Using XE7 (Update 1) on various android devices. I've placed a web browser control on to a page of a tab control. I then use tab actions to switch between pages. A) Starting on the page without the browser, it's OK.. B) When I then change to the browser tab, the browser appears correctly. C) When I then try to return to the first page, the browser slides away with the tab page correctly but then re-appears over the top op the main page. Anyone else seen this or have any suggestions? Cheers, Vince

Hi Folks

Hi Folks, I came across the following strange magic: Using XE2, in case that matters, I created an empty console application, ran it in the IDE, no problem. After I saved the project to "TestUpdate" and ran it again, Delphi suddenly errored out with a "need elevated rights to run". Saved the project again under "TestXXX" for example and it compiled and ran again without problems. Obviously the "Update" in the project name triggers the elevation prompt. All the created "*update*.exe" files carry the shield overlay. But why? And where and how can I turn this off? If I rename any of these "*update*.exe" files in windows explorer to xxx.exe, they run without elevation prompt. For the fun of it I renamed other exes to update.exe, but they didn't want elevated rights when started. So there must be some combination of the code generated by delphi and the substring "update" in the exe name which triggers this behaviour.

+Dorin Duminica suggested to add http/s request capabilities to JsonToDelphiClass generated units. I came up with a solution that involves new base class for all stub classes. That base class will offer CRUD methods. My ideia is to be REST compatible solution, based on Indy (micro REST I think?). May be Remy Lebeau can say more?

+Dorin Duminica suggested to add http/s request capabilities to JsonToDelphiClass generated units. I came up with a solution that involves new base class for all stub classes. That base class will offer CRUD methods. My ideia is to be REST compatible solution, based on Indy (micro REST I think?). May be Remy Lebeau  can say more? I want to keep it one unit only (i.e. no external units). The base class will be named like the unit with a 'T' in front. All descendant classes will reintroduce the HttpGet method to return concrete instance. HttpPost and HttpPut will send the serialized object as payload (I forgot to set the Content-Type in PasteBin). HttpDelete does not have payload since the resource is specified in the URI. It stays a little bit strange in that picture, but I want to keep it. I've tested HttpGet method and it seems to work nice. I will appreciate your opinion about the idea and the implementation here: http://pastebin.com/2s6nprXP   http://pastebin.com/2s6nprX

New blog post: Most Frequently Used Shortcuts By Delphi Programmers http://bit.ly/1rQSPev

New blog post: Most Frequently Used Shortcuts By Delphi Programmers   http://bit.ly/1rQSPev #shortcuts

Customer Issue: I just received an email from a customer who just purchased and installed my software. In her email she reports this error message:

Customer Issue: I just received an email from a customer who just purchased and installed my software. In her email she reports this error message: "This App Can’t run on your PC to find apps for this PC, open Windows store." A quick google search seems to indicate that my software (last compiled with Delphi 5) was installed on a device running Windows RT.  I'm waiting to here back as to what type of computer she has. Is there any other reason why this error would popup? Is there a resolution out there? TIA, Mike

Handle touch events for each contact point.

Handle touch events for each contact point. We currently have the Location property for each contact point. If we want to have total control of every touch point, we need another property as TTouchAction. Something like:    TTouch = record      Location: TPointF;      Action: TTouchAction;    end; Is there something planned on this? Does anyone know any workaround?

Interesting Blog entry.

Interesting Blog entry. http://jonlennartaasenden.wordpress.com/2015/01/03/free-sparta-and-codetyphoon-violates-gpl/ BTW ... Did you tweet "#code2014 Delphi" yet? Tweet what languages you programmed in in 2014 for code2014.com Two more tweets to catchup with coffee script. http://jonlennartaasenden.wordpress.com/2015/01/03/free-sparta-and-codetyphoon-violates-gpl/

Originally shared by Maik Wojcieszak

Originally shared by Maik Wojcieszak The example is using Lazarus, but it also works with RAD Studio/Delphi. http://www.youtube.com/watch?v=570lBt3Xp8Y

How-To Videos: Some of you guys have made some really nice "How-To" videos. Thank you for making them and sharing your Delphi knowledge. Please share the tool(s) you use in making these video.

How-To Videos: Some of you guys have made some really nice "How-To" videos. Thank you for making them and sharing your Delphi knowledge. Please share the tool(s) you use in making these video.  #howtovideo

Hi

Hi, I have expertise in Delphi with more than 18 years. I've been programming in Delphi since Delphi 3 - XE7 i work as freelancer warms regards from indonesia

Ribbon Control

Ribbon Control The sample project in XE6, Embarcadero\Studio\14.0\Samples\Object Pascal\VCL\RibbonControls\, has disappeared from the XE7 samples. Why, Marco Cantù ?

Why can't I assign interface methods to function references?

Why can't I assign interface methods to function references? type   ISomeInterface = interface     procedure PlainProc;   end; var   myInterface: ISomeInterface;   p: TProc; begin   p := myInterface.PlainProc; // nope end. Clearly I don't know how anonymous functions are implemented in sufficient detail :(

So writing an example for a newbie on IRC, I was reminded how TList doesn't have a Sort overload that takes a TComparison function reference directly.

So writing an example for a newbie on IRC, I was reminded how TList doesn't have a Sort overload that takes a TComparison function reference directly. At the very least they could have provided a version which just made the TDelegatedComparer for you... the current way leads to such fugly code.

Hey guys, what would be the best way to have a news feed like system in your app, where it displays the news in a rectangle with a picture and text, e.g -> http://a1.mzstatic.com/au/r30/Purple4/v4/8c/71/80/8c718037-eb46-5e03-afc3-54253cf47892/screen568x568.jpeg

Hey guys, what would be the best way to have a news feed like system in your app, where it displays the news in a rectangle with a picture and text, e.g ->  http://a1.mzstatic.com/au/r30/Purple4/v4/8c/71/80/8c718037-eb46-5e03-afc3-54253cf47892/screen568x568.jpeg http://a1.mzstatic.com/au/r30/Purple4/v4/8c/71/80/8c718037-eb46-5e03-afc3-54253cf47892/screen568x568.jpeg

So I got this file format where the header is pure text, and the contents is binary, separated by a couple of linebreaks. Quite similar to how HTTP works.

So I got this file format where the header is pure text, and the contents is binary, separated by a couple of linebreaks. Quite similar to how HTTP works. So I thought great, I'll just use TStreamReader to read the header lines, and then process the binary part afterwards. Then I realised that TStreamReader isn't made to cooperate with anything else, as it doesn't sync the amount actually read from the stream versus how much it has buffered. Meaning after you've read one line worth 50 bytes, the stream position will be over at 4096 because that's TStreamReader's default buffer size. I guess that is so it can work with forwards-only streams (like decompression streams), but I'm working on file and memory streams. So, any easy, existing alternative here? I mean it's not hard to roll my own alternative, just wondering if I'm missing some existing stuff.

Other than Delphi or similar Pascal derivatives, what programming languages do you hope to learn, dabble in, or work with in 2015?

Other than Delphi or similar Pascal derivatives, what programming languages do you hope to learn, dabble in, or work with in 2015? In 2014 I got into Go , which I like.  In 2015 I hope to play around with more functional languages such as Haskell, Scheme, and Common Lisp.

I am trying to step up my Delphi knowledge so I recently purchased the complete Blaise Pascal Magazine library. I was reading an article from BPM #3 by Primož Gabrijelčič called "Introduction to Enumerators". (See attached image)

Image
I am trying to step up my Delphi knowledge so I recently purchased the complete Blaise Pascal Magazine library. I was reading an article from BPM #3 by Primož Gabrijelčič called "Introduction to Enumerators".  (See attached image) I'm slightly confused by the following type definitions he used with regard to the TFonList class. It is declared first as an empty class and then declared a second time with private and public members. Why is this done this way? My guess would be the private field FList in the TFontListEnumerator class needs it to be defined before it can be used. The deeper question is how and where do you learn these class writing techniques? They seem so fundamental to writing great code. Thanks in advance. #classes #typedefinitions