Posts

Showing posts from November, 2015

Hi there.

Hi there. I need simple example, how only to SEND email from my app, perhaps, also with Attachment. Delphi Xe 7. Thnx

Hello guys

Hello guys, Is there any name convention to naming class var variables? Or should I follow the normal convention of starting class fields with "F"? Thanks :D

Any one has a idea why rename isn't always available in the project manager

Image
Any one has a idea why rename isn't always available in the project manager Did try , synchronize with editor, save , save-all , commit to repo , unit opened , unit closed etc.. Sometimes I have to close the project and re-open it, sometimes I have to restart the entire IDE. #10Seattle

Hey, guys!

Hey, guys! I was looking for firedac reflection api example and so I've found a trouble: how to control updates comming from client way? How to generate a non autoinc field value and set it to insert record update? I'm receiving from client a TFDMemTable delta's and applying updates with a single TFDQuery in server side. Anyone has a suggest?

Dear Developers

Dear Developers, I'm pleased to announce the new main version of X-DBGrid Component 6.2 and X-Files Components 6.2!   What's new in version 6.2 ?   =======================   - TXDBGrid component was extended by integrated universal search panel!!!   - New TXDBGridSearchPanel class to manage of searching text by the user   - New methods in TXDBGrid: ShowSearchPanel, CloseSearchPanel, UpdateSearchPanel   - New properties in TXDBGrid: SearchPanelVisible, SearchPanelHeight   - New shortcuts in TXDBGrid: Ctrl+F, F3, Shift+F3, Ctrl+F3, Alt+F3   - New TXDBGridSearch class and new Search property in TXDBGrid component   - New properties in TXDBGridSearch class: Active, Color, Options, Text, Visible   - New methods in TXDBGridSearch class: DefaultColor, SwitchOptions   - New options: soCaseSensitive, soWholeWords, soWrapAround, soSkipMessage   - New search methods: SearchCell(Mode, Text, Options), SearchGrid(Mode)   - New search modes: smFirst, smNext, smPrev, smLast   - New kind of TXL

Dear Developers

Dear Developers, I'm pleased to announce the new version of X-DBData Components 1.6!    What's new in X-DBData Components 1.6 ?    ===================================   - New TXDBFieldList class replaces (too slow) TFieldList class (RAD >= 2009)   - New TXDBDataSet.InternalDataProvider property of type Boolean   - Bug fixed: TXDBData.AddAllFields did not use DefaultWidth property   - Bug fixed: TXDBData.ClearIndexFields after Destroy caused an error   - Bug fixed: TXDBData.FieldListChanged does not included child fields   - Bug fixed: Exception "Icon image is not valid" for empty TIcon graphic   - New X-DBData Demo 10 - Run-time using examples   - New X-DBData Demo 11 - LocalSQL using examples (RAD >= XE5)    What's new in X-DBData Components 1.5 ?    ===================================   - New packages for Delphi/C++Builder 10 Seattle Win32/Win64!!!   - Support for sorting in TXDBCustomData class and each descendant!!!   - New published property in TXDBData

Does anyone has a sample how to register a Spy for Dsharps IWindowManager . So my tests can spy on it.

Does anyone has a sample how to register a Spy for Dsharps IWindowManager . So my tests can spy on it.

Has anyone used a graph database with Delphi? (A graph database is a type of DB that represents nodes and connections, rather than a normal relational database.) I'm looking at Neo4J, which has language bindings for many languages but not Delphi. If there is another graph database out there that does have Delphi support - and Google isn't showing anything - what is it?

Has anyone used a graph database with Delphi? (A graph database is a type of DB that represents nodes and connections, rather than a normal relational database.) I'm looking at Neo4J, which has language bindings for many languages but not Delphi. If there is another graph database out there that does have Delphi support - and Google isn't showing anything - what is it? If not, where would you begin in order to write a Delphi driver - somewhere in FireDAC? I'm not overly familiar with Delphi's database support in the first place, and writing a database driver is diving into the deep end, I think. http://neo4j.com/developer/language-guides/ http://neo4j.com/developer/language-guides

Has anyone encountered such issue with Android ?

Has anyone encountered such issue with Android ? DBNavigator glyphs aren't paint an Android 4.03. Any clue ? https://quality.embarcadero.com/browse/RSP-10594 https://quality.embarcadero.com/browse/RSP-10594

Hi developers! We've just released a new #10Seattle tool called Remode.

Image
Hi developers! We've just released a new #10Seattle tool called Remode. We would like to have feedbacks from very skilled people like you :-) Remode allows you to have a full remote control of your PC and/or Mac. When Remode Manager is up and running on your PC or Mac, you can use a simple browser or our Android App (Ios work in progress) to give commands. Android App can work in both Bluetooth and HTTP modes. Your opinion and suggestions will be highly appreciated. Top features: - Simple QR code based setup - PowerPoint & KeyNote full control - Media player full control - Create a manage playlists - File share workspaces directly from your PC or Mac accessible via web - Remote Keyboard & Mouse (only Android) - Barcode and QR code wireless reader (only Android) - Speech-to-text (only Android) - File share workspaces Remode Manager for Windows: http://synalogin.synaptica.info/DownloadApp?appId=8&uuid=80d2959b-35be-4515-9366-1fcd2d7e973f Remode Manager for MAC: http://syn

Delphi and Pascal aren't in the list.

Delphi and Pascal aren't in the list. http://codesparta.com/2015/11/30/infographic-most-popular-programming-language-2015/

I'm a bit confused about iOS 64bits

I'm a bit confused about iOS 64bits it seems that iOS 64bits application should run on 32bits as well as 64bits phones, because the application provide both binaries...and 64bits version is now mandatory for Apple Store https://developer.apple.com/news/?id=04082015a so why is there two target for iOS ? And why can't I run the 64bits version on a 32bits iPhone 4 ?! And why does the iOS options crash the French IDE !!! https://quality.embarcadero.com/browse/RSP-12975 https://developer.apple.com/news/?id=04082015a

Delphinus issue.

Delphinus issue. I have Delphinus installed and have the OpenSSL files on my environment path, but when I click refresh nothing is displayed on the available tab. It was fine a month or two back. Any ideas?

What the hell is this? I was working on #D10Seattle and I got this popup message. Is it possibile to focus on bug fixing please?

Image
What the hell is this? I was working on #D10Seattle  and I got this popup message. Is it possibile to focus on bug fixing please?

Hello, Question about Splash Screens on Android.

Image
Hello, Question about Splash Screens on Android. On a Galaxy S5 (1080 x 1920) the splashscreen is the 470x320 picture (why ?)...but the image is truncated, how is it possible ? I've tried to use 9patch image, the top and bottom is no more black, but the image still truncated The picture is the screenshot of the phone with the original picture over (the 470x320 text was on the phone, that's how I know wich picture is used) Apparently the image is displayed at 300% of the original.

Ann: NexusDB Cyber Monday 25% sale

Ann: NexusDB Cyber Monday 25% sale ============================== We are happy to announce that all new licenses of our products are now 25% off during cyber monday only. NexusDB: If you need a one solution fits all Delphi database, look no further! Nexus Quality Suite: performance profilers and QA tools help your applications be the very best they can be. www.nexusdb.com To receive the rebate, please use the following coupon code in our web shop: CYBERMONDAY25 http://www.nexusdb.com/support/index.php?q=pricing -- The NexusDB Team http://www.nexusdb.com

Originally shared by Boian Mitov

Originally shared by Boian Mitov #Delphi #10Seattle

For all of you having troubles with manifest files, here's a link to MSDN. Hope you find a solution and some peace of mind.

For all of you having troubles with manifest files, here's a link to MSDN. Hope you find a solution and some peace of mind. https://msdn.microsoft.com/en-us/library/aa374191%28v=vs.85%29.aspx

The EurekaLog Team is proud to announce our annual Cyber Monday Sales Extravaganza!

The EurekaLog Team is proud to announce our annual Cyber Monday Sales Extravaganza! Take a 70% discount off our normal prices for 24 hours only! Purchase any version of EurekaLog between November 30th and December 1st (East Coast USA time) and enter the CYBER2015 coupon code at checkout.   This offer is limited to the first 100 customers, so act quickly!  Both existing and new customers are eligible.  Tell your programmer friends and co-workers! If you are not an existing customer, then buy your discounted new license at:   https://www.eurekalog.com/buy.php Upgrades for existing customers can be purchased at: https://www.eurekalog.com/login.php Enter your registered email address and the password that we sent you at purchase time.  This is a great opportunity to upgrade to Enterprise (includes source code) at a very low cost! http://www.eurekalog.com/buy.php

Title

I do not get it Delphi 7 window 7 and ini file. If i exe my program outside Program Files (x86) the program reads the ini OK. If i exe my program with Delphi 7 IDE (the file is at Program Files (x86) ) ini is OK If i exe my program as usual (the file is at Program Files (x86) ) ini is not OK as it is EMPTY. I thought administrator rights so i added manifest for that and checked that the program has administrator right with procedure isAdmin; it is ok program has admin rights. Now what buffed me is that if i run the program with "Run as administrator" (the file is at Program Files (x86) the ini file is loaded OK. I tried with TMemIniFile also. Ini is where the exe is

Hello guys

Hello guys, Is the ERTTI a good fit for marshalling/unmarshalling serialized types from JSON or XML? Using attributes to control serialization properties, this causes applications to become too fat or ERTTI is a bit slow for that? I have no experience in this way :( Thanks :D

Hello all

Hello all, Here is my Delphi Implementation of a BigNumber Library based on ClojureCLR. Integer and Floating Points Computations are supported. Been working on it for sometime and just decided to make it public. Mobile and Desktop Compilers are supported. This library requires at least XE3 to compile. https://github.com/Xor-el/DelphiBigNumberXLib

Survey: What type of Delphi shop are you in terms of employees? If you are and edge case please choose the lower choice.

Survey: What type of Delphi shop are you in terms of employees? If you are and edge case please choose the lower choice.

Is it somehow possible to assign an static array to an dynamic array, without copying the whole values? I just want to use the address of the static array to get it's value from some other routines. For performance reasons.

Is it somehow possible to assign an static array to an dynamic array, without copying the whole values? I just want to use the address of the static array to get it's value from some other routines. For performance reasons. fStringArray: array of string; ... const STATIC_ARRAY: array[0..1] of string = ('s1', 's2'); .... procedure MyClass.SetArray(aStringArray: array of string); begin   fStringArray := aStringArray;  //Error: Incomatiple types end; ... SetArray(STATIC_ARRAY);
Do you use JCL / JVCL classes and / or components? If so, which of them do you use most often?

Title

Image

what is the world coming to

Image
what is the world coming to

Looks like beginend.net site is offline !

Looks like beginend.net site is offline ! http://beginend.net

I found some time and dig in my photos.

I found some time and dig in my photos. And just changed my profile photo and now I find difficult to locate where my posts are. Maybe I just need to get used to. What do you think? It's better a profile photo or a generic one like before?

Hello!

Hello! Here I am trying to stretch DUnitX to do things that are both weird and wonderful :) Sooo... this might actually be me not understanding how to use it properly, so feel free to point out I am a knob if it were so :) What I am trying to do Compare an interface property to Nil. If it is, all is good. The code I am using const ExpectedRootFolderResult : IsmxFolder = nil; // later on in the method Assert.AreEqual (RootFolder.RootFolder,ExpectedRootFolderResult ); Is this a bug or me being a knob? [UPDATE] Maybe, if I also put what I am getting that'd be easier to help with :D I am getting an Access Violation. A

Originally shared by David Berneda

Originally shared by David Berneda TeeBI Beta 5 released, including full source code ! Download and release notes: http://www.steebi.com/2015/11/27/new-teebi-update-available-beta-5/ http://www.steebi.com/2015/11/27/new-teebi-update-available-beta-5/

About some issues in the latest FMX :) Sorry.

About some issues in the latest FMX :) Sorry. http://sourceoddity.com/blog/2015/11/fixinsight-vs-fmx-in-delphi-10-seattle/

#10Seattle #LiveBindings #VCL

#10Seattle #LiveBindings #VCL It seems we should give LiveBindings a second chance :o) https://delphiaball.co.uk/2015/11/26/livebindings-in-vcl-part-5-advanced-master-detail-objects

Fellow Delphi developers

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

Hello guys

Hello guys, Use or not use GUIDs with generic interfaces? Once I have chosen for not use it, what penalties I would have? :D

Please confirm following issue and vote:

Please confirm following issue and vote: https://quality.embarcadero.com/browse/RSP-13023

Hello guys

Hello guys, I would love to see Profile Tools coupled to RAD Studio in a future release for desktop and mobile platforms :D, tracking memory allocations, memory snapshots, memory and resource leaks, the time spent by each method, and some others nice tools for profiling :D It is not a raging question, just a desire.

function Truth:Boolean;

Image
function Truth:Boolean; begin   Result := Truth; end; Originally shared by Microsoft Developer Well that sounds simple enough.

Does anybody know if, in Delphi Seattle, by pressing Ctrl+Space you can get interface methods for generic interfaces? That does not seem to be supported...

Does anybody know if, in Delphi Seattle, by pressing Ctrl+Space you can get interface methods for generic interfaces ? That does not seem to be supported... A

https://sergworks.wordpress.com/2015/11/24/any-crc-algorithm/

https://sergworks.wordpress.com/2015/11/24/any-crc-algorithm/ Now TCRC class is documented. If you have installation problems on "latest and greatest" (actually on any version above Delphi XE) please let me know.  https://sergworks.wordpress.com/2015/11/24/any-crc-algorithm

Does anybody know whether RemObjects's SDKs are supported on Lazarus?

Does anybody know whether RemObjects's SDKs are supported on Lazarus? A

In defense of declaring variables at the top

In defense of declaring variables at the top Reasons I like it: 1) It obliges you to reason beforehand about what goes in the algorithm 2) If you have to add a new variable, everything is there for you to read 3) Minimizes mistakes A

Okay, I start with this:

Okay, I start with this: procedure PrintSquares1(aInteger: integer); var i: Integer; begin for i := 1 to aInteger do begin WriteLn(i, ' - ', i * i); end; end; Then I go to this: procedure PrintSquares2(aInteger: integer); begin if aInteger > 0 then begin PrintSquares1(aInteger - 1); WriteLn(aInteger, ' - ', ainteger * aInteger); end; end; And finally this (using Spring4D Collections): procedure PrintSquares3(aLength: integer); var List: IList ; i: integer; begin List := TCollections.CreateList ; for i := 1 to aLength do begin List.Add(i); end; List.ForEach(procedure(const aInt: integer) begin WriteLn(aInt, ' - ', aInt * aInt) end); end; But I feel like there should be a better way to fill that collection. Thoughts?
Strings with a reference count > 1 are immutable

Suite à notre entretien de toute à l'heure, voici le descriptif du poste

Suite à notre entretien de toute à l'heure, voici le descriptif du poste For a long term mission in Geneva / Switzerland, we are looking for a confirmed Delphi Developer Assignment Ø Development, integration and maintenance of applications in Delphi Profile Developer with solid experience in complex development Ø 5 years in Delphi development (Version XE2 or XE3) Ø Good knowledge of databases and UML Modelisation Ø Interest/experience in finance / Banking Ø A good knowledge of French is mandatory En vous remerciant de votre offre de la diffuser auprès de votre cercle de Delphistes :-) Merci de votre accueil et Cordialement charles parisod key account manager +41 21 213 00 82 dir / +41 79 955 50 27 cell charles.parisod@alltitude.com alltitude sa 8, place de l'europe ch - 1003 lausanne tel +41 21 213 00 00 / www.alltitude.com http://www.alltitude.com

Lately (since update #1 for Seattle?) I have seen more and more stacktraces (within the IDE) with something like the following at the top:

Lately (since update #1 for Seattle?) I have seen more and more stacktraces (within the IDE) with something like the following at the top: Unknown function at __dbk_fcall_wrapper I know that function is in SysInit.pas and I know there are changes around it between Seattle and Seattle UP#1. But what does it do, what is it used for, why is it there? I am guessing that this is outside the realm of most developers but maybe Marco Cantù or Allen Bauer might be about to provide some information (sorry guys for naming you directly but I would like understanding on this)

What are your favourite features of Object Pascal (I mean Delphi, no FPC, no SmartPascal, Oxygene or others) and what do you miss the most that you might know from other languages?

What are your favourite features of Object Pascal (I mean Delphi, no FPC, no SmartPascal, Oxygene or others) and what do you miss the most that you might know from other languages? Please only pure language features , no IDE things or "I can put stuff together very fast using RAD" (which can be great, no doubt). Looking for a constructive conversation. Flames will be removed by me. :)

I repost this since comments were disabled on the previous post.

I repost this since comments were disabled on the previous post. I'm no more able to debug my Android application starting XE8 and up. I'm using an Honeywell Black 70e device... Nothing fancy... An industrial barcode scanner running Android 4.03. My problem is that debugger is useless. I'm getting segmentation fault (4) when stopping at breakpoints or segmentation fault (11) and eaccessviolations... This is really frustrating. Has anyone a solution for this ? I'm currently running Seattle 10 Update 1 with Java jdk1.8.0_66 64bits + android SDK 24.3.3 32bits. Here is some system information (created with System info Honeywell tool): SYSTEM DATE/TIME ------------------------- DATE/TIME: 24 nov. 2015 11:51:04 SYSTEM INFO ------------------------- PRODUCT: dblack BRAND: Honeywell MODEL: Dolphin 70e Black TYPE: user CPU_ABI: armeabi-v7a INCREMENTAL: 41.14 SERVICE_PACK: No Service Pack RELEASE: 4.0.3 Memory Total: 510541824 Memory Free: 114507776 Memory Cached: 187707392 Memo

Hello!

Hello! For the first time in 25 years of programming, I need a protected or private static property and I do not think that Delphi has the kind of mechanism I am looking for built in. Scenario: I have a configuration class that is created on the fly because it's useless to have it hang around. The problem is that I need an array where to store some of its data permanently, even when the object has been destroyed, because it will hold interfaces that are relatively expensive to create and that do not change much. Solutions so far: The first thing I thought of is to make a private array in the implementation and go with that. It is kind of OK, except that I really don't like leaks and this would be a flood :) The second thing I thought of is a class constant, but that is even worse, because even if I declare it in the "private" section, it is still accessible by external code due to its "class" status. Sigh. So far, the only solution that kind-of works is the

With or without theme

Image
With or without theme related to  https://plus.google.com/+PaulTOTH/posts/MtpV9CvFoo2

Is that a Windows bug ?

Image
Is that a Windows bug ? "Week 1 is defined as the first week that contains at least four days." https://msdn.microsoft.com/en-us/library/windows/desktop/bb760919(v=vs.85).aspx

I prefer Delphi IDE with darkula style. Unfortunately delphi doesn't have one out of box.

I prefer Delphi IDE with darkula style. Unfortunately delphi doesn't have one out of box. I use delphi IDE colorizer, which is nice. It works fine with VCL, but on FMX projects it always displays Form Designer background as white. Apparently it is hardcoded as white. Anyone knows how to hack the ide to change the color of FMX form designer background??? Another problem for people who like darkness, is that not all windows are supported by IDE Colorizer - audits, metrics, to-do items, clipboard history are still displayed white. Third party windows - Parnassus bookmarks - white, Parnassus navigator is not even usable with dark style - nothing is visible. GExperts, CnPack, MMX - all dispalyed white. I can see from Nick Hodges videos that he prefers dark style, and Marco seems like default one. So Marco, could you look into implementing proper dark theme for the IDE, as approximately half of the developers like it.

Wouldn't it be great if the "Check for Updates" shortcut would work after seeing the announcements of new updates...

Image
Wouldn't it be great if the "Check for Updates" shortcut would work after seeing the announcements of new updates being available? I'm always skeptical if I should install those updates while the Check for Update feature doesn't offer to update.

Wouldn't it be great if the "Check for Updates" shortcut would work after seeing the announcements of new updates being available?

Image
Wouldn't it be great if the "Check for Updates" shortcut would work after seeing the announcements of new updates being available? I'm always skeptical if I should install those updates while the Check for Update feature doesn't offer to update.

Spring4D - named registrations do not call constructor?

Spring4D - named registrations do not call constructor?  I have an ICommandHandler interface, with multiple implementations and I'm registering then with the container using names :  container.RegisterType ('command.help');  container.RegisterType ('command.another'); I'm calling contaner.Resolve (commandName) in my factory class, and this does return the correct instance, but never calls the constructor exposed on the class (each one has a different constructor). Should this work or am I missing something?  Stefan Glienke
String instances vs. string variables.

Why cannot I login to https://quality.embarcadero.com/secure/Dashboard.jspa when it works fine on http://members.embarcadero.com/Default.aspx ? Is there any secret requirements.

Why cannot I login to https://quality.embarcadero.com/secure/Dashboard.jspa when it works fine on http://members.embarcadero.com/Default.aspx ? Is there any secret requirements. The error message is " Sorry, an error occurred trying to log you in - please try again." I think it is also strange that the new site don't have any button to register.  https://quality.embarcadero.com/secure/Dashboard.jspa

Achieve Success With Your Software Products From On Day One

Achieve Success With Your Software Products From On Day One Rob Walling discusses how to position your software business so you can achieve success starting from day one. Grow your bottom line with simple, actionable ideas. Increase the lifetime value of customers, decrease your cost per acquisition, and a few lesser-known marketing approaches.  Why you should start marketing the day you start coding How to write game changing headlines Why boring products have a higher chance of success How to double the revenue you receive from each customer Brought to you by the Association of Software Professionals "A community of real people using real names running real software businesses." http://asp-software.org http://asp.cloud.answerhub.com/index.html http://www.youtube.com/watch?v=Oj_o21WVn4s

So my brain is drawing a blank here for some reason... why doesn't the following compile?

So my brain is drawing a blank here for some reason... why doesn't the following compile? type   TProc = reference to procedure;   IWidget = interface     procedure Explode;   end;   TWidget = class(TInterfacedObject, IWidget)     procedure Explode;   end; { TWidget } procedure TWidget.Explode; begin   WriteLn('Boom'); end; var   w: IWidget;   p: TProc; begin   w := TWidget.Create;   p := w.Explode;  // E2010 Incompatible types: 'TProc' and 'procedure, untyped pointer or untyped parameter'   p(); end. If I change the type of w to be TWidget, ie a regular object instance, it works as expected. What makes interfaces special in this case? Using D10 Update 1 if it makes a difference.
Is there a way to produce a pdf directly on android platform from frx (fastreport 5 format) ?

How would you finish the sentence:

How would you finish the sentence: "I am a "

I thought that, perhaps, you might want to do another update :)

I thought that, perhaps, you might want to do another update :) I have added a little, handy tool :)

So, When I have in one JSon String " character, i'm getting acces violation, and i tested, it happends when some...

So, When I have in one JSon String " character, i'm getting acces violation, and i tested, it happends when some string contain ' or " . Line that fires exception is LMyArrays := LJsonObj.Get('myArrays').JsonValue as TJSONArray; and i'm parsing string with LJsonObj := TJSONObject.ParseJSONValue(TEncoding.UTF8.GetBytes(LJSonString), 0) as TJSONObject;

So, When I have in one JSon String " character, i'm getting acces violation, and i tested, it happends when some string contain ' or " .

So, When I have in one JSon String " character, i'm getting acces violation, and i tested, it happends when some string contain ' or " . Line that fires exception is LMyArrays := LJsonObj.Get('myArrays').JsonValue as TJSONArray; and i'm parsing string with LJsonObj := TJSONObject.ParseJSONValue(TEncoding.UTF8.GetBytes(LJSonString), 0) as TJSONObject;

Abuse of WM_WININICHANGE?

Abuse of WM_WININICHANGE? I'm using Delphi action toolbars (like Delphi IDE does) and it is already for quite some time that I noticed continues refresh/redesign on IDE menu/toolbars (or on my software menu/toolbars). I took some time to investigate and I discoverd that sysop/other applications fires often the WM_WININICHANGE message and it is broadcasted to all open windows. Delphi action toolbars react to that message redesigning themselvs. If this message is managed when I'm selecting a menu item I get AVs. I don'tn know if it is the best way to do it but I solved this annoying refresh, setting the Application.UpdateFormatSettings and Application.UpdateMetricSettings variables to false.  Just for fun if you want to simulate the case open internet explorer settings and clear the cronology/cache/..: while you are doing that take a look at Delphi IDE toolbars...

Ouch !

Image
Ouch ! (Seattle 10.0) ... when I hit the "Close program" button, Delphi dies in terrible pain saying "Exception: EConvertError in rtl230.bpl at 0011F067, no argument for format ' docwiki.embarcedro.com/RADtud .' and 'Exception: EOSError in rtl230.bok at 0004DC21, System code 5- Access denied'

Ouch ! (Seattle 10.0) ... when I hit the "Close program" button, Delphi dies in terrible pain saying "Exception: EConvertError in rtl230.bpl at 0011F067, no argument for format 'docwiki.embarcedro.com/RADtud.' and 'Exception: EOSError in rtl230.bok at 0004DC21, System code 5- Access denied'

Image
Ouch ! (Seattle 10.0) ... when I hit the "Close program" button, Delphi dies in terrible pain saying "Exception: EConvertError in rtl230.bpl at 0011F067, no argument for format ' docwiki.embarcedro.com/RADtud .' and 'Exception: EOSError in rtl230.bok at 0004DC21, System code 5- Access denied'

Some MacOS frameworks are 64Bit only. When will compiler ready?

Some MacOS frameworks are 64Bit only. When will compiler ready? Feel free to vote for RSP-12993. https://quality.embarcadero.com/browse/RSP-12993

After updating to DX10 Update 1 I now get an error when trying to run my FMX application on OSX (10.10.1 Yosemite). The application appears in the Mac's taskbar then I get "Runtime error 230 at 00016C32" in the PAServer console window and the application closes.

After updating to DX10 Update 1 I now get an error when trying to run my FMX application on OSX (10.10.1 Yosemite). The application appears in the Mac's taskbar then I get "Runtime error 230 at 00016C32" in the PAServer console window and the application closes. It compiles and runs with Win32 and Win64 without a single hint or warning. If I try to debug the application on OSX the Delphi debugger never even hits the first breakpoint. If I comment out all the files in the uses clause of the project file the application runs so I assume one of the files has an intiialization section that is causing issues, but I have a lot of files and it's not feasible to remove them all one by one to find the culprit. Anybody having a similar problem? Is there any way to get more information about the error from PAServer or OSX?

Hello!

Hello! I am working on another library that should go into ARLibs. This is something a tad more complex, i.e. an abstraction layer for document editing controls (such as TMemo or TRichEdit, or an image editing control, whatever). There are several interfaces that really need to be part of the document host, i.e. the panel which will contain the actual editing control. So... I was thinking to do something like this: 1) Declare a base class implementing the interface I need 2) Declare, inside the document host, several protected classes inherited from the former which will form the base for all the various bits and pieces (selection, caret, the document subject to which implement observers, etc.). Now, the thing is: I am wondering whether this will clutter the unit and make it difficult to read. Please note that the concept works as I've already tried it in a quick test, so it's all a matter of how to do this in the best possible way :) Maybe I need a few, always general, descend
Does anyone know, how do create a GUID in Delphi XE, when the shortcut Ctrl+Shift+G is not working? I use the Visual Studio keymapping and have CnPack installed.

Spring4D Noobie - if I have an interface IArchive, and 2 implementations, TFileArchive and TFolderArchive, which each take a file/folder name string in the constructor, how can I create a factory that will instantiate the correct class based on the file/folder name?

Spring4D Noobie - if I have an interface IArchive, and 2 implementations, TFileArchive and TFolderArchive, which each take a file/folder name string in the constructor, how can I create a factory that will instantiate the correct class based on the file/folder name? ie, if the string is a filename, create the file archive, if it's a folder, create the folder archive?  I created an Archive factory class that takes in the container and has a CreateArchive method that takes the file/folder name, but still don't know how to resolve the correct implementation and pass the file/folder name parameter.. I don't want to set a property because it's meant to be read only. Stefan Glienke  P.S Wish G+ had a wiki markup format for showing code!
Just a little taste of some of the things I'll be posting about...
Is it possible to install and use Delphi #10Seattle and Delphi XE side by side on Windows 10?

Found this gem on reddit, enjoy!

Found this gem on reddit, enjoy! https://github.com/NARKOZ/hacker-scripts

Please vote to Embarcadero® RAD Studio™ 10 Seattle !

Please vote to Embarcadero® RAD Studio™ 10 Seattle ! http://verticalize.me/technology/index

How much would you pay a month if you could one click deploy your Delphi VCL/FMX apps to a cloud server and access them in any HTML5 browser?

How much would you pay a month if you could one click deploy your Delphi VCL/FMX apps to a cloud server and access them in any HTML5 browser?  Seems like this would be a viable cloud service for Embarcadero (or another third party) to deploy via Thinfinity (  http://www.cybelesoft.com/thinfinity/virtualui/ ). They could either partner or buy Thinfinity and either partner with a cloud host like Rackspace/ServerIntellect/Azure or run their own servers. A simple Delphi IDE plugin could auto-upload the EXE to your server after the compile. Microsoft has a similar service called Azure RemoteApp but it doesn't appear to be accessible in the browser and it isn't one click deploy.

Anyone else experiencing a slowness in #Seattle Update 1 when closing a unit or the whole project?

Anyone else experiencing a slowness in #Seattle  Update 1 when closing a unit or the whole project? Something similar happens when you rename units in the project manager. Closing the Welcome page seems to cure it. In addition I have an incredibly long pause when starting Delphi. The splash screen says "all designtime packages loaded" and IDEFixPack is on 100%. CPU load for bds.exe is 0%. Up to now I wasn't able to get rid of this.

Anyone else experiencing a slowness in #Seattle Update 1 when closing a unit or the whole project? Something similar happens when you rename units in the project manager. Closing the Welcome page seems to cure it.

Anyone else experiencing a slowness in #Seattle  Update 1 when closing a unit or the whole project? Something similar happens when you rename units in the project manager. Closing the Welcome page seems to cure it. In addition I have an incredibly long pause when starting Delphi. The splash screen says "all designtime packages loaded" and IDEFixPack is on 100%. CPU load for bds.exe is 0%. Up to now I wasn't able to get rid of this.

ANN: DAC for MySQL 3.0.1 is out!

ANN: DAC for MySQL 3.0.1 is out! This is maintenance release with several bug fixes. http://microolap.com/products/connectivity/mysqldac/news/detail.php?ID=1726 http://microolap.com/products/connectivity/mysqldac/news/detail.php?ID=1726

RFC: VCL dropdown with checkboxes?

RFC: VCL dropdown with checkboxes? What is your favorite way of doing a dropdown with multiple checkboxes (3-15 items)? Must be able to check/uncheck multiple items without closing/reopening.  Custom text when closed up would be nice too. Off-the shelf component suggestions also welcome.
Can anyone recommend me an advanced Delphi book?

Hello

Hello, Why does this code on an empty FMX3D form draw a red rectangle on Windowd, OSX and iOS Simulator but nothing on Android ? (don't have an iPhone). In fact it's seems that the rectangle is displayed quickly and the erased ... by what ? procedure TForm1.Form3DRender(Sender: TObject; Context: TContext3D); type   TVertex = record     x,  y,  z: Single;   end; var   Vertices          : TArray ;   Indices           : TArray ;   VertexDeclaration : TVertexDeclaration;   VertexSize        : Integer;   VertexCount       : Integer;   IndexSize         : Integer;   IndexCount        : Integer;   Material          : TMaterial;   Opacity           : Single; begin   SetLength(Vertices, 4);   Vertices[0].x := Width / 2 - 100;   Vertices[0].y := Height/ 2 - 100;   Vertices[0].z :=    0;   Vertices[1].x := Width / 2 + 100;   Vertices[1].y := Height/ 2 - 100;   Vertices[1].z :=    0;   Vertices[2].x := Width / 2 + 100;   Vertices[2].y := Height/ 2 + 100;   Vertices[2].z :=    0;   Vertices

AR Libs released on GitHub

AR Libs released on GitHub Hello! I am proud to announce that a bit of my fiddling around has finally found its way on GitHub. https://github.com/DeerBear/ARLibs Please feel free to play with it and tell me what you think. NOTE : I am totally new to the GitHub desktop client and I can't see the code in my browser - please let me know if you don't see anything. https://github.com/DeerBear/ARLibs

Hello guys

Hello guys, In the next major release, you could remove the System.IEnumerable inheritance from the non-generic version System.IEnumerable? Without a rooted type system is a bit embarassing implement it. IEnumerable parameters are accepted in many places on RTL but it is not used by System.Generics.Collections where it would be hacky to use without any sort of disable warnings :( :D
A little information on the plans for this space.
So next year it'll be a decade since Windows Vista was released. To celebrate, how about Windows.pas was brought up to Vista-level?

Originally shared by Allen Bauer

Originally shared by Allen Bauer FYI.

Starting with Delphi 2005 the IDE provides an API for plugins to add an entry to its about dialog. It’s pretty simple to use and many plugins and components use it nowadays. But there is one thing that in my opinion most of them get wrong.

Starting with Delphi 2005 the IDE provides an API for plugins to add an entry to its about dialog. It’s pretty simple to use and many plugins and components use it nowadays. But there is one thing that in my opinion most of them get wrong.  http://blog.dummzeuch.de/2015/11/22/adding-an-entry-to-the-delphi-ides-about-dialog/

Saw this on one of the Facebook groups, posted by Jens Fudge - a blog post about teaching Delphi in Denmark, and what's really cool is a presentation he did at a company there about cross-platform development. Nice to see people considering Delphi for this and apparently finding that it provides a good solution and/or a better solution than the alternatives.

Saw this on one of the Facebook groups, posted by Jens Fudge - a blog post about teaching Delphi in Denmark, and what's really cool is a presentation he did at a company there about cross-platform development. Nice to see people considering Delphi for this and apparently finding that it provides a good solution and/or a better solution than the alternatives. http://delphi.exotech.dk/#post36 http://delphi.exotech.dk/#post36

I have been playing with AboutBoxServices.AddPluginInfo and added an entry for GExperts to the Delphi IDE About dialog. One onnoying thing remains though. As you can see in the first picture, Delphi prefixes the version number with the string "Product Licence Status:". It does the same for the JVCL, but not for the "Delphi Praxis Help Booster", as you can see on the second picture. Any idea why that is so?

Image
I have been playing with AboutBoxServices.AddPluginInfo and added an entry for GExperts to the Delphi IDE About dialog. One onnoying thing remains though. As you can see in the first picture, Delphi prefixes the version number with the string  "Product Licence Status:". It does the same for the JVCL, but not for the "Delphi Praxis Help Booster", as you can see on the second picture. Any idea why that is so? I'm using the following code: if Supports(BorlandIDEServices, IOTAAboutBoxServices,     AboutBoxServices) then begin   bmSplashScreen := LoadBitmap(HInstance, 'SplashScreenBitMap');   Result := AboutBoxServices.AddPluginInfo(         'GExperts',         'GExperts is [...]'#13#10         + '(c) by Erik Berry and the GExperts Team'#13#10         + ' http://www.gexperts.org ',         bmSplashScreen,         False,         GetVersionStr); end;

Better release names for Delphi (a blessing for a healthy brain)

Better release names for Delphi (a blessing for a healthy brain) Delphi 2015.03 (Mar release) Delphi 2015.05 (May update) Delphi 2015.08 (Aug release) Delphi 2015.11 (Nov update) Delphi 2016.03 (Mar release) Delphi 2016.05 (May update) Delphi 2016.08 (Aug release) Delphi 2016.11 (Nov update)

If I have a Delphi DLL which uses units that have an initialization section, under which circumstances does initialization get call and when?

If I have a Delphi DLL which uses units that have an initialization section, under which circumstances does initialization get call and when? Any pointers to this information this would be appreciated.

Hello Idera/Emba, many costumers are afraid about its Delphi plans for future and they are prematurely leaving Delphi :( It is very sad. They need to be sure that Delphi won't die, on the contrary, it will live and grow :D

Hello Idera/Emba, many costumers are afraid about its Delphi plans for future and they are prematurely leaving Delphi :( It is very sad. They need to be sure that Delphi won't die, on the contrary, it will live and grow :D o/

Hello guys

Hello guys, It seems #10seattle Update 1 is generating smaller binary code (.so file) for Android applications. 81.899 KB - 10 Seattle 37.146 KB - 10 Seattle Update 1 I can be wrong but I realized it is occuring :D

Experimental GExperts Version 1.38 2015-10-21 released

Experimental GExperts Version 1.38 2015-10-21 released Again, there is nothing new about the formatter code. But there is a new option to improve the IDE search path dialogs. What it does is replace the list box in the search path dialog with a memo, so editing that path is much easier (in my opinion) than before. http://blog.dummzeuch.de/2015/11/21/experimental-gexperts-version-1-38-2015-10-21-released/

Microsoft has open-sourced VS Code.

Microsoft has open-sourced VS Code . https://github.com/Microsoft/vscode https://github.com/Microsoft/vscode

Hello, I develop an Android app, but I need to reduce size!!! The APK have 14mb, but installer had 53 MB. I have an app on Eclipse too and the apk have 3 mb and installed have 5 mb so... What can I do with apk in Delphi? Any Idea? thanks.

Hello, I develop an Android app, but I need to reduce size!!! The APK have 14mb, but installer had 53 MB. I have an app on Eclipse too and the apk have 3 mb and installed have 5 mb so... What can I do with apk in Delphi? Any Idea? thanks. PD: sorry for my bad English...

Hi

Hi, How to merge OpenGL ES API function into FireMonkey TForm3D and make OpenGL draw picture on TForm3D ? In windows with VCL, we can get DC and set DC to OpenGL. With FireMonkey, TForm3D has it's own context, OpenGL function glClearColor and glClear can set screen color, but draw some triangles and call eglSwapBuffers, there is no any effect.

Try to avoid RTTI (ab)use - Synopse

http://blog.synopse.info/post/2015/11/21/Try-to-avoid-RTTI-%28ab%29use

What do you think of this?

Image
What do you think of this?

A splitter inside a Panel, good idea isn't it ?

Image
A splitter inside a Panel, good idea isn't it ? http://lookinside.free.fr/delphi.php?TSplitPanel+pour+Seattle
I'm using DCPcrypt with Delphi XE for cryptography and loking for alternatives. LockBox seems to be a good one. I will be upgrading to Seattle and like to hear what library you are using.

Anyone finding the new G+ format difficult to read?

Anyone finding the new G+ format difficult to read? The rotating comments on posts are distracting, and the now small counters for +1 and Shares do not stand out. I really dislike how so many desktop applications and platforms are clearly moving towards mobile. It oversimplifies desktop interfaces, making them "fat" and clumsy, IMO.

This took all day but I have figured out a workaround for the broken DPI handling of forms not directly descended from TForm in Seattle Update 1. Submitted the report here: https://quality.embarcadero.com/browse/RSP-12971 Now I realize that the "documentation" says PixelsPerInch is supposed to be the design PPI and not the runtime, but that is just stupid and useless. Also, the PixelsPerInch property changes to the monitor DPI if the form is moved to a new DPI monitor, which leads me to believe that NOBODY IS TESTING THIS STUFF. They should not be making changes like this without thorough testing. Anyway, my workarounds are just a few lines of code in ReadState and Loaded overrides, and restores the behavior from Delphi Seattle, which both made sense and WORKED. Full project is attached to the report.

Image
This took all day but I have figured out a workaround for the broken DPI handling of forms not directly descended from TForm in Seattle Update 1. Submitted the report here: https://quality.embarcadero.com/browse/RSP-12971 Now I realize that the "documentation" says PixelsPerInch is supposed to be the design PPI and not the runtime, but that is just stupid and useless. Also, the PixelsPerInch property changes to the monitor DPI if the form is moved to a new DPI monitor, which leads me to believe that NOBODY IS TESTING THIS STUFF.  They should not be making changes like this without thorough testing. Anyway, my workarounds are just a few lines of code in ReadState and Loaded overrides, and restores the behavior from Delphi Seattle, which both made sense and WORKED. Full project is attached to the report.
Very interesting. My custom TForm descendant (from which all of my forms derive) no longer gets the correct PixelsPerInch assigned during creation in Seattle Update 1. I don't override this property or change it, so something significant has changed in the VCL. I don't mind debugging but this is not what I was hoping to work on today. :-(

Hello guys

Hello guys, Changing the NDKr9c to the x64 version got better build-time for me, has anyone tried the same? :D
Update 1 is giving me an issue, after some run / debug sessions the ide its noticeable slower and "out of resources" crash. I'm the only one?

dzMdbViewer is a small tool I wrote, when I was stuck without a MS Access installation but needed to have a look into a .MDB file.

dzMdbViewer is a small tool I wrote, when I was stuck without a MS Access installation but needed to have a look into a .MDB file. http://blog.dummzeuch.de/2015/11/20/dzmdbviewer-1-0-1-released/

More for the C++ developers, but still relevant:

More for the C++ developers, but still relevant: When installing RAD Studio #10Seattle Update 1, make sure you don't accidentally uninstall the Windows SDK at the end. When it is executed, if you already installed it, the only option will be remove. And it does remove a few extra files than it should, so it will mess up with the C++ installation
They changed the splash screen in update 1 to blue? (Used to be orange). Or were there some configurations that were blue before?

Some component developers here that might know the answer?

Some component developers here that might know the answer? http://stackoverflow.com/q/33823898/587106

After installing Seattle Update #1, I found some components installed that shouldn't be...

After installing Seattle Update #1, I found some components installed that shouldn't be... https://quality.embarcadero.com/browse/RSP-12957 Please vote for it to improve the installer... https://quality.embarcadero.com/browse/RSP-12957

Firstly can I just state for the record I am not a bad coder, but a "manager" has forced me to change a load of my code, which involved the class model underneath at the 11th hour and now I have a shed load of memory leaks. The ReportMemoryLeaksOnShutdown := True; just won't cut it in this cicumstance, as I have medium to large blocks and it does not specify where or what ( see image ).

Image
Firstly can I just state for the record I am not a bad coder, but a "manager" has forced me to change a load of my code, which involved the class model underneath at the 11th hour and now I have a shed load of memory leaks. The ReportMemoryLeaksOnShutdown := True; just won't cut it in this cicumstance, as I have medium to large blocks and it does not specify where or what ( see image ). Back in the Delphi 5 days I used to use MemSleuth and this tool was superb. Does anyone know of a tool like that that exist for Delphi 10 ( or even XE7, as I can go backwards on this project ) Thanks

Digitale Helfer beim Autoverkauf - von Swiss IT Magazine

Image
Digitale Helfer beim Autoverkauf - von Swiss IT Magazine Artikel wie die Idee hinter der SmartCarSale MoreInfo App entstanden ist. http://www.itmagazine.ch/Artikel/60955/Digitale_Helfer_beim_Autoverkauf.html Mehr Informationen unter: http://ke4it.ch/loesungen.html

ISO update are now available - http://cc.embarcadero.com/Item/30445

ISO update are now available - http://cc.embarcadero.com/Item/30445 Apologies if this has been posted before (missed it) but I know there are people who don't 'Web Install' :-) http://cc.embarcadero.com/Item/30445

On the occasion of my birthday I'm pleased to announce a 30% discount to the HTML Component Library, HTML Report Library and HTML Editor Library.

On the occasion of my birthday I'm pleased to announce a 30% discount to the HTML Component Library,  HTML Report Library and HTML Editor Library. Please use coupon code  2015NOV20 Coupons are valid until 21/11/2015 , 5 coupons available. http://delphihtmlcomponents.com/ http://delphihtmlcomponents.com

For testing during debug is there a way of conditionally logging or messaging to something like a console window?

For testing during debug is there a way of conditionally logging or messaging to something like a console window? Rather than writing to a text log which is what I currently do.

Hey guys

Hey guys, In which cases Low function doesn't return zero for arrays? Thanks :D

Gnostice sponsored and gave away 10 licenses during Embarcadero Conference Brazil 2015 in October and following webnar that was held yesterday... Check the winners and if you attended one of the events make sure you get your 50% discount!

Gnostice sponsored and gave away 10 licenses during Embarcadero Conference Brazil 2015 in October and following webnar that was held yesterday... Check the winners and if you attended one of the events make sure you get your 50% discount! http://tkssoftware.com/victory/sorteio-e-descontos-gnostice/

Today I had an interesting bug to fix:

Today I had an interesting bug to fix: I used a form’s Classname to persist its size in the registry and wondered why it didn’t work. Looking at the registry entries I found, that there was an entry with the class name suffixed by a ‘!dx’. http://blog.dummzeuch.de/2015/11/19/classname-with-dx-suffix/

A long time ago in a far far galaxy

A long time ago in a far far galaxy, there were some developers who wrote a patch for a product which had not soooo good code. Clean code sounds like disinfectants. One result was a lot of mysterious errors. The developers used a lot of time to (try to) fix most of them. But the deadline was approaching and they got nervous. That was a time where this list was created. Sorry, some of them are in german, because of the native language of the developers. http://pastebin.com/wnL5n4Vg

Added post thumbnails on https://www.beginend.net/, what do you think?

Added post thumbnails on https://www.beginend.net/ , what do you think? (FWIW  they are generated by the DWScript Web Server + PhantomJS + pngquant)

Delphi 10 Seattle Update 1 in the wild. #10Seattle

Delphi 10 Seattle Update 1 in the wild. #10Seattle   http://edn.embarcadero.com/article/44619
unit of width is px?

Okay, here's another mystery:

Okay, here's another mystery: I am getting this error: [DCC Error] E1026 File not found: 'FindFile.res' Only there is no reference anywhere in our codebase to FindFile.res. There is a FindFile.DPR in the Greatis demo directory, along with the appropriate FindFile.res, but I can't for the life of me see how this is getting referenced by our main EXE project. The reason I can't find it is that I was getting a warning about duplicate resources in FindFile.RES -- the origin of the mystery -- and so I renamed FindFile.RES to FindFile.RES.bak, and now our EXE can't find it. I don't get the duplicate Resource warning in the IDE. Any ideas how a rogue RES file would be required by our main project?

OmniPascal Open Preview out now!

Image
OmniPascal Open Preview out now! Manage your code using Visual Studio Code and OmniPascal. Try it today and tell me what you think about it. http://blog.omnipascal.com/

Hello again!

Hello again! I think it shows that I haven't been doing this sort of stuff for a very long time :) So, I got a new set of interfaces I need to put to work. Because they all are imaging tools of sorts, I want to have something like the BorlandIDEServces variable: instantiate once, use everywhere :) So, right now I only have one tool, and this is the main class as being declared: TImageTools = class( TInterfacedObject, IImageTools, IAspectRatio )   strict private     FWidth : Integer;     FHeight: Integer;     FAspectRatio : TImageAspectRatio;     function GetHeight: Integer;     function GetWidth: Integer;     procedure SetHeight(Value: Integer);     procedure SetWidth(Value: Integer);     function GetAspectRatio: IAspectRatio;   strict protected     // These are declared because you never know.     property Width: Integer read GetWidth write SetWidth;     property Height: Integer read GetHeight write SetHeight;   public     constructor Create;reintroduce;virtual;     destructor Des

Hello!

Hello! I got a small problem here. After solving a compiler error issue by... removing the directives :D (yes, I know, no, I don't care), I have started using the Delphi Mocks library and I have hit a new problem. This is my code: procedure TAspectRatioTest.Setup; begin   FImageTools := TMock .Create;   FImageTools.Setup.WillReturn( 500 ).When.Width;   FImageTools.Setup.WillReturn( 500 ).When.Height;   FAspectRatio := TImageAspectRatio.Create( FImageTools ); end; But when I run my tests in DUnitX it says that I didn't create the mock. I am 100% sure it's me being daft here so, please, show me the error of my ways. Thanks! Vincent Parrett Nick Hodges Stefan Glienke

The latest report on the "Popularity of Programming Languages", Nov 2015 vs Nov 2014

The latest report on the "Popularity of Programming Languages", Nov 2015 vs Nov 2014 http://pypl.github.io/PYPL.html

Interesting weirdness on the Delphi XE6 splash screen today. The black window stayed the same size, but the graphics & text sort of "zoomed out". Caught a screen shot before it completely disappeared. Never seen it before, and all started okay. :)

Image
Interesting weirdness on the Delphi XE6 splash screen today. The black window stayed the same size, but the graphics & text sort of "zoomed out".  Caught a screen shot before it completely disappeared. Never seen it before, and all started okay.  :)

Delphi running at 98% CPU #10Seattle

Delphi running at 98% CPU #10Seattle   this happens just after I open a form / datamodule in a project - any ideas?

Looks like update #1 is around the corner, as the C++ Builder version is available - http://cc.

Looks like update #1 is around the corner, as the C++ Builder version is available - http://cc.embarcadero.com/Item/30444 http://cc.embarcadero.com/Item/30444

Looks like update #1 is around the corner, as the C++ Builder version is available - http://cc.embarcadero.com/Item/30444

Looks like update #1 is around the corner, as the C++ Builder version is available - http://cc.embarcadero.com/Item/30444 http://cc.embarcadero.com/Item/30444

High DPI Implementation

High DPI Implementation I've taken the plunge. I now have a 4K machine and I'm about to start converting AlignMix (our mapping application https://www.alignmix.com ) into a High DPI aware application. I'm using Delphi 10 Seattle.  Quick question - on many sub-forms I have an eye-candy image in the top left hand corner. I'm going to need at least two more versions of each image at higher resolutions. What's the best way to store these alternative images? ImageList? In a resource file? - Steve #10Seattle   #HighDPI

After months of use in a #cloudcomputing system dedicated to #IoT process, let me present some benefits of #mORMot #SOA interface callbacks for real-time events notification, in regard to classic message-oriented patterns.

After months of use in a #cloudcomputing  system dedicated to #IoT   process, let me present some benefits of #mORMot   #SOA  interface callbacks for real-time events notification, in regard to classic message-oriented patterns. http://blog.synopse.info/post/2015/11/17/Benefits-of-interface-callbacks-instead-of-class-messages

Originally shared by David Berneda

Originally shared by David Berneda New TeeBI Beta 4 released ! https://drive.google.com/file/d/0BymV3q6di65nTHFOU2U1aENITFk/view Changes: -New TDataSelect class, implements a big part of SQL language in native Delphi code. -Cumulative and/or percentage calculations in summaries. -microOLAP DAC MySQL import support. -Links between data in different storage locations or www servers. -Extra data Links can be created at import time using (TDataDefinition.SetMasters method). -Enabled Sorting data reordering the source rows. -Updated Starting Guide doc with new content in beta4 -Starting Guide doc in Spanish: "Guía de Introducción" -Convert from queries and summaries to SQL language. -Percent format for BIDataset numeric columns -Optional "raw" persistence mode (BI.Streams.pas) -Fixes and speed optimizations https://drive.google.com/file/d/0BymV3q6di65nTHFOU2U1aENITFk/view

Hello :D

Hello :D, Just a curiosity, why Break is a function and not a language reserved keyword? :D Thanks :D

Can anyone point me to the rules on Delphi dcu compatibility, ie if unit b uses unit a, what changes to unit a will break dcu compatibility with unit b? I know generally interface changes will cause that, but wondering if there are others.

Can anyone point me to the rules on Delphi dcu compatibility, ie if unit b uses unit a, what changes to unit a will break dcu compatibility with unit b? I know generally interface changes will cause that, but wondering if there are others. Google isn't helping me here as everything that comes up is about compatibilty between delphi versions, which is not what I am after.
Just saw on Facebook that Eli Boling has left the compiler team. I'm happy for Eli, but not pleased by the timing. Doesn't bode well.

Hi everyone.

Hi everyone. In the new #10Seatlle  I'm trying to create a Webservice with Delphi, but I can not get the soap Header on the server side. Using SOAP UI, I send this XML: http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd=" http://www.w3.org/2001/XMLSchema " xmlns:soapenv=" http://schemas.xmlsoap.org/soap/envelope/ " xmlns:urn="urn:Inter.Controller.WebService.WsInterIntf-IWsInter">                     uy           888           jhbhbhhbh                     http://schemas.xmlsoap.org/soap/encoding/ ">           etNum           But, in the code, it's impossible to read the TAuthHeader with this sintax: function TWsInter.echoEnum(const Value: TEnumTest): TEnumTest; stdcall; var   H: TAuthHeader; begin   (Self as ISOAPHeaders).Get(TAuthHeader, TSoapHeader(H));   if H <> nil then   begin   end   else     raise Exception.Create('Oh no :-('); end; The variable H is always nil after the "Get" sentence. Any leads?

Welcome again, Victory Fernandes :)

Welcome again, Victory Fernandes :) Originally shared by Gnostice.com Back to Brazil! We are very happy to announce that Victory Fernandes, Embarcadero MVP from Brazil, will be joining our team of evangelists. Victory has done great work in a variety of areas and runs a company in Brazil specializing in industrial automation. Victory presented the Gnostice products at the Embarcadero Conference in Brazil that was held on October 21, 2015. Going forward, he will involve in creating vocalized content on the Gnostice products for Brazilian developers. I have fond memories of talking to and supporting developers in Brazil in the early days when we had our first report export components for Delphi. Brazil is a very important market for us and I'm happy that with Victory Fernandes we will be getting closer to our users. - Girish Patil You can read Victory's blog post here: http://tkssoftware.com/victory/evangelista-gnostice/ We are happy to welcome Victory as a member of our team. ob

I would like to announce to the entire Delphi developer community that I have just been confirmed as the Gnostice Evangelist in Brazil! Thank you Gnostice... now lets work!

I would like to announce to the entire Delphi developer community that I have just been confirmed as the Gnostice Evangelist in Brazil! Thank you Gnostice... now lets work! Brazil is a huge market with thousands of great developers but most people and companies abroad are not aware of the work we do and the commercial opportunities available here… We have the biggest Delphi event around the world gathering 600+ attendees every year at the Embarcadero Conference in São Paulo but sadly most our developers are not english speakers! We speak Brazilian Portuguese only and in this case a local Evangelist is important to help localize the contents to our audience!  http://tkssoftware.com/victory/evangelista-gnostice

Hello guys

Hello guys, Once Delphi already has a Task-based parallel library (PPL) starting from XE7, would be very good whether async method overload were added. TStream class for example, Read and Write method could have their async overloads returning Task or Future objects :D Edit: It only makes sense with Task Continuation support :D It think it will come in next major release. o/

"No work for you!" Good thing I have a habit of pressing Ctrl+Shift+S often. This is so stupid. Of course, nothing in their "common solutions" applies. Of course, the mere fact that they need a "common solutions" page for a license validation BUG should tell them something!

Image
"No work for you!" Good thing I have a habit of pressing Ctrl+Shift+S often. This is so stupid. Of course, nothing in their "common solutions" applies. Of course, the mere fact that they need a "common solutions" page for a license validation BUG should tell them something!

Inno Setup: Program Folder not showing up In Start > All Programs.

Inno Setup: Program Folder not showing up In Start > All Programs . I've been updating my Inno Setup installs and I'm running into a situation where the Program Folder is not showing up in the Windows 7 Start > All Programs . The wierd part is the program folder does exists in C:\ProgramData\Microsoft\Windows\Start Menu\Programs The other weird thing is if I [click] Start [right click] All Programs [click] Properties [click] Ok then go back to Start > All Programs the Program Folder shows up. Can you think of anything that will cause this behavior?

I figured out that Google Plus Polls has reinvented percentage calculation ...

Image
I figured out that Google Plus Polls has reinvented percentage calculation ... 101% -cool !

I'm trying to certifícate a Delphi 2007 desktop application for Windows 7. I have downloaded Windows SDK, compiled the manifest inside the exe, but when executing windows app certification kit, the app never ends recopiling System information.

I'm trying to certifícate a Delphi 2007 desktop application for Windows 7. I have downloaded Windows SDK, compiled the manifest inside the exe, but when executing windows app certification kit, the app never ends recopiling System information. Has anyone been able to certificate a delphi application for windows 7? If your customer requiere it, how have you solved it? Thanks

Hello guys

Image
Hello guys, Yeah I know, I ask a lot here and help other folks just a little, so sorry :( but I need your help :D I don't know why my method couldn't be inlined :( Thanks :D

Anyone using SonarQube with the latest versions of Delphi? Apparently we need a new plugin developed.. http://www.sonarqube.org/

Anyone using SonarQube with the latest versions of Delphi?  Apparently we need a new plugin developed.. http://www.sonarqube.org/ http://www.sonarqube.org

i am working on an lua warpper . the main purpose is , we can directly register a normal pascal function/procedure and class method , then we don't need to write the ugly C-Function . for ex

i am working on an lua warpper . the main purpose is , we can directly register a normal pascal function/procedure and class method , then we  don't need to write the ugly C-Function .  for ex , Lua.RegesterFunction("procedure ShowMessage(const Msg: string);",@showmessage);  and then you can call the function showmessage in a lua script.   now i've finished the win32 part . but i am not sure to go on or not . anyone interest in it?
All I want for Delphi on Android just now is that I could be able to debug an array :(
#10Seattle

Finally, I released version 1.0.5 of DDDebug - the Delphi memory tracker and exception handler - which supports Delphi 10 Seattle 32 and 64bit. Also, I continued my work for version 1.1 which will allow tracking of GDI, User and Kernel Objects in a user friendly manner. For more details take a look at http://ddobjects.de/dddebug

Finally, I released version 1.0.5 of DDDebug - the Delphi memory tracker and exception handler - which supports Delphi 10 Seattle 32 and 64bit. Also, I continued my work for version 1.1 which will allow tracking of GDI, User and Kernel Objects in a user friendly manner. For more details take a look at http://ddobjects.de/dddebug http://ddobjects.de/dddebug

#10Seattle #Android #Mac #Windows

#10Seattle #Android #Mac #Windows I am creating an application using the new component TBluetooth ( Classic Bluetooth for instance) . This application must set out a new service sokcet , and MacOSX and Android have no problem . While Windows method CreateServerSocket not come back no exception but the connection attempts by any client the soket not connect . Anyone has any idea on how to fix this ? or should I use a different method to make the Bluetooth server ? thanks a lot to everyone Ivan

It was Karneval on Wednesday, and I was having a bit of trouble attaching my sword to my belt. Then I found a perfect-sized lanyard in my desk drawer...

Image
It was Karneval on Wednesday, and I was having a bit of trouble attaching my sword to my belt. Then I found a perfect-sized lanyard in my desk drawer...

#10Seattle #iOS

#10Seattle #iOS Version-Information default value for CFBundleInfoDictionaryVersion is 7.1 ?!? http://docwiki.embarcadero.com/RADStudio/Seattle/en/Version_Info#Mac_OS_X_and_iOS_Version_Info Where did they get this number from? Not from apple "The value for this key is currently 6.0." https://developer.apple.com/library/mac/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/20001431-102088 So is this a rolling dice number? Can I just use my birthday (year.month) to put some kind of personal easter egg in the application? (67.12 is as wrong as 7.1 is from the apple documentation). Maybe this bug-report introduced this value http://qc.embarcadero.com/wc/qcmain.aspx?d=124800 Building a native application with Xcode has the value 6.0 (as documented by apple). So I guess there is some kind of internal misuse of this value within the Delphi deploy process. http://docwiki.embarcadero.com/RADStudio/Seattle/en/Version_Info#Mac_OS_

The new iPad Pro worked with Delphi out of the box - What a pleasant surprise :-)

The new iPad Pro worked with Delphi out of the box - What a pleasant surprise :-)

Interesting suggestion, might help preventing the IDE from adding units that are already there but in a different format, like ActnList rather than System.ActnList, which is an annoyance when you have forms being used with different versions of Delphi.

Interesting suggestion, might help preventing the IDE from adding units that are already there but in a different format, like ActnList rather than System.ActnList, which is an annoyance when you have forms being used with different versions of Delphi. http://stackoverflow.com/a/33684731/49925

Sigh...

Sigh... type   Default = class(TCustomAttribute)   public     Value: T;     constructor Create(const aValue: T);    function AsString:String;   end; ...   TMyEdit = class(TEditor)   protected     [Default (200)] // [dcc32 Error]: E2029 ']' expected but '<' found     SupplierNo: TIntegerEdit;     //...  end; #halfbaked

Favoring composition over inheritance...

Favoring composition over inheritance... Inheritance is meant to reduce boilerplate. What if I have an object A and I want an identical object B , except that the write method of a property should do something slightly different. A prime example here is a data table. Imagine I have a TTable class, which is technically just a wrapper for a 2-dimensional array. I want a special case of the implementation of TTable variant, which has a property Decimals  that specifies how many decimal places I wish to preserve. For example, if LTable.Decimals was equal to 2, then LTable.Values[Col,Row] := 0.231231 would be equivalent to LTable.Values[Col,Row] := 0.23 . Using composition is quite innefficient in this case, as it would require me to hold a TTable as a private field, and then delegate an analog collection of methods and properties on the new class to that field, with the one exception of the write method of the Values property. What are your thoughts? Is this a "necessary evil&

Hello

Hello, I'm doing a program that needs to run a program by rescue a console and data returned from the execution of that program. But I have some kind of mistake, because with this setting:     mCP.WaitForTerminate: = true;     mCP.ConsoleOptions: = [coOwnerData];     mCP.OnTerminate: = functionCatchData; if I put mCP.StopWaiting; I did not catch any event when the execution of the console. However, if I don't put him mCP.StopWaiting; yes I OnTerminate capture the event. What can I do? Kind regards and thank you very much

Originally shared by Boian Mitov

Originally shared by Boian Mitov If you are in LA Area, you can come and see my sessions or Arduino, Delphi and Visual Studio this weekend: http://www.socalcodecamp.net/session.aspx?sid=31589934-bc28-4e83-8bfb-76b4c1d04354 http://www.socalcodecamp.net/session.aspx?sid=ef1b405b-b330-419f-9794-77257a6f1dc8 http://www.socalcodecamp.net/session.aspx?sid=5629d264-1aae-4dd4-b26d-312f1afe23ee #Arduino   #Visuino   #Delphi   http://www.socalcodecamp.net/session.aspx?sid=31589934-bc28-4e83-8bfb-76b4c1d04354

More Build Machine Woes:

More Build Machine Woes: Our build machine, when building with Seattle, is not always putting MAINICON into the EXEs.  I've looked with a resource explorer.  They simply aren't there.  But sometimes the are (We build like 200 different EXEs).   In each case, the main icon is set in the project options, the DPR has the {$R *.RES} right there, and the RES file is part of the build. Any thoughts anyone?

Hi

Hi, I'm having a problem with the RESTDemo (RestClient, RESTRequest, RESTResponse).  I converted the Google Tasks tab to Google's Directory API (Domain contacts or the "Global Address List" I have it working but I cannot figure out how to use the refresh token to acquire fresh access tokens so as to avoid excessive authentications by the user. This should be fairly easy but I can't get it right. Can anyone provide me with a simple project or direct me to one that can show me how to do this? Thanks in advance for any help with this.

Hints: 0 - Warnings: 0 - Errors: 0

Hints: 0 - Warnings: 0 - Errors: 0 RESULT! [UPDATE] One hint managed to sneak in today in new code - but I nixed it :) [/UPDATE] A
Title

Hi friends!

Image
Hi friends! I've always used and I like the Delphi auto-formatter feature to realign my code. I know some dislike that but me I like it. It makes code aligned fine, uniform and constant and I am happy with that. BUT sometimes I would like the formatter to ignore a section. For example, some section with tables where I intentionnally include spaces to keep things aligned like image attached. But when I will reformat this, I will lose all these aligments I did. My question is "Is there a way to type something that will instruct the formatter to ignore that section?" I've seen other program editor like NetBeans where we can add stuff like "// " and it instructs the editor to collapse the section between these delimiters. May we have the same with the Delphi Editor to avoid auto-formatting on a section? Something like: // My        code        with        spaces        anywhere     // Please, don't answer me to don't do auto-formatting because I like mor

Not bad, and still mostly works in Windows 8

Not bad, and still mostly works in Windows 8 https://delphihaven.wordpress.com/2010/04/19/setting-up-a-custom-titlebar/

We at Elevate Software are pleased to announce the release of Elevate Web Builder 2.03:

Image
We at Elevate Software are pleased to announce the release of Elevate Web Builder 2.03: http://www.elevatesoft.com/blog?action=view&id=elevate_web_builder_203_released Elevate Web Builder is a rapid application development environment that allows you to create beautiful, full-featured web applications that run in any modern browser. There is absolutely no need to learn JavaScript in order to use Elevate Web Builder. The product includes an Object Pascal compiler that emits all necessary HTML and JavaScript during compilation. The compiler can also automatically compress the emitted JavaScript to make your web applications small and virtually unreadable by another developer. You can then quickly and easily deploy your application to the destination of your choosing. With Elevate Web Builder, you can continue to leverage existing Object Pascal language skills to build web applications. You can find out more information about Elevate Web Builder here: http://www.elevatesoft.com/produc

Fun issue of the day: having a "too large" internalcalc field in a ClientDataSet nukes all field values on Post when appending a record.

Fun issue of the day: having a "too large" internalcalc field in a ClientDataSet nukes all field values on Post when appending a record. I haven't found the exact limit but Size = 50000 seems OK, but if I raise it to 90000 then all other field values get nuked (zero'd) when I do Post. No errors of course, just blank values where there shouldn't be...

This is so OT i'm ashamed already... but this is the only group where i know there's serious people available and not just gold diggers :)

This is so OT i'm ashamed already... but this is the only group where i know there's serious people available and not just gold diggers :) When i edit HTML and CSS (5 and 3 mainly) i have been using two different IDEs up to this point. One's PHPStorm and one's EditPad Pro. I hand-roll these two description languages and i want CodeInsight-like functionality, help with specs/standards and some productivity functionality. (In-app-browser preview/debug is not the first need, but i come across php-work every now and then and a php debugger might come in handy.) PHPStorm (JetBrains) is way to heavy for this kind of work and EditPad Pro lacks all but color coding (not a surprise - it's the intent of that product). So i've been checking out some other various stuff: HTML-Kit Tools: A lot of special solutions that i'm not a 100% comfortable with. phpDesigner 8: Not 100% stable but has potential. Written i Delphi. TopStyle 5: Unstable but looks nice enough. CoffeeCup

IDE cannot rename a project starting with a number. Can anyone confirm this with Delphi Seattle 10 ?

IDE cannot rename a project starting with a number. Can anyone confirm this with Delphi Seattle 10 ? Steps : - Create new console application - In the project pan, select "Project1.exe" - Left click and choose "rename" - rename it to "1Project.exe" and validate with enter key Actually : unknown error (catch by MadExcept) Expected : project should be renamed #10Seattle

I think this is great news:

I think this is great news: Component Suite: Cross-Platform (Windows, Mac, Linux, etc.)  ... Bronze: Embarcadero Technologies, RAD Studio BTW, Gnostice has also figured (in Multi-Document Processing) ;-). The reason I include this here is that it's an award for our Delphi team as well. Everybody on our team has made a contribution to our XtremeDocumentStudio product across each of the platforms we support - Delphi, .NET and Java. What we do for one platform benefits the others. Thank you all :-) http://govoc.us/AADuR8

Originally shared by Boian Mitov

Originally shared by Boian Mitov Just updated the free open source BMThread C++ Builder components to support 10 Seattle: http://www.mitov.com/free_downloads The component set allows you to easily add threads to your C++ Builder application, by simply dropping a thread component. The component also will generate the basic synchronization code for you. The pack also includes a thread progress update component that can be used to monitor and update the progress of different threads. http://www.mitov.com/free_downloads

Hello!

Hello! I am working on an "Add image" dialog for an HTML editor. When I select a picture file, I would like to - you guessed it - load it into a TPicture object instance :) This is my code: procedure TsmAddImage.ShellLVSelectItem(Sender: TObject; Item: TListItem;   Selected: Boolean); begin   inherited;   if ExtractFileName( FileName ) <> '' then   begin     FPicture.LoadFromFile( FileName );     UpdateProperties;   end; end; So, when it comes to loading it raises an exception. Jpeg and PngImage are in the uses but this happens with bitmaps as well. Any idea? Have you ever seen something such as this? A