Posts

Any takers?

Any takers? The Windows API function CopyFileEx allows a callback function to be specified which is then being called when a part of the file has been copied to e.g. provide the user with feedback about the progress. This works fine in my program, but I have now an additional requirement: I need to temporarily pause the copying process in order to keep system load low for a time (may be up to several hours) and then resume it. This may happen at any time and usually there is a large file (several 100 Gigabytes) that is only partly copied yet, so aborting the process and restarting it is not a good option, as that would mean that possibly 99% of a file that have already been copied, would need to be copied again. One option to do that is simply let the thread that executes the copy sleep when the callback is called, e.g. function ProgressCallback( _TotalFileSize, _TotalBytesTransferred, _StreamSize, _StreamBytesTransferred: LARGE_INTEGER; _StreamNumber, _CallbackReason: LongWord; ...

sheems devexpress works. Good news..

sheems devexpress works. Good news.. https://www.devexpress.com/Support/Center/Question/Details/T615404/support-for-delphi-tokyo-10-2-3 https://www.devexpress.com/Support/Center/Question/Details/T615404/support-for-delphi-tokyo-10-2-3

Hi all, after upgrading to Tokyo 10.2.3, I am no longer able to install html components suite. I get always the errors you can see in attached image.

Image
Hi all, after upgrading to Tokyo 10.2.3, I am no longer able to install html components suite. I get always the errors you can see in attached image. The packages compile fine but the IDE is not able to load them. It seems something missing on System.Net.Mime.... I've installed Tokyo via ISO file (I just installed it over 10.2.2). Any idea?

Originally shared by Jeroen Wiert Pluimers

Originally shared by Jeroen Wiert Pluimers A very interesting discussion on what the mixing of interfaces and classes can get you into: [WayBack] I’ve got an interface with generics which accepts classes:IMyGeneric = interface…..end;What I want to do is to allow this interface to… – John Kouraklis… http://wiert.me/2018/03/15/delphi-do-not-mix-interfaces-and-classes-part-x/

I installed 10.2.3 and can't find Beyond Compare in GetIT.

I installed 10.2.3 and can't find Beyond Compare in GetIT. The IDE complains at startup that could not find Wizard ...\BeyondCompare-10.2.1\Scooter.BeyondCompare.Expert.dll

SysUtils.pas

SysUtils.pas Why parameters of these anonymous not const? TProc = reference to procedure (Arg1: T1; Arg2: T2); TProc = reference to procedure (Arg1: T1; Arg2: T2; Arg3: T3); TFunc = reference to function (Arg1: T): TResult; TFunc = reference to function (Arg1: T1; Arg2: T2): TResult;

Can anybody confirm this 10.

Can anybody confirm this 10.2.3 TMemo behaviour on his Android devices? I tested with Samsung S7 - not really a rare device even though explosive - and it prevents distibuting any application using TMemo. https://www.youtube.com/watch?v=fYmkKx5Bmds

Can anybody confirm this 10.2.3 TMemo behaviour on his Android devices? I tested with Samsung S7 - not really a rare device even though explosive - and it prevents distibuting any application using TMemo.

Can anybody confirm this 10.2.3 TMemo behaviour on his Android devices? I tested with Samsung S7 - not really a rare device even though explosive - and it prevents distibuting any application using TMemo. https://www.youtube.com/watch?v=fYmkKx5Bmds

Bit of a long shot I know, but I wonder if anybody knows whether it is possible to access the historical content of the graphic32 newsgroups? It seems that graphics32 has moved to GitHub and redirected graphics32.org to the GitHub page. The news groups were under graphics32.org and all links to content at the newsgroups simply redirects to the GitHub project page.

Bit of a long shot I know, but I wonder if anybody knows whether it is possible to access the historical content of the graphic32 newsgroups? It seems that graphics32 has moved to GitHub and redirected graphics32.org to the GitHub page. The news groups were under graphics32.org and all links to content at the newsgroups simply redirects to the GitHub project page. http://graphics32.org

So 10.

So 10.2.3 came out, with mobile for Professional. However the Platform Assistant still shows only Windows+Mac after updating. Am i missing something? Do i need to wait until licenses are unlocked? When updating through the WebInstaller i selected "Use existing License".
So 10.2.3 came out, with mobile for Professional. However the Platform Assistant still shows only Windows+Mac after updating. Am i missing something? Do i need to wait until licenses are unlocked? When updating through the WebInstaller i selected "Use existing License".

The Stack Overflow 2018 Developer Survey results came out today with the raw data to follow in a few weeks. Here's what I could gather related to Delphi from the analysis:

The Stack Overflow 2018 Developer Survey results came out today with the raw data to follow in a few weeks. Here's what I could gather related to Delphi from the analysis: Delphi made two prominent appearances. The first, unfortunately, was on the list of "most dreaded" software. :-( Basically, 65% of those who said they used Delphi did not list it in the list of software they wanted to be using in the future. It didn't show up on the list of most wanted software either (people who weren't using a technology now but hoped to using it in the future) even though that list went down to results with only 2.6% of responses. When the majority of your customers wish they weren't and essentially no one who isn't a customer wants to be one, you're really in trouble. :-( https://insights.stackoverflow.com/survey/2018/#most-loved-dreaded-and-wanted Delphi had some good news in a surprising place: It showed up prominently in median salaries - U.S. only. I think ...

Smart Mobile Studio 3.0 is set to be a game changer. With a completely rewamped RTL, rock solid component architecture, support for the latest node.js and phonegap targets, unified storage device drivers and much, much more - you can now do "full stack" development using Smart Pascal exclusively. This means implementing a fast and clustered server back-end, coupled with HTML5, desktop and mobile executable targets via phonegap.

Image
Smart Mobile Studio 3.0 is set to be a game changer. With a completely rewamped RTL, rock solid component architecture, support for the latest node.js and phonegap targets, unified storage device drivers and much, much more - you can now do "full stack" development using Smart Pascal exclusively. This means implementing a fast and clustered server back-end, coupled with HTML5, desktop and mobile executable targets via phonegap. The changes and improvements are too many to list, but visit out website and take the beta for a test run and see why Smart is causing waves! http://www.smartmobilestudio.com #SmartMobileStudio #HTML5 #JavaScript #ObjectPascal #Delphi
New releases, and, as usual registration limiti reached. Enterprise user, wth active subscription, and every time i must install a new VM i have to suffer that situation. EMB is stupid for f*ck honest customers, paying license (from delphi 1 to date). And please dont propose to update actual installe dversion 10.2.2 because i already try and hangs on trying to unistall getit packet manager. Installation SUCKS and EMB policies with CUSTOMERS SUCKS. Pirates have a better time, just downloading and using it. A real shame EMB. Most restrictive and stup license and install stuff in the world. Dont even work support page. What mus i do? Why i must WAIT your f*ucking page works to use my licensed products? Idiots!

When auto-translate is a bit off:

Image
When auto-translate is a bit off:

Need Help

Need Help I have write following code to stop duplicate forms to be open but i am getting error as shown below any one can tell me why ? procedure NewForm(InstanceClass:TComponentClass; var Referance); Procedure TMainFrm.NewForm(InstanceClass: TComponentClass; var Referance); var i: Integer; begin for i := 0 to MDIChildCount-1 do if MDIChildren[i] is InstanceClass then begin MDIChildren[i].Show; MDIChildren[i].WindowState := wsMaximized; Exit; end; Application.CreateForm(InstanceClass, Referance); end; Error Message [dcc32 Error] MainFrm_Unit.pas(133): E2014 Statement expected, but expression of type 'TAction' found

Does EMBA consider its customers stupid? I feel really ripped off by EMBA. Now bugs built in by Delphi semi-programmers are being sold as new features to the customer. Example?

Does EMBA consider its customers stupid? I feel really ripped off by EMBA. Now bugs built in by Delphi semi-programmers are being sold as new features to the customer. Example? RTL enhancements The runtime library has numerous improvements, including: Changes to System.Pass to better support third party memory managers. http://docwiki.embarcadero.com/RADStudio/Tokyo/en/10.2_Tokyo_-_Release_3#RTL_Enhancements Bug report: https://quality.embarcadero.com/browse/RSP-19777 https://quality.embarcadero.com/browse/RSP-19777

10.2.3 Coming? Maybe :D

10.2.3 Coming? Maybe :D https://www.youtube.com/watch?v=4n5AZdRx788&feature=push-u-sub&attr_tag=X63H0T3N7ZO5qS4Y-6 https://www.youtube.com/watch?v=4n5AZdRx788&feature=push-u-sub&attr_tag=X63H0T3N7ZO5qS4Y-6

Some of you may have seen my call for help with an OpenGL error.

Some of you may have seen my call for help with an OpenGL error. Well I tracked the bug down to a change in the SetWindowState procedure in vcl.forms. Nothing to do with OpenGL or threading. Here's the bug: The if Showing then ... end is new, specifically the RecreateWnd which is not in 10.1. I have wasted many days over this. Very poor. Is there any regression testing going on at EMBA? if FWindowState Value then begin FWindowState := Value; if not (csDesigning in ComponentState) then begin if Showing then ShowWindow(Handle, ShowCommands[Value]) else if HandleAllocated and (FWindowState = wsMaximized) then RecreateWnd; end; end;

Some of you may have seen my call for help with an OpenGL error. Well I tracked the bug down to a change in the SetWindowState procedure in vcl.forms. Nothing to do with OpenGL or threading.

Some of you may have seen my call for help with an OpenGL error. Well I tracked the bug down to a change in the SetWindowState procedure in vcl.forms. Nothing to do with OpenGL or threading. Here's the bug: The if Showing then ... end is new, specifically the RecreateWnd which is not in 10.1. I have wasted many days over this. Very poor. Is there any regression testing going on at EMBA? if FWindowState Value then begin FWindowState := Value; if not (csDesigning in ComponentState) then begin if Showing then ShowWindow(Handle, ShowCommands[Value]) else if HandleAllocated and (FWindowState = wsMaximized) then RecreateWnd; end; end;
Anybody have dataaware controls for SQLLite for Delphi 5-6? Probably not but I thought I would ask.

Die Firma www.lorenz-software.at sucht einen Delphi Programmierer der auf stundenbasis ein Buchhaltungsprogramm wartet. Das Programm ist soweit fertig, jedoch müssten hin und wieder neue Features eingebaut werden.

Die Firma www.lorenz-software.at sucht einen Delphi Programmierer der auf stundenbasis ein Buchhaltungsprogramm wartet. Das Programm ist soweit fertig, jedoch müssten hin und wieder neue Features eingebaut werden. Voraussetzung "Deutsch" in Wort und Schrift. Ideal wäre jemand in der Nähe von Graz. Verwendete Delphi Version: XE + DevExpress + FastReport Bei interesse einfach eine eMail an: admin (at) lorenz-software (.) at http://www.lorenz-software.at

We just committed a deep refactoring of the SynSQlite3Static.pas unit - and all units using static linking for FPC.

We just committed a deep refactoring of the SynSQlite3Static.pas unit - and all units using static linking for FPC. It also includes a new encryption format for SQlite3, using AES, so much more secure than the previous one. It is a breaking change - for the best, we hope ! - so worth a notification here in G+ http://blog.synopse.info/post/2018/03/12/New-AES-based-SQLite3-encryption

New cool stuff with TMS WEB Core : port an existing Delphi VCL game to the web

Image
New cool stuff with TMS WEB Core : port an existing Delphi VCL game to the web Have fun playing the Tetris game without needing to install it on your machine. https://www.tmssoftware.com/site/blog.asp?post=446

Live Templates. Hi, I've noticed often that there are sometimes shortcuts to get some code populated (ex. tryf becomes a fully fledged try finally code snippet). Where can I find a complete list of these shortcuts and can I add my own?

Live Templates. Hi, I've noticed often that there are sometimes shortcuts to get some code populated (ex. tryf becomes a fully fledged try finally code snippet). Where can I find a complete list of these shortcuts and can I add my own?

Fellow Delphi Developers!

Image
Fellow Delphi Developers! We are glad to introduce new VCL Style "Dark Outlet Media" with 2 variants of trackbar: https://www.delphistyles.com/vcl/DarkOutletMedia.html Also we added the second variant for VCL Style "Zircon" (with new selection color and other elements): https://www.delphistyles.com/vcl/Zircon.html
Has anyone any examples of how to use System.Sensors.tGPSSatellite please?

Special Offer from KSDev till end of March - 20% off to all products except individual styles. Just use coupon code - "MARCH-2018" in the ordering.

Image
Special Offer from KSDev till end of March - 20% off to all products except individual styles. Just use coupon code - "MARCH-2018" in the ordering. More Info: https://www.ksdev.com CrossVcl: https://www.crossvcl.com FmxLinux: https://www.fmxlinux.com DelphiStyles: https://www.delphistyles.com TurboCocoa: https://www.turbococoa.com

Optimizing ARC - weakness of [weak]

http://dalijap.blogspot.com/2018/03/optimizing-arc-weakness-of-weak.html

Positioning a Task Dialogue

Positioning a Task Dialogue http://www.davidghoyle.co.uk/WordPress/?p=1921 http://www.davidghoyle.co.uk/WordPress/?p=1921