Posts

Showing posts from September, 2017
Será que alguém poderia me ajudar, estou precisando imprimir etiqueta em uma impressora matricial, não sei nem por onde começar, alguém me dar uma ajuda, estou usando um campo do banco de dados longtext, e gostaria de utilizar os dados deste campo como etiqueta. Gostaria de saber como configurar a etiqueta PIMACO própria para formulário continuo. Estou usando Delphi 7 e QReport.
just took advantage of a 40% saving email promo to upgrade to a Enterprise version :)

Originally shared by Thomas Mueller (dummzeuch)

Originally shared by Thomas Mueller (dummzeuch) A new test release of my dzDebugVisualizers for Delphi 2005, 2006 and 2007 is available. Apart from fixing an Access Violation when unloading the package I have added support for TDateTime and unquoted (multiline) strings to the Evaluate / Modify window:… http://blog.dummzeuch.de/2017/09/30/dzdebugvisualizers-for-delphi-2005-2006-and-2007-2017-09-30/

I'm looking for a Delphi API for Amazon Polly. Does anybody know of something that already supports it? If not, would anybody like to build one for me for a reasonable fee? I only need support for DescribeVoices and SynthesizeSpeech at this time, but the other handful of APIs probably wouldn't be hard to build either.

I'm looking for a Delphi API for Amazon Polly. Does anybody know of something that already supports it? If not, would anybody like to build one for me for a reasonable fee? I only need support for DescribeVoices and SynthesizeSpeech at this time, but the other handful of APIs probably wouldn't be hard to build either. I've been messing with some examples for other AWS APIs, and I've not had much luck with the authentication part. Actually, I'd be happy with a working Delphi translation of the Python example at the link below for either of these two APIs. http://docs.aws.amazon.com/general/latest/gr/sigv4-signed-request-examples.html

Hello everybody :) i am a simple delphi6 user, trying to build some applications to run on cnc lathes; cnc lathes have windows

Image
Hello everybody :) i am a simple delphi6 user, trying to build some applications to run on cnc lathes; cnc lathes have windows at this moment, i put shortcuts into win+startup menu, so applications are starting and all is ok; but i would like to have a start up behaviour from code this is what i have used : procedure SetAutoStart(AppName, AppTitle: string; bRegister: Boolean); const RegKey = '\Software\Microsoft\Windows\CurrentVersion\Run'; // Run or RunOnce var Registry: TRegistry; begin Registry := TRegistry.Create; try Registry.RootKey := HKEY_LOCAL_MACHINE; if Registry.OpenKey(RegKey, False) then begin if bRegister = False then Registry.DeleteValue(AppTitle) else Registry.WriteString(AppTitle, AppName); end; finally Registry.Free; end; end; this code creates the key inside the HKLM, but at start-up, i receive an error the error is the same on all 3 computers ( my PC + 2 lathes ) i hav

Oups.... MacOS32 "Design time" package compilation crash

Image
Oups.... MacOS32 "Design time" package compilation crash

The linked page documents the Display Format Specifiers for expressions in the Evaluate / Modify dialog of the Delphi IDE.

The linked page documents the Display Format Specifiers for expressions in the Evaluate / Modify dialog of the Delphi IDE. S and C seem to do the same: Display as string and use the #$xx representation for control characters. Is there any difference between using S and C? In my tests, I could not find one. D is for decimal. H or X is for hexadecimal. I could have sworn that it is possible to specify a minimum length for hexadecimal, so "5,H4" would be displayed as "$0005", but it doesn't seem to work. Am I missing something? Fn is for floating point where n specifies the number of significant digits. Which, to say the truth, was new to me. It works fine for "1.23456789,F5" displaying "1.2346", but unfortunately does not display "1.00000000,F5" as "1.0000". Also, it does not display "0.00000000001,F2" as "0.0" but insists on the E notation which makes it pretty useless in my opinion, because the E notati

Delphi developers created in lab!

Delphi developers created in lab! https://github.com/tonybeltramelli/pix2code

Originally shared by Ralf Stocker

Originally shared by Ralf Stocker Andreas H. has just released FixPack 6.0: http://andy.jgknet.de/blog/2017/09/ide-fix-pack-6-0-released-dcc64-and-10-2-update-1-support/ http://andy.jgknet.de/blog/2017/09/ide-fix-pack-6-0-released-dcc64-and-10-2-update-1-support/

Andreas H. has just released FixPack 6.0:

Andreas H. has just released FixPack 6.0: http://andy.jgknet.de/blog/2017/09/ide-fix-pack-6-0-released-dcc64-and-10-2-update-1-support/ http://andy.jgknet.de/blog/2017/09/ide-fix-pack-6-0-released-dcc64-and-10-2-update-1-support/

Hotfix. Haven't tried it.

Hotfix. Haven't tried it. https://community.embarcadero.com/blogs/entry/build-ios-11-ready-apps-with-rad-studio-10-2-1

The new IDE Fix Pack 6.0 is released. It finally supports Delphi 10.2 Update 1 and comes with all the Win64 compiler performance optimizations that were in beta over a year.

The new IDE Fix Pack 6.0 is released. It finally supports Delphi 10.2 Update 1 and comes with all the Win64 compiler performance optimizations that were in beta over a year. http://andy.jgknet.de/blog/2017/09/ide-fix-pack-6-0-released-dcc64-and-10-2-update-1-support/

I don't mean to Whine but, if WINE is mature enough, why doesn't EMBT officially test and support WINE for development on Mac OS/X and Linux for developers who target those platforms and mobile devices? Do they not realize the importance of a X platform IDE? Visual Studio is available for the Mac and there are lots of portable IDEs on the market....

I don't mean to Whine but, if WINE is mature enough, why doesn't EMBT officially test and support WINE for development on Mac OS/X and Linux for developers who target those platforms and mobile devices? Do they not realize the importance of a X platform IDE? Visual Studio is available for the Mac and there are lots of portable IDEs on the market.... https://appdb.winehq.org/objectManager.php?sClass=application&iId=10809

What should AnsiDequotedStr(s, #39) return for the following ansi string:

What should AnsiDequotedStr(s, #39) return for the following ansi string: 'bla 'blub'' ? Note that the string starts with a single quote and ends with two single quotes. These Quotes are part of the string's contents. (Assigned in code as s := #39'bla '#39'blub'#39#39;) #39 is the sinqle quote character. I would have expected something like >bla 'blub'< or possibly >bla blub< But the actual result is >bla <. So, apparently the second ' is interpreted as the end of the string.

This program:

This program: {$APPTYPE CONSOLE} uses System.SysUtils; type TRec1 = record X1: NativeInt; end; TRec2 = record X1: NativeInt; X2: NativeInt; end; function GetRec1: TRec1; begin Result.X1 := 1; raise Exception.Create(''); end; function GetRec2: TRec2; begin Result.X1 := 1; raise Exception.Create(''); end; procedure Main; var Rec1: TRec1; Rec2: TRec2; begin Rec1 := Default(TRec1); Writeln(Rec1.X1); try Rec1 := GetRec1; except end; Writeln(Rec1.X1); Rec2 := Default(TRec2); Writeln(Rec2.X1); try Rec2 := GetRec2; except end; Writeln(Rec2.X1); end; begin Main; Readln; end. Outputs 0 0 0 1 It's kinda lame that assignments of function return values can happen when the function raises an exception. It happens because large return types are not returned by value, rather they are handled as implicit var parameters. https://stackoverflow.com/questions/46466691/delphi-tokyo-exception-prevents-setting-function-r

TExcellent Image and Form Printer 10.2.1 Tokyo released

Image
TExcellent Image and Form Printer 10.2.1 Tokyo released https://code4sale.com/ All 65 versions of the RAD Studio Delphi and C++Builder Windows x32 and x64 compilers supported. Emerald Coast, FL - September 26, 2017 - Code4Sale, LLC is proud to announce the release of version 10.2.1 "Tokyo" of it's widely acclaimed TExcellent line of image enhancement and printing SDK products for Embarcadero RAD Studio, Delphi, and C++Builder. TExcellent products have been in forefront of image enhancement and printing technology for the publishing, medical, aerospace, and military industries, providing gigapixel imaging and reliable large format print support since 1994.

I'm coming to think Toyko 10.2.1 was not a step forward...

Image
I'm coming to think Toyko 10.2.1 was not a step forward...

Has anyone an idea why FastMM's FullDebugMode takes hours to end an application?

Has anyone an idea why FastMM's FullDebugMode takes hours to end an application? I'm working in a huge project. After spending a lot of time I've managed to get the application run in FullDebugMode. When I close the application immedtiately after the start I get a detailed memory leak report file including stack traces. But when I work with the application (performing REST requests, parsing huge JSON strings, creating and destroying many objects etc.) the FullDebugMode takes at least several hours before the application will terminate. Has anyone seen this happen before? Is there a way to solve it?

We've just released CrossVcl 0.93 with one big new subsystem - VCL and GDI printing and print dialogs. Now CrossVcl ready for reporting system.

Image
We've just released CrossVcl 0.93 with one big new subsystem - VCL and GDI printing and print dialogs. Now CrossVcl ready for reporting system. http://www.crossvcl.com

Delphi Tokyo crash when debugging on macOS...

Delphi Tokyo crash when debugging on macOS... I still have to use Delphi Berlin when debugging on macOS because in Tokyo (10.2 update 1), any breakpoint will crash the IDE. It does stop at the breakpoint, but immediately after I get a "Debugger Exception Notification ... AV at address 00000000", which freezes the Delphi IDE. Only way out is to use "End Process" in Task Manager. It works fine with a new empty app, so I suppose it is related to having several threads running in my main app. The exact same code debugs fine in Delphi Berlin. Anyone else having experience with debugging on macOS using Tokyo? (I use macOS 10.12.6 and XCode 9.0)

I recently installed Delphi Tokyo 10.

I recently installed Delphi Tokyo 10.2.1 Ent. Ed. into a VirtualBox VM with Windows 7. I'm playing around with a fairly simple project, and when I compile it I'm getting the red dots on the left of the line numbers on the wrong lines in the main form unit. They all appear to be shifted down by one. It makes it hard to debug, to say the least. Any idea what the problem might be or how to fix it?

I recently installed Delphi Tokyo 10.2.1 Ent. Ed. into a VirtualBox VM with Windows 7. I'm playing around with a fairly simple project, and when I compile it I'm getting the red dots on the left of the line numbers on the wrong lines in the main form unit. They all appear to be shifted down by one. It makes it hard to debug, to say the least.

I recently installed Delphi Tokyo 10.2.1 Ent. Ed. into a VirtualBox VM with Windows 7. I'm playing around with a fairly simple project, and when I compile it I'm getting the red dots on the left of the line numbers on the wrong lines in the main form unit. They all appear to be shifted down by one. It makes it hard to debug, to say the least. Any idea what the problem might be or how to fix it?

As you know, Eugene added changes in VirtualTreeView sources for CrossVCL. Now I updated sources to improve support of VCL Styles. Please, take a look on demos with our VCL Style "Zircon".

Image
As you know, Eugene added changes in VirtualTreeView sources for CrossVCL. Now I updated sources to improve support of VCL Styles. Please, take a look on demos with our VCL Style "Zircon". VirtualTreeView sources: https://github.com/eugenekryukov/Virtual-TreeView You can find more screenshots with third-party controls and our VCL Styles: http://www.delphistyles.com/vcl/tlist.html

I need assistance with converting this CRC function from C to Delphi. My knowledge of C is rather limited. Thanks

I need assistance with converting this CRC function from C to Delphi. My knowledge of C is rather limited. Thanks word CRC_16(byte *buf,word len) { word crc=0x0000; byte c,i; while (len!=0) { c=*buf; for (i=0;i<8;i++) { if ((crc ^ c) & 1) crc=(crc>>1)^0xa001; else crc>>=1; c>>=1; } len--; buf++; } return (crc); }
Anyone else's yearly maintenance fees for Delphi triple this time around? It's a big hit for an open source project (and for our devs) so it will likely cause us to explore other options.

Hello, everybody!

Image
Hello, everybody! I need to put an image into an FMX form, of a desktop application. I've seen that I have at least three options: TImage, TImageViewer and TImageControl The Image I need to put is a PNG file of 512x512 pixels with a relatively low quality. My ask is for people that have experimented with this controls. I've seen the help pages, of course, I've searched on Internet, of course, and I've seen things like his inheritance: TControl -> TStyledControl -> TCustomScrollBox -> TImageViewer TControl -> TSyledControl -> TImageControl TControl -> TImage What control, based on your experience, is better for this applying and why? Thank's to all in advance.

Drawing with ReactiveX: https://bitbucket.org/snippets/sglienke/BEXnM9

Drawing with ReactiveX: https://bitbucket.org/snippets/sglienke/BEXnM9 Yes, the classic approach would be way less code but you get the idea of how you can combine multiple event streams to achieve these things. Still looking for ways to reduce the generic argument cluttering. FWIW here is the same example in JS: https://codepen.io/HunorMarton/pen/mWVVXg Links to the feature requests mentioned in the comments (please vote): https://quality.embarcadero.com/browse/RSP-16763 https://quality.embarcadero.com/browse/RSP-10336

RAD Studio Tokyo release 1

RAD Studio Tokyo release 1 Tools > Options > Environment Options > Delphi Options > Library Library path combobox will display several entries as soon one of your path contains a dot ( ie c:\vcl\my.stuff ) Can anyone reproduce it ?
How to fix the TWebBrowser (64bit) on iOS shows black borders after zoom out

I wonder if it's ok to point out here that the development of Smart Mobile Studio has picked up speed after a long hiatus and that a new alpha-release is available? SMS is not strictly Delphi, but it's a Delphi-like RAD, which compiles Object Pascal code into html5-applications.

I wonder if it's ok to point out here that the development of Smart Mobile Studio has picked up speed after a long hiatus and that a new alpha-release is available? SMS is not strictly Delphi, but it's a Delphi-like RAD, which compiles Object Pascal code into html5-applications. http://smartmobilestudio.com/2017/09/14/smart-2-9-9-alpha/

I am now confirmed as a speaker!

I am now confirmed as a speaker! Use the voucher 15FR8@2017ECON to be granted 15% discount at Embarcadero Conference Brazil 2017 (Oct,24; São Paulo) Biggest Delphi event in the world with +500 attendees since 2011!!! http://www.embarcaderoconference.com.br/ http://www.embarcaderoconference.com.br/

I am now confirmed as a speaker! Use the voucher 15FR8@2017ECON to be granted 15% discount at Embarcadero Conference Brazil 2017 (Oct,24; São Paulo) Biggest Delphi event in the world with +500 attendees since 2011!!! http://www.embarcaderoconference.com.br/

I am now confirmed as a speaker! Use the voucher 15FR8@2017ECON to be granted 15% discount at Embarcadero Conference Brazil 2017 (Oct,24; São Paulo) Biggest Delphi event in the world with +500 attendees since 2011!!! http://www.embarcaderoconference.com.br/ http://www.embarcaderoconference.com.br/
In the Print function built into the Delphi IDE, is there any way to adjust the print page margins? I like to print listings double-sided in landscape, then either staple them at the top or 3-hole punch or something. Landscape seems to leave barely one line height as the margin, and there are times when I'd like more than that.

The localization of FMX and VCL projects is something that I really need at work and so far we've been using DKLang (but we don't really like it...). I have seen that here there are already topics about localization tools but I'd like to ask something different.

The localization of FMX and VCL projects is something that I really need at work and so far we've been using DKLang (but we don't really like it...). I have seen that here there are already topics about localization tools but I'd like to ask something different. I need a component that is able to localize some strings that I input and it must work on FMX and VCL. I want to write one by my own so I can customize it and also we won't have to pay the expensive tools I can find online (not saying that they aren't good, but If I can get a solution for free by myself that's better :) ). I already know how to create components and stuff. My question is: how should a localization component work to be efficient? I don't need to change the language at runtime. I just need to input in my component a string, have the different translations and then (once the program opens) load the strings in the correct language. Everything VERY easy. I would create a component that us

After having looked at most of the major translation tools for Delphi, the conclusion is:

After having looked at most of the major translation tools for Delphi, the conclusion is: - They all suck in different ways - Those with visual tools, crash in different ways - They are not really VCS friendly at all - Team support is mostly not present - Documentation is either near non-existent, incomplete, or outdated - Prices go from "free", to affordable to ridiculously expensive There seems there is no bleeding edge tool here - only a lot of blood, sweat and tears - for the user of the tool.

CrossVcl 0.92 just released. Start building macOS and Linux VCL apps with Embarcadero Delphi and CrossVcl.

Image
CrossVcl 0.92 just released. Start building macOS and Linux VCL apps with Embarcadero Delphi and CrossVcl. What's new: http://crossvcl.com/history.html Roadmap: http://crossvcl.com/roadmap.html New All KSDev's Products Bundle with good discount - Save 37% http://www.crossvcl.com

Hello

Hello, Did anyone else encountered this bug while using TDBCtrlGrid with VCL styles active? https://quality.embarcadero.com/browse/RSP-19113 Importent thing is that this bug is connected with icon hiding. As written in this http://www.delphigroups.info/2/6f/302270.html . Thanks https://quality.embarcadero.com/browse/RSP-19113

https://github.com/senCille/senCilleSCAD/wiki

https://github.com/senCille/senCilleSCAD/wiki I've published on github.com an IDE for OpenSCAD. Of course, developed with Delphi . I think is a simple and very useful application. https://github.com/senCille/senCilleSCAD/wiki
Renewed my Rad Studio Enterprise subscription. Now off to Delphi Developer Days I go

DelphiAST has ptAdd and ptRemove TokenKinds.

DelphiAST has ptAdd and ptRemove TokenKinds. The seem to have something to do with access specifiers on properties, but what do they do? I've never heard of a add/remove keyword with regards to properties?

Full time Delphi position in Canada.

Full time Delphi position in Canada. https://www.upwork.com/jobs/_~01a108710de3cb3143/

The number of High-DPI errors is growing and growing. Would not it be time to redesign the High-DPI handling in VCL?

The number of High-DPI errors is growing and growing. Would not it be time to redesign the High-DPI handling in VCL? - https://quality.embarcadero.com/issues/?filter=13014

Originally shared by Boian Mitov

Originally shared by Boian Mitov A small teaser for my next Delphi article in the "Blaise Pascal Magazine" - Video Effects and Animations with VideoLab and AnimationLab :-) #Delphi #OpenWire https://www.youtube.com/watch?v=qCdm5pgJnm8&feature=share
Has anybody tested the compatibility of Delphi Tokyo update 1 with the new XCode 9.0?

Compile Window disappeared?

Compile Window disappeared? All of the sudden, in D10.2.1, when I compile/build a project I don't get the compiler window but the messages (hints/errors/etc.) all appear correctly. Is there a kind of option for this? Thanks

I'm wondering if somebody with access to Tokyo source code could check something for me before I submit a bug report.

I'm wondering if somebody with access to Tokyo source code could check something for me before I submit a bug report. I just want to be sure that the defect still exists. In Vcl.Imaging.GIFImg, in my XE7 version there is this function: function TDIBWriter.GetScanline(Row: integer): pointer; begin {$ifdef PIXELFORMAT_SLOW} NeedDIB; if (FDIBBits = nil) then Error(sNoDIB); with FDIBInfo^.bmiHeader do begin if (Row < 0) or (Row >= Height) then raise EInvalidGraphicOperation.Create(SScanLine); GDIFlush; if biHeight > 0 then // bottom-up DIB Row := biHeight - Row - 1; Result := PByte(Cardinal(FDIBBits) + Cardinal(Row) * AlignBit(biWidth, biBitCount, 32)); end; {$else} Result := FBitmap.ScanLine[Row]; {$endif} end; The sub-expression Cardinal(FDIBBits) is a pointer truncation bug under the 64 bit compiler. That sub-expression should be NativeUInt(FDIBBits). I wonder if Emba have done any top down memory allocation testing. Anyway, woul

I'm wondering if somebody with access to Tokyo source code could check something for me before I submit a bug report. I just want to be sure that the defect still exists.

I'm wondering if somebody with access to Tokyo source code could check something for me before I submit a bug report. I just want to be sure that the defect still exists. In Vcl.Imaging.GIFImg, in my XE7 version there is this function: function TDIBWriter.GetScanline(Row: integer): pointer; begin {$ifdef PIXELFORMAT_SLOW} NeedDIB; if (FDIBBits = nil) then Error(sNoDIB); with FDIBInfo^.bmiHeader do begin if (Row < 0) or (Row >= Height) then raise EInvalidGraphicOperation.Create(SScanLine); GDIFlush; if biHeight > 0 then // bottom-up DIB Row := biHeight - Row - 1; Result := PByte(Cardinal(FDIBBits) + Cardinal(Row) * AlignBit(biWidth, biBitCount, 32)); end; {$else} Result := FBitmap.ScanLine[Row]; {$endif} end; The sub-expression Cardinal(FDIBBits) is a pointer truncation bug under the 64 bit compiler. That sub-expression should be NativeUInt(FDIBBits). I wonder if Emba have done any top down memory allocation testing. Anyway, woul

Interesting!

Image
Interesting! Originally shared by Delphi Delphi and C++ Builder optical barcode recognition library for Android utilizing the ZXing library. It supports UPC-A, UPC-E, EAN-8, EAN-13, Code 39, Code 93, Code 128, Codabar, ITF, RSS-14, RSS-Expanded, QR Code, Data Matrix, Aztec and PDF 417 barcodes. Take a look! . https://www.winsoft.sk/aobrlib.htm . #Android #Delphi

var

var c: Char; begin case c of Char(#$C0)..Char(#$D6) : begin end; end; Why I get error: [dcc32 Error] E2011 Low bound exceeds high bound on Delphi Tokyo?

We finish our trilogy on big databases with a Delphi driver for MongoDB.

We finish our trilogy on big databases with a Delphi driver for MongoDB. https://blog.grijjy.com/2017/09/21/working-with-big-data-databases-in-delphi-cassandra-couchbase-and-mongodb-part-3-of-3/

FireDAC on iOS

FireDAC on iOS Hi I'm using loads of TFDQuerys in an iOS application using SQLite. I have a global connection object they all use. I'm suffering random crashes in the app (particularly on iPad Mini 3) that seem to related to my db accesses. I'm using the usual desktop pattern.. aQuery := TFDQuery.Create(nil); try aQuery.Connection := MyGlobalConnection; aQuery.SQL.Text := '...'; aQuery.Active := true; // do things finally aQuery.Free; end; I've single stepped in to the 'Free' call, and the reference count doesn't seem to reduce to 0. It's mostly this that's making me wonder about a leak. I've tried calling Close before the free and that appears to make no difference. Any suggestions on what's going on? Cheers

Notify Me of Everything… – Part 2

Notify Me of Everything… – Part 2 http://www.davidghoyle.co.uk/WordPress/?p=1761 http://www.davidghoyle.co.uk/WordPress/?p=1761

Let me share a good post about us from Sarina Dupond (Senior Product Manager, RAD Studio)!

Let me share a good post about us from Sarina Dupond (Senior Product Manager, RAD Studio)! https://community.embarcadero.com/blogs/entry/new-vcl-and-firemonkey-styles-from-delphistyles-com http://www.delphistyles.com http://www.delphistyles.com

Status: Windows 10 Creators Update 17 Oct 2017 & Older Delphi Versions?

Status: Windows 10 Creators Update 17 Oct 2017 & Older Delphi Versions? RSP-17972 was a show stopper to migrate our development to Windows 10 Creator Update. We are aware of the Tokyo patch http://blog.marcocantu.com/blog/2017-august-creators-update-loading-tokyo-release-1.html But for us the most important question is: Does "Windows 10 Creators Update 17 October 2017" solve the problems for the older Delphi versions properly. I have not found any final statement provided by EMBT that say "yes - all is fine for the older Delphi (Development and Runtime) after applying the October 17 update". Does anybody knows more or have used the RTM of the October 17 update?

Does anybody have any experience building interfaces for Amazon AWS services based on the classes included with...

Does anybody have any experience building interfaces for Amazon AWS services based on the classes included with Delphi (Tokyo 10.2.1 Ent)? I've been going through Pawel's CodeRage X video and I find the part around authentication quite unclear. The Delphi classes use V 2 of the auth services by default, while virtually all of them use V 4 (and have for a while). The fields it uses don't seem to align with those in Amazon's docs. I need to interface with one of the less-used services (Polly), and the only examples I've found are for S3 and what Pawel discusses. His presentation is great, but I've replayed the 2nd half several times and there's stuff that just isn't connecting for me.
Does anybody have any experience building interfaces for Amazon AWS services based on the classes included with Delphi (Tokyo 10.2.1 Ent)? I've been going through Pawel's CodeRage X video and I find the part around authentication quite unclear. The Delphi classes use V 2 of the auth services by default, while virtually all of them use V 4 (and have for a while). The fields it uses don't seem to align with those in Amazon's docs. I need to interface with one of the less-used services (Polly), and the only examples I've found are for S3 and what Pawel discusses. His presentation is great, but I've replayed the 2nd half several times and there's stuff that just isn't connecting for me.

The Foren-Tage are happening this Saturday in Hamburg.

Image
The Foren-Tage are happening this Saturday in Hamburg. https://forentage.de/index.php/veranstaltung/agenda/ Lots of great sessions and the key note by David Millington. As a little advert, Frank Lauter will be presenting 2 sessions, one on MVVM and another on the new features of XtremeDocumentStudio. Should be a good place to go to this weekend, for Delphi programmers in north Germany :)

Hi, I have to start a project for a customer that requires me a new android app, but I've read here that there are some issues with Tokyo. Particularly, i need to send and recive sms to comunicate with some alarm devices. Before starting, I would like to know what do you think about. Is Tokyo so useless to develop android app?

Hi, I have to start a project for a customer that requires me a new android app, but I've read here that there are some issues with Tokyo. Particularly, i need to send and recive sms to comunicate with some alarm devices. Before starting, I would like to know what do you think about. Is Tokyo so useless to develop android app? Thanks

A bug fix for DprojNormalizer is available.

A bug fix for DprojNormalizer is available. http://www.uweraabe.de/Blog/2017/09/19/bugfix-for-dprojnormalizer-available/

Title

I’m happy to announce that TMS Software organizes a new training day on Thursday November 23rd in Meerbusch, NRW, Germany. The sessions will be spent on Google Maps integration, TMS VCL & FNC components brought by ir. Bruno Fierens, TMS CTO & Embarcadero MVP, Dr. Holger Flick, TMS Evangelist & Embarcadero MVP and myself. If you are using TMS components or plan to use them, don’t hesitate to participate in the TMS Day. We will show some great new stuff.

EMBT's new Online Courses are not free.

EMBT's new Online Courses are not free. SMDH... http://www.businesswire.com/news/home/20170918005798/en/Embarcadero-Academy-Debuts-Online-Courses-Developers-Levels http://www.businesswire.com/news/home/20170918005798/en/Embarcadero-Academy-Debuts-Online-Courses-Developers-Levels

How to sort 100_000 numbers ??

How to sort 100_000 numbers ?? https://gist.github.com/jack128/42ce4ca25edff48583776a57f22b6a8f Using TList and Classes.TList give same result: StackOverflow related link (about .NET issue): https://github.com/dotnet/corefx/issues/24110 updated qc: https://quality.embarcadero.com/browse/RSP-19091 https://gist.github.com/jack128/42ce4ca25edff48583776a57f22b6a8f
I'm looking for an editor control that can highlight MarkDown.

Such a pitty that this kickstarter seems to go not so good ...

Such a pitty that this kickstarter seems to go not so good ... https://www.kickstarter.com/projects/imageen/imageen-imaging-library-for-firemonkey/ https://goo.gl/LL6BMh Anybody else interested? https://www.kickstarter.com/projects/imageen/imageen-imaging-library-for-firemonkey

Delphi IDE command line question -- in much older versions of the IDE, you could put -np on the shortcut to launch the IDE in order to suppress loading a project. I notice that on 10.2 it not just suppresses loading a project, but also suppresses the Welcome page. There used to be a ton of command line switches on the IDE, now there are just a few.

Delphi IDE command line question -- in much older versions of the IDE, you could put -np on the shortcut to launch the IDE in order to suppress loading a project. I notice that on 10.2 it not just suppresses loading a project, but also suppresses the Welcome page. There used to be a ton of command line switches on the IDE, now there are just a few. How do I tell it to just open the IDE to the Welcome page and not load the previous project?

Urgh..finished first iteration of translating the current LLVM-Headers. Next-Stage is adding helpers and other stuff to have a better interface. But it finally does something :D

Image
Urgh..finished first iteration of translating the current LLVM-Headers. Next-Stage is adding helpers and other stuff to have a better interface. But it finally does something :D

Looking for a blocking issue list for Delphi 10.

Looking for a blocking issue list for Delphi 10.2.1 - what are the issues which stop you from upgrading? I am considering the upgrade of mostly Win64 server side code but I am also keenly interested in mobile dev issues.
Looking for a blocking issue list for Delphi 10.2.1 - what are the issues which stop you from upgrading? I am considering the upgrade of mostly Win64 server side code but I am also keenly interested in mobile dev issues.

Interactive PDF form filling in the FMX Document Viewer is coming in the next version of #XtremeDocumentStudio Delphi. Here's a look at it...

Interactive PDF form filling in the FMX Document Viewer is coming in the next version of #XtremeDocumentStudio Delphi. Here's a look at it... Originally shared by Gnostice.com Here's a video of some of the features in the upcoming release of #XtremeDocumentStudio Delphi. Interactive form filling in the Document Viewer on Windows, Mac, iOS, and Android, Data-binding PDF form fields and more... #Delphi #FMX #Windows #macOS #iOS #Android https://www.youtube.com/watch?v=tgZljvtUAD4&feature=share

CrossVcl 0.91 just released - much stable and powerful version ever. With Embarcadero Delphi Berlin (OSX32 only) and Tokyo (OSX32, Linux64 targets) support. Personal license pricing is available and pre-ordering started.

CrossVcl 0.91 just released - much stable and powerful version ever. With Embarcadero Delphi Berlin (OSX32 only) and Tokyo (OSX32, Linux64 targets) support. Personal license pricing is available and pre-ordering started. Roadmap is published: http://www.crossvcl.com/roadmap.html More info at: http://www.crossvcl.com http://www.crossvcl.com

New Roadmap

New Roadmap https://community.embarcadero.com/article/16563-rad-studio-roadmap-september-2017 https://community.embarcadero.com/article/16563-rad-studio-roadmap-september-2017

Hi everyone!

Hi everyone! Do you guys with a Delphi subscription see the price increasing every year? I have many subscription with other vendors and the price is always the same every year. But with Delphi is the opposite. Thanks for your feedback.

A foreword

A foreword === Hello everybody, the two major things that were recently introduced into my software architecture which led to significantly better maintainability and modularity, are *Dependency Inversion* (via https://bitbucket.org/sglienke/spring4d ) and *Eventbus* (via https://github.com/spinettaro/delphi-event-bus ). And most recently, what caught my attention is the idea behind Redux - one of the most popular idea and framework in the JavaScript front-end development world lately. The problem === The *problem* Redux trying to solve can be described in short as: "...At some point, you no longer understand what happens in your app as you have lost control over the when, why, and how of its state (model)...". For example, assume in an application we have a model called TOrder, the issue is that, although the functionalities to manipulate TOrder can be encapsulated in TOrderManager, it's often that we might call TOrderManagr in Module A, B, C and D. Redux's solut

Yesterday I studied #Delphi #components #TLabel #TEdit #TButton and function #StrToInt .

Yesterday I studied #Delphi #components #TLabel #TEdit #TButton and function #StrToInt . I used to use #TurboPascal 6.0 but I have not use Delphi yet so I enjoyed to learn Delphi (^-^)v

Hi All

Image
Hi All, I'm trying to activate Delphi Pro 10.2.1. At the end of the installation I type my reg key and EDN login details, but the wizard says "No valid license information found for Embarcadero Delphi 10.2". I've updated the license information via License management program, but still no luck. Have anyone experienced something similar? What can I do? p.s. I participated in last beta, but completely removed it. In the setup I removed all Android/Linux/IOS packages. Marco Cantù? Update: Anyway, I created a support ticket.

Debug with CodeSite

Debug with CodeSite http://www.davidghoyle.co.uk/WordPress/?p=1790 http://www.davidghoyle.co.uk/WordPress/?p=1790

I have a strange problem with developing office addins with Delphi 10.2 Tokyo and Word 2016 and Addin-Express on Windows 10 (most current patch level).

I have a strange problem with developing office addins with Delphi 10.2 Tokyo and Word 2016 and Addin-Express on Windows 10 (most current patch level). Whenever I have Delphi open while using the Word add-in I receive a group policy error when using Range.Copy and Range.Paste operations from within the addin. When I close Delphi the exception is not raized and the addin functions without a problem. Anybody else here experiencing similar or could anybody doing addin-development give it a try if he can reproduce the issue - just to rule out a problem inherent to my setup?

News examples Delphi and Google Maps using Raudus

Image
News examples Delphi and Google Maps using Raudus Originally shared by raudus web framework news examples with gogle maps

An educational essay on OpenCV Template Matching (and comics). Essay since some find my posts too long :D https://fixedbycode.blogspot.dk/2017/09/match-of-day.html

An educational essay on OpenCV Template Matching (and comics). Essay since some find my posts too long :D https://fixedbycode.blogspot.dk/2017/09/match-of-day.html Warning: Beginner stuff - I am the beginner. Enjoy.

I hate extracurricular work as much as Mr. Fosdal hates scaffolding. So, who currently owns Delphi / RAD Studio, the name, history and viability of the CEO, and so on and so forth is something i feel i should not have to spend mental capacity on. But so so many times typing on this keyboard i have to type the current name. Em.. Id.. Bor... ?? !!. Inprice? No... bummer.

I hate extracurricular work as much as Mr. Fosdal hates scaffolding. So, who currently owns Delphi / RAD Studio, the name, history and viability of the CEO, and so on and so forth is something i feel i should not have to spend mental capacity on. But so so many times typing on this keyboard i have to type the current name. Em.. Id.. Bor... ?? !!. Inprice? No... bummer. So i hereby suggest that whatever venture/vulture capitalist making good or bad out of "our" legacy should be addressable by one single eternal name. My personal suggestion is "Borcogembidera"! But, alas! it's flawed!! EFAFF: Interface fails to implement the 'eternal' property.

Now +/- 4 seconds

Now +/- 4 seconds Hello, I'm using the function below to fill a SOAP request that requires a IssueInstant timestamp...from time to time, the server return a SOAP fault telling that the timestamp is up to 4 seconds in the futur... Is there anything wrong in my code ? function NowUTC: TDateTime; var Time: SYSTEMTIME; begin GetSystemTime(Time); Result := SystemTimeToDateTime(Time); end; function XmlNow: UTF8String; begin Result := UTF8Encode(FormatDateTime('yyyy-mm-dd"T"hh:nn:ss"Z"', NowUTC)); end; my PC is Windows 7 under VirtualBox and the clock seems right.
I was wondering if anyone had a solution to add MS Office plugins/extensions that could be accessed from FMX ?

Hello

Hello, Why do TEncoding strickly protect those very usefull methods ? strict protected function GetByteCount(Chars: PChar; CharCount: Integer): Integer; overload; virtual; abstract; function GetBytes(Chars: PChar; CharCount: Integer; Bytes: PByte; ByteCount: Integer): Integer; overload; virtual; abstract; function GetCharCount(Bytes: PByte; ByteCount: Integer): Integer; overload; virtual; abstract; they could be used with any kind a memory data (TBytes, TMemoryStream, TWhatEver)...but the only available methods uses TBytes or Array of Byte.

Advantage Server Delphi Components for Server Version 11.0

Advantage Server Delphi Components for Server Version 11.0 I have installed Advantage Server 11.0. Only this version is allowed for the project. Task is to develop an 64-bit application working with the server using Delphi XE7. Problem is very strange, have never met such one. Advantage Developer Zone provides me components with version 11.10. They are good compiled with Delphi XE7 but then the application can not connect to the server. Exception Message is: The Advantage server version is older than the Advantage client version. The Advantage server must be the same version or newer than the Advantage client. Lower available version of components is 10.1 and not compartible with XE7. Do you know a way to download components with version 11.0? https://stackoverflow.com/questions/46222732/advantage-server-delphi-components-for-server-version-11-0

TFrameStand wait demo running on Linux Desktop without effort :) #FMX #FMXLinux #Delphi #Linux

Image
TFrameStand wait demo running on Linux Desktop without effort :) #FMX #FMXLinux #Delphi #Linux

We have acouple of SOAP-Services here (running in IIS as dll's in a application pool).

We have acouple of SOAP-Services here (running in IIS as dll's in a application pool). I am wondering if i should continue using "Ansistring" as data type for TRemotable class and for parameters in functions/procedures. Or should i change to "string"? If i let the assistant in the ide create a new soap service project, then it still uses "Ansistring". So i am unsure what type i should use. I tought that all the internet stuff are UTF8 so best would be to use "string" in soap services. https://community.embarcadero.com/forum/enterprise/6537-soap-service-string-vs-ansistring-xe10-2 https://community.embarcadero.com/forum/enterprise/6537-soap-service-string-vs-ansistring-xe10-2

Debugging RTL/VCL Code with CodeSite

Debugging RTL/VCL Code with CodeSite http://www.davidghoyle.co.uk/WordPress/?p=1754 http://www.davidghoyle.co.uk/WordPress/?p=1754

Update: It's more complicated than I realised.

Update : It's more complicated than I realised. The compiler will only skip evaluation of arguments if it is sure that there can be no side effects. For instance, for a direct memory read. If the argument invokes a function then it will be evaluated. So I have created a storm in error. This post is a lot of FUD. Sorry. --------- Inline functions are not guaranteed to evaluate their arguments exactly once. This means that the compiler's choice on whether or not to inline a function can change the observable behaviour. X := IfThen(b, funcWithSideEffect1, funcWithSideEffect2) Only one of the side effects will be performed if the function is inlined. If the compiler doesn't inline then both are performed. I consider this a defect of design. Has inlining in Delphi always been this way? https://stackoverflow.com/questions/46220994/ifthenassignedwidget-widget-description-no-widget-doesnt-crash-should

Update: It's more complicated than I realised. The compiler will only skip evaluation of arguments if it is sure that there can be no side effects. For instance, for a direct memory read. If the argument invokes a function then it will be evaluated.

Update : It's more complicated than I realised. The compiler will only skip evaluation of arguments if it is sure that there can be no side effects. For instance, for a direct memory read. If the argument invokes a function then it will be evaluated. So I have created a storm in error. This post is a lot of FUD. Sorry. --------- Inline functions are not guaranteed to evaluate their arguments exactly once. This means that the compiler's choice on whether or not to inline a function can change the observable behaviour. X := IfThen(b, funcWithSideEffect1, funcWithSideEffect2) Only one of the side effects will be performed if the function is inlined. If the compiler doesn't inline then both are performed. I consider this a defect of design. Has inlining in Delphi always been this way? https://stackoverflow.com/questions/46220994/ifthenassignedwidget-widget-description-no-widget-doesnt-crash-should

I am using WebBrowser when the page is left without internet happening this message, would have how to avoid this message. Anybody know?

Image
I am using WebBrowser when the page is left without internet happening this message, would have how to avoid this message. Anybody know?

Thank You Andreas Hausladen for Idefixpack 10.2

Thank You Andreas Hausladen for Idefixpack 10.2, I was able to install it in 10.2 Update 1. Only three Messageboxes with warnings on starting delphi: Not all Compiler Speed Pack x86 patches were applied. Failed patches: failed : Compiler optimizations (UnitFreeAll) [Compiler.UnitFreeAll] Rest is working good and now my IDE is fast again reacts super fast!
Help me to restore my Documentation Insight - IIRC XE4 is shipped with a so-called Express edition of Doc Insight, and I should have uninstalled it sometime ago due to an IDE glitch I experienced (I wasn't able to enter space at all in any of the IDE windows). And now that the glitch has gone, so I want to re-enable doc insight express. I should have removed it via Components -> Install Packages, not just unchecked but did remove it from the list. So do you know what's the name of the .BPL file, I need to re-install it back. Thanks.

This was a pretty fun build!

This was a pretty fun build! https://community.embarcadero.com/blogs/entry/learn-how-to-use-angularjs-to-quickly-and-easily-connect-and-consume-json-from-rad-server

I once wore this shirt - Hired Gun Programming, specializing in graphics, printing, drivers, and PDF - C, Pascal, Delphi, C++Builder - all platforms.

Image
I once wore this shirt - Hired Gun Programming, specializing in graphics, printing, drivers, and PDF - C, Pascal, Delphi, C++Builder - all platforms. "Have Code, Will Travel" - No job too small. Contact: https://hecht-haus.net/email/Joe/

"Greetings programs!" (Tron, 1982) and Happy Day, now and ever.

"Greetings programs!" ( Tron, 1982 ) and Happy Day, now and ever. Quote: The Day of the Programmer is an international professional day that is celebrated on the 256th (hexadecimal 100th, or the 28th) day of each year (September 13 during common years and on September 12 in leap years). The number 256 (28) was chosen because it is the number of distinct values that can be represented with an eight-bit byte, a value well-known to programmers.[3] 256 is also the highest power of two that is less than 365, the number of days in a common year. https://en.wikipedia.org/wiki/Day_of_the_Programmer https://en.wikipedia.org/wiki/Day_of_the_Programmer

I have to localize a project that I have made at work and also I'd like to localize two android apps (just for me). I was looking for something that was free and I have found gnugettext for Delphi.

I have to localize a project that I have made at work and also I'd like to localize two android apps (just for me). I was looking for something that was free and I have found gnugettext for Delphi. After some researches I came here ( http://developers-club.com/posts/264693/ ) and I have seen that there is an updated version of the gnugettext.pas! In fact it has the {$ifdef VER320} which is Tokyo. I am going to use this since it seems pretty easy to use and I guess I have found a recent update in that post. Have you experience with this tool? Where did you look for it (a recent version)? I have seen a similar post here about TsiLang, Sisulizer and others but if I want to use them (for work and myself) I have to pay. Note that I am looking for something that allows me to translate buttons, labels, strings and other basic VCL/FMX component. My program is basically a REST client with labels and buttons, so I really need something "easy"

Ever bothered by moving people while taking a picture?

Ever bothered by moving people while taking a picture? Or wondering how to take a clean picture without moving cars in rush hours? With RvBGS, you can erase the moving people or get a clean picture in just one-click. Download : Win32 / Win64 / Android Instructables Tutorial: https://www.instructables.com/id/Take-a-Clean-Picture-Without-Annoying-People/ https://www.instructables.com/id/Take-a-Clean-Picture-Without-Annoying-People/ https://www.instructables.com/id/Take-a-Clean-Picture-Without-Annoying-People/

CrossVcl 0.85 just released. Start building macOS and Linux VCL-apps with Embarcadero Delphi and CrossVcl.

Image
CrossVcl 0.85 just released. Start building macOS and Linux VCL-apps with Embarcadero Delphi and CrossVcl. History: http://www.crossvcl.com/history.html Roadmap: http://www.crossvcl.com/roadmap.html FireDac's login dialog with password editor on macOS:

What is the best way make my Android Service sleep?

What is the best way make my Android Service sleep? while Count < FWaitTime do begin Sleep(1000); Inc(Count); end; Or a unique Sleep(FWaitTime)? Consider that FWaitTime should wait for some minutes (from 1' up to 3') and meanwhile it has a GPS location update active. I've noticed that my app is consuming a lot of CPU, sometimes, and sometimes it gets Idle state.

Has anyone some experience with RemObjects?

Has anyone some experience with RemObjects? In particular does it scale well and can it be used from WEB apps (JavaScript). The guys who want to use it don't want to consider RESTful services and are currently intending on implementing stateful objects
Has anyone some experience with RemObjects? In particular does it scale well and can it be used from WEB apps (JavaScript). The guys who want to use it don't want to consider RESTful services and are currently intending on implementing stateful objects

"Roselt Color Picker" is the best Color Picker on the Windows 10 Store.

"Roselt Color Picker" is the best Color Picker on the Windows 10 Store. https://www.microsoft.com/en-za/store/p/roselt-color-picker/9nq8c70flp0r It's quite nice to have for programmers and graphics designers. It's also free! https://www.microsoft.com/en-za/store/p/roselt-color-picker/9nq8c70flp0r

hello everybody, any tutorial to help me create routes through google maps taking the user to your destination from the current location point?

hello everybody, any tutorial to help me create routes through google maps taking the user to your destination from the current location point? Attention: android app. I want to make the tourist that use my app be taken wherever he wants through google maps tracing routes.
How does GetIt Package Manager handle updates to packages? There are a few packages that I use that are available on both GitHub and GetIt. I haven't used GetIt much, so I'm not sure how/if it handles getting updates to packages. GetIt is convenient, but if its packages aren't up-to-date, I'll continue to use Git and just update things myself.

FMX / TTabControl

FMX / TTabControl I have a rather simple problem (that I can reproduce on Win and Android platforms). I don't know how to always apply a transition when switching from one tab item to another one. User can change tab by either - Using left or right keys. TTabControl.Next or TTabControl.Previous are called in the OnkeyUp handler. Tab is changed with a transition. or - Tapping (or clicking) on the desired tab, in this case no code is used. Tab is automatically changed without any transition. Does anyone know how to get a consistent behavior ?

FireDAC problem with MSSQL

FireDAC problem with MSSQL Folks We have an issue using FireDAC on Microsoft SQL Server 2016, in that we have a case sensitive ( not the insensitive default ) server and database and when we setup our .Params on our FDConnection and then call Connected := True we get an exception: Invalid object name SYS.SYSDATABASES Which, we assume is because our SYS.SYSDATABASES is actually sys.sysdatabases. Surely, there is a way to override this somehow. Has anyone ( Marco Cantù, Team B ) experienced this and know of a good solution or work around? Thanks

Okay... The D-Day is getting seriously close!

Okay... The D-Day is getting seriously close! Just about three weeks until the release date! :) http://sites.fastspring.com/epixeditions/product/delphimm Here's a little, sort of, off-topic, but not really, question for you. 1. Check out the background image used for our private group (for book owners). https://plus.google.com/u/0/communities/117407853275620795387 * THIS IS A CLOSED GROUP FOR THE BOOK OWNERS ONLY! * We will be commenting book content and posting excerpts there so we cannot accept guests! Only book owners will be allowed to join! 2. Can you guess where this was taken? The first one with the correct answer will get the eBook for FREEEE! :)

We are glad to introduce new FM styles special for Windows!

Image
We are glad to introduce new FM styles special for Windows! - "Windows Office" http://www.delphistyles.com/fmx/WindowsOffice.html - "Windows Solitude" http://www.delphistyles.com/fmx/WindowsSolitude.html - "Windows Vulcan" http://www.delphistyles.com/fmx/WindowsVulcan.html - "Windows Dark" http://www.delphistyles.com/fmx/WindowsDark.html

Blogged - Continuous Integration Server Performance -

Blogged - Continuous Integration Server Performance - https://www.finalbuilder.com/resources/blogs/postid/754/continuous-integration-server-performance

Another small cross platform abstraction project (looks like this is becoming a series). This time we look at implementing face detection on iOS and Android.

Another small cross platform abstraction project (looks like this is becoming a series). This time we look at implementing face detection on iOS and Android. https://blog.grijjy.com/2017/09/11/face-detection-on-android-and-ios/

Have any of you used this translation package?

Have any of you used this translation package? https://korzh.com/localizer https://korzh.com/localizer

I am all of the sudden getting a "Debugger Fault Notification, system exception..." error message when I close the application and returns to the IDE (Delphi 2010). The strange thing is that I have stepped through the code right to where the application actually exists without any errors, so this happens only once returning to the IDE. I also tried to checkout a couple of older versions but the same error occurs now even with those versions too.

I am all of the sudden getting a "Debugger Fault Notification, system exception..." error message when I close the application and returns to the IDE (Delphi 2010). The strange thing is that I have stepped through the code right to where the application actually exists without any errors, so this happens only once returning to the IDE. I also tried to checkout a couple of older versions but the same error occurs now even with those versions too. The CPU window stops on: ntdll.RtlEnterCriticalSection: ... 775BB2E3 F00FBA3000 lock btr dword ptr [eax],$00 Any ideas?

Help us out folds, recommend Continua CI to others on Siftery - https://siftery.com/continua-ci?page=2&recommend

Help us out folds, recommend Continua CI to others on Siftery - https://siftery.com/continua-ci?page=2&recommend https://siftery.com/continua-ci?page=2&recommend

Help us out and recommend FinalBuilder to others on Siftery - https://siftery.com/finalbuilder?page=2&recommend

Help us out and recommend FinalBuilder to others on Siftery - https://siftery.com/finalbuilder?page=2&recommend https://siftery.com/finalbuilder?page=2&recommend
Does anyone know who first authored TStrings and TStringList? Every time I use a TStringList, I marvel at its versatility and simple elegance. Just curious.
Someone help me please for google and fb account login integration in delphi seattle android app? Any sample you have and suggestions? Thanks in advance.

Modified the Space Rocks Delphi game to allow you to customize and tweak the settings (like player image, background, movement speeds, etc) at runtime.

Image
Modified the Space Rocks Delphi game to allow you to customize and tweak the settings (like player image, background, movement speeds, etc) at runtime. http://www.fmxexpress.com/deep-space-rocks-runtime-customizable-mobile-arcade-game-for-delphi-10-2-tokyo/

Hello

Hello, A new PDF Reader based on PDFium.DLL and inspired by PdfiumLib :) https://github.com/tothpaul/PDFiumReader https://github.com/tothpaul/PDFiumReader

How would you use the TJSONXXX classes to parse this JSON:

How would you use the TJSONXXX classes to parse this JSON: { "result": [ { "MecYear":"0", "10YrSurrIndexCurr":"0.00", "10yrSurrIndexGuar":"0.00", "20yrSurrIndexCurr":"0.00", "20yrSurrIndexGuar":"0.00", "Message":"None", "Error":"" } ] } It's a response from a datasnap request. I tried using a JSON pair with the "result" begin the name part and the array being the value part (only one element in the array) . Then in the array is another JSON Object. But I'm getting confused..

كود برمجة منظومة المخازن 2

https://www.youtube.com/watch?v=nRkhOH_cDg4&feature=share

How do you usually declare pointer parameters for methods?

How do you usually declare pointer parameters for methods? function InOut(const aIn: TStrings; const aOut: TStrings); should be most efficient but it "feels" wrong to put const in front of a pointer to an object that my function will change (the object, not the pointer). Any conventions, insights?

Registrations are open for the TMS hands-on training day in Meerbusch, NRW, Germany on November 23rd. Sign up now! https://goo.gl/Hb1JCu

Image
Registrations are open for the TMS hands-on training day in Meerbusch, NRW, Germany on November 23rd. Sign up now! https://goo.gl/Hb1JCu

I'm sure this question has been asked before.

I'm sure this question has been asked before. Where can I find the documentation for Delphi's xml documentation in the source code. Specifically how to I refer to an type B in type A's xmldoc summary. **TSliceData = array[0..31] of byte; /// /// TByteSet is an alternative representation for TSliceData. /// TByteSet = set of byte;** I tried googling and SO, but no definitive list of all available options showed up.

What do you think about that feature request ?

What do you think about that feature request ? {code} type TMyObject = class(TFrame) private FError: Integer; procedure SetError(Value: Integer); property Error: Integer write SetError; // private setter public property Error: Integer read FError; // public getter end; {code} I like to use "Error := callFunction" instead of "SetError(Callfunction)" so the setter is required. it can be done with a "custom" ancestor, but it's not easy with a TFrame ancestor.

Hello

Hello, I want to get the Cookie in DataSnap REST Server, like TWebRequest.CookieFields. But, I can not found it on TDSInvocationMetadata in TServerMethods. Would you tell me how to get the Cookie?
Any api or component to have geolocation feature to detect users nearby?

DAC for MySQL 3.2.0-alpha is out!

DAC for MySQL 3.2.0-alpha is out! http://microolap.com/products/connectivity/mysqldac/news/detail.php?ID=1810 http://microolap.com/products/connectivity/mysqldac/news/detail.php?ID=1810

Hello guys, I know this thing is not directly related to the group's goal but I hope that with this post I will help many people. About 8% of Аll men and about 0.5% of all women are suffering from color blindness (colour vision deficiency). This means chances that your neighbour or one of your family is colorblind are very high.

Hello guys, I know this thing is not directly related to the group's goal but I hope that with this post I will help many people. About 8% of Аll men and about 0.5% of all women are suffering from color blindness (colour vision deficiency). This means chances that your neighbour or one of your family is colorblind are very high. If you are a colorblind you can visit our site and try our google chrome extension : http://colorblind.tech/ Direct link to the extension : https://chrome.google.com/webstore/detail/colorblind-dalton/afcafnelafcgjinkaeohkalmfececool?hl=en https://chrome.google.com/webstore/detail/colorblind-dalton/afcafnelafcgjinkaeohkalmfececool?hl=en

Just wondering to understand how it works. My boss told me to team with other 2 programmers (from another company) to create a project. Basically it's an sql database on a server (linux, apache) that has to be filled using an android tablet. Of course I've proposed to implement a little REST service using some php pages and json (and the rest client of delphi).

Just wondering to understand how it works. My boss told me to team with other 2 programmers (from another company) to create a project. Basically it's an sql database on a server (linux, apache) that has to be filled using an android tablet. Of course I've proposed to implement a little REST service using some php pages and json (and the rest client of delphi). The asked me: what is json? what is REST? how do you use php and apache redirect to store the data? They wanted instead to create csv files, download/parse them, create connections, ports, upload ftp and other incredible stuff (??). Maybe I am too young (24 yr) but they have almost 20 years of experience! How can they not know about this stuff? This was just an example. I've met people that didn't even know about PHP or INI files. Of course I have to adapt when I work with others but does this happen to you too? I mean, maybe they are too lazy to learn new things, but their solutions aren't scalable, efficien

Hello

Image
Hello, Someone report me that my Drag&Drop unit for Mobile display a bigger bitmap than the dragged component... http://lookinside.free.fr/delphi.php?FMXBasedDragDrop It's true, at least under Berlin and Tokyo on a SONY Z2 Tablet, because MakeScreenShoot returns a 1.5 scaled bitmap...but why ? EDIT: in fact the bitmap in BeginAutoDrag is a scaled copy of the scaled one, so It's BitmapScale property is 1 !
Is it possible to set the color of the (phone) statusbar in Android? Tokyo provides a property on the form for the iOS statusbar. I can't seem to find a working solution for Android.

Fellow Delphi developers

Image
Fellow Delphi developers, This is with great pleasure that we announce the immediate availability of HelpNDoc 5.3, an easy to use yet powerful help authoring tool producing CHM help files, responsive HTML and mobile Web Sites, DocX and PDF manuals, ePub and Kindle eBooks as well as Qt Help files from a single source. HelpNDoc is Free for personal use and evaluation purposes and is available at: https://www.helpndoc.com HelpNDoc 5.3 provides many new features and enhancements including a greatly enhanced user interface which can seamlessly scale on high DPI screens, new scripts to sort topics by caption, a better responsive HTML documentation generator and much more... You can learn more about this update at: https://www.helpndoc.com/news/2017-09-07-high-dpi-scaling-topic-sorting-scripts-and-enhanced-html-documentation-helpndoc-53 Download HelpNDoc now and use it for free for personal and evaluation purposes: https://www.helpndoc.com/download Follow our step-by-step video guides to lear

My new blog post on how to build a (real) Linux daemon with #Delphi - Part 2

My new blog post on how to build a (real) Linux daemon with #Delphi - Part 2 http://blog.paolorossi.net/2017/09/04/building-a-real-linux-daemon-with-delphi-part-2/ And here is the source code: https://github.com/paolo-rossi/linux-daemon http://blog.paolorossi.net/2017/09/04/building-a-real-linux-daemon-with-delphi-part-2/

We added a new page, which shows third-party controls with our VCL Styles.

Image
We added a new page, which shows third-party controls with our VCL Styles. Also this page will be useful to see what components generally support styles! http://www.delphistyles.com/vcl/tlist.html Also we are working with FM third-party page: http://www.delphistyles.com/fmx/tlist.html

HTML Library 3.63 released.

HTML Library 3.63 released. What's new: 1. FMXLinux support for HCL, Editor and Reports http://fmxlinux.com/tlist.html 2. DirectX canvas (VCL). 3. Native iOS canvas 4. Export to PDF on iOS 5. New VCL controls - THtSpeedButton,THtPopupMenu, THtComboListBox. 6. Print preview frame for Delphi 6 - 2010. 7. Print preview frame for FMX. Other improvements https://delphihtmlcomponents.com/new363.html Fixed issues https://delphihtmlcomponents.com/fixed363.html https://delphihtmlcomponents.com https://delphihtmlcomponents.com

I'm starting the process of publishing a firemokey app in Play Store.

I'm starting the process of publishing a firemokey app in Play Store. And there they are asking me if I want to use Google Play App Signing. I don't know if I want to use that, and if I do, how could I install the certificate in my app package. What do you think?
Currently dabbling with VS 2017.3 and Linux - on the Raspberry. Maaan, my C++ is rusty! I miss Delphi in more ways than one. Tokyo is way smarter about third party libs in Linux than VS.
Time to renew the Enterprise subscription again. I wonder if Sencha will become part of Enterprise, or will it be extra?

Hello, just few news from KSDev.

Hello, just few news from KSDev. FmxLinux 1.11 just released: http://www.fmxlinux.com/history.html CrossVcl 0.84 just released: https://www.crossvcl.com/history.html All KSDev's product information at http://www.ksdev.com

This issue caused coworkers and me quite a few hours wasted:

This issue caused coworkers and me quite a few hours wasted: Long story short - refactor some forms/frames to class names longer than 64 chars and boom: https://quality.embarcadero.com/browse/RSP-18399

Has someone tried this new update?

Has someone tried this new update? http://cc.embarcadero.com/item/30798 http://cc.embarcadero.com/item/30798

Another one open-source component for FireMonkey and FmxLinux.

Another one open-source component for FireMonkey and FmxLinux. TScene High performance isolated buffered container for FireMonkey. https://github.com/eugenekryukov/TScene
Any basic sample connecting to firebase database? What components to use? Its my first time to try firebase. Mostly i use mysql as backend for android mobile development.

Decent size Kickstarter for ImageEn for FMX.

Decent size Kickstarter for ImageEn for FMX. https://www.kickstarter.com/projects/imageen/imageen-imaging-library-for-firemonkey

Since the FileExists function uses FindFirstFile, do you think it's safe to use it to find a file with a wildcard? I want to create a log file with the date in the file name. If the file isn't there, it will create it, and if it is , it'll use it.

Since the FileExists function uses FindFirstFile, do you think it's safe to use it to find a file with a wildcard? I want to create a log file with the date in the file name. If the file isn't there, it will create it, and if it is , it'll use it. For ex. LogFile20170904.log I want the file to have the date so that we can archive them periodically and not have to rename them each time. The FindFirstFile takes a wildcard.

Issue 64 of the Blaise Pascal Magazine carries a detailed article on XtremeDocumentStudio Delphi...

Image
Issue 64 of the Blaise Pascal Magazine carries a detailed article on XtremeDocumentStudio Delphi... Some more bed-time reading :-) Originally shared by Gnostice.com This month's Blaise Pascal Magazine includes an article on XtremeDocumentStudio Delphi covering details on the usage and the design of many of the features of the Document Viewer. Please take a look at: http://www.blaisepascal.eu

Manifestations of https://quality.embarcadero.com/browse/RSP-13007

Manifestations of https://quality.embarcadero.com/browse/RSP-13007 Originally shared by Jeroen Wiert Pluimers Delphi errors E2035 and E2250 when using overloaded methods on interfaces, but fine with same overloaded methods on classes. Works fine in C#. Workaround thanks to Stefan Glienke. Blog post will follow. https://gist.github.com/jpluimers/6a3b9eadf96aa6db7958d11a7091b925 https://gist.github.com/jpluimers/6a3b9eadf96aa6db7958d11a7091b925

Manifestations of https://quality.embarcadero.com/browse/RSP-13007

Manifestations of https://quality.embarcadero.com/browse/RSP-13007 Originally shared by Jeroen Wiert Pluimers Delphi errors E2035 and E2250 when using overloaded methods on interfaces, but fine with same overloaded methods on classes. Works fine in C#. Workaround thanks to Stefan Glienke. Blog post will follow. https://gist.github.com/jpluimers/6a3b9eadf96aa6db7958d11a7091b925 https://gist.github.com/jpluimers/6a3b9eadf96aa6db7958d11a7091b925

Why does the first snippet generate an access violation and second not?

Why does the first snippet generate an access violation and second not? ** class operator TSlice.BitwiseAnd(const A: TSlice; const B: TSliceData): TSlice; asm //RCX = result //RDX = @A //R8 = @B movdqu xmm0,[rdx] movdqu xmm1,[rdx+16] pand xmm0,[r8] pand xmm1,[r8+16] movdqu [rcx],xmm0 movdqu [rcx+16],xmm1 end; class operator TSlice.BitwiseOr(const A, B: TSlice): TSlice; asm //RCX = result //RDX = @A //R8 = @B movdqu xmm0,[rdx] movdqu xmm1,[rdx+16] movdqu xmm2,[r8] movdqu xmm3,[r8+16] por xmm0,xmm2 por xmm1,xmm3 movdqu [rcx],xmm0 movdqu [rcx+16],xmm1 end; ** Answer:... Alignment, a por/pand etc memory access must be aligned. Very annoying.

New #blog post: #Delphi Event bus and #MVVM #DEB #designpattern #tips #tutorial #objectpascal https://buff.ly/2vzUF6l

New #blog post: #Delphi Event bus and #MVVM #DEB #designpattern #tips #tutorial #objectpascal https://buff.ly/2vzUF6l

New #blog #post: #Delphi #Entities Validators https://buff.ly/2vFQmeI #github #opensource #objectpascal #framework

New #blog #post: #Delphi #Entities Validators https://buff.ly/2vFQmeI #github #opensource #objectpascal #framework
Does anyone have a working example of accessing array elements from a TFDQuery TDataSetField when working with Postgresql. I have tried as many options as I can based on the very sparse documentation and Stackoverflow questions to no avail. I am using 10.1 Berlin.

And old video, dated from 2010, showing how Delphi syntax can be leveraged into the PHP engine, so you could use your Delphi skills in the web. Was just a proof of concept, I found it today browsing my Youtube channel and I thought it could be interesting, or at least, funny.

And old video, dated from 2010, showing how Delphi syntax can be leveraged into the PHP engine, so you could use your Delphi skills in the web. Was just a proof of concept, I found it today browsing my Youtube channel and I thought it could be interesting, or at least, funny. Regards. P.D. Yes, I have learnt to pronounce properly the word "engine" :-) https://www.youtube.com/watch?v=KjnqqeJhBEo

Originally shared by Boian Mitov

Originally shared by Boian Mitov My third Video Processing with Delphi article has just been published in the "Blaise Pascal Magazine" :-) #Delphi #OpenWire

Unable to debug with Android 8

Unable to debug with Android 8 https://quality.embarcadero.com/browse/RSP-18992

https://community.embarcadero.com/all-events/viewevent/1490-unigui-web-app-development

https://community.embarcadero.com/all-events/viewevent/1490-unigui-web-app-development https://community.embarcadero.com/all-events/viewevent/1490-unigui-web-app-development

Introducing 'core' OmniThreadLibrary branch.

Introducing 'core' OmniThreadLibrary branch. Originally shared by Primož Gabrijelčič
Can VCL bitmaps work with YCbCr colour space instead of RGB?

TMS FNC Ribbon : modern ribbon UI on every operating system and for every Pascal framework.

TMS FNC Ribbon : modern ribbon UI on every operating system and for every Pascal framework. https://www.tmssoftware.com/site/blog.asp?post=422 https://www.tmssoftware.com/site/blog.asp?post=422

Aggregates - Delphi XE - CDS

Aggregates - Delphi XE - CDS What I am trying to do is to find out the total for each item that is fully owed for every prescription. I can't do this on the main datasets because you have to be really careful as the display is easy to disrupt, so I have a new dataset. Dataset: object cdsPrescriptionItemSummary: TClientDataSet Aggregates = <> FieldDefs = <> IndexDefs = < item Name = 'IDX_PRESCRIPTION_ID' Fields = 'prescription_id' GroupingLevel = 1 end item Name = 'IDX_PRESCRIPTION_ITEM_ID' Fields = 'prescription_item_id' GroupingLevel = 2 end> Params = <> StoreDefs = True OnCalcFields = cdsPrescriptionItemSummaryCalcFields Left = 224 Top = 240 object cdsPrescriptionItemSummaryprescription_id: TIntegerField FieldName = 'prescription_id' end object cdsPrescriptionItemSummaryprescription_item_id: TIntegerField FieldName = 'prescription_i

I noticed on the What's New page of Tokyo ( http://docwiki.embarcadero.com/RADStudio/Tokyo/en/What's_New ):

I noticed on the What's New page of Tokyo ( http://docwiki.embarcadero.com/RADStudio/Tokyo/en/What's_New ): Cloud Improved Azure and AWS support with updated APIs. That appears a bit vague; does anyone actually know what has improved? For example do you now have DynamoDB instead of the deprecated SimpleDB?

We are glad to introduce new styles special for macOS!

Image
We are glad to introduce new styles special for macOS! - "macOS Dark" (dark variant of default UI) http://www.delphistyles.com/fmx/MacOSDark.html - "macOS Office" (office variant of default UI) http://www.delphistyles.com/fmx/MacOSOffice.html - "macOS Dark Clear" (semitransparent dark variant of default UI) http://www.delphistyles.com/fmx/MacOSDarkClear.html - "macOS Solitude" (light variant of default UI) http://www.delphistyles.com/fmx/MacOSSolitude.html - "macOS Vulcan" (another dark variant of default UI) http://www.delphistyles.com/fmx/MacOSVulcan.html With each our style you get special patch installer for RAD Studio to fix problems of adding style for window title in macOS application.