Posts

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