Posts

This is interesting regarding "component management". Look at the download numbers: 250 million .Net downloads and for Java 13 billion! Oh how I would love to get my purchased components and/or open source components form "component manager", and have them auto install into the IDE!

This is interesting regarding "component management".  Look at the download numbers:  250 million .Net downloads and for Java 13 billion!  Oh how I would love to get my purchased components and/or open source components form "component manager", and have them auto install into the IDE!    http://sdtimes.com/sonatype-brings-nuget-component-management-net-developer-community/?utm_content=buffer01bf4&utm_medium=social&utm_source=twitter.com&utm_campaign=buffer

So, we've had some issues with Crystal Reports taking a lot of time generating even simple reports at some of our customers, often a minute or two.

So, we've had some issues with Crystal Reports taking a lot of time generating even simple reports at some of our customers, often a minute or two. We had assumed Crystal was just doing silly SQL stuff which would hurt on a large database, which our customers typically have. After doing some database tracing it turns out that, yes, CR does indeed issue some hairy SQL, but for these reports the queries finish in less than 2 seconds. So clearly that's not the issue... However what we also noticed was that there was a significant gap between the time the CR database connection was initialized and the first "report query" was issued. For a report which we waited 50 seconds for the gap was 45 seconds... So it would seem CR spent a lot of time loading the report. Armed with this we tried running the reports from the users local drive instead of the shared network drive. Report suddenly took 5 seconds instead of 1 minute! Now, the report files are typically 500kB to 1MB in s...

I have a question:

I have a question: if using a php client for datasnap and know the context and the method the method works without problem, no matter if I have or not it performs authentication, it is as if the session control was not working, if performed some control http: // localhost: 8080 / datasnap / rest / servermethods / echoString / test does not send any session in the header and yet it performs, I know that using authorization work, then what good is the control session will have to put one in anotattion each method, it was not enough and verify who is calling this with a valid session? I have to do this manually ??? if every execution method verify that the client is sending a valid session and if this is in tdssessionmanager and not expired, has some smarter way to do ????

XML Data Binding Wizard creates incorrect integer field mappings

XML Data Binding Wizard creates incorrect integer field mappings https://quality.embarcadero.com/browse/RSP-9591 https://quality.embarcadero.com/browse/RSP-9591

We're pleased to announce the availability of TMS Pack for FireMonkey v2.6 with 5 new components! http://www.tmssoftware.com/site/tmsfmxpack.asp

Image
We're pleased to announce the availability of TMS Pack for FireMonkey v2.6 with 5 new components!  http://www.tmssoftware.com/site/tmsfmxpack.asp What's new & improved in v2.6: - New: TTMSFMXTaskDialog : Highly customizable taskdialog with expandable text and footer - New: TTMSFMXCheckGroup and TTMSFMXRadioGroup : Components to display a group of checkbox/radiobutton controls - New: TTMSFMXFontNamePicker and TTMSFMXFontSizePicker : Highly styleable and customizable font name and font size selector - New: Mode property to configure default / extended color set in TTMSFMXColorPicker and TTMSFMXColorSelector - Various smaller fixes & improvements TMS Pack for FireMonkey is also part of TMS Component Studio for FireMonkey: http://www.tmssoftware.com/site/tmsfmxstudio.asp

I have some problems with the discovering of the bluetooth devices (for a specific device model) with the examples/methods in the XE7 samples (for Android).

I have some problems with the discovering of the bluetooth devices (for a specific device model) with the examples/methods in the XE7 samples (for Android). If I try to discover it from the Settings->Bluetooth - this device is discoverable at 100% of the cases. :( ... Can someone send me an example or link for realisation of the discovery using JNI bridge? Or to improve the bluetooth discovering example in the project "ClBluetooth.dproj"? You can found it at: C:\Users\Public\Documents\Embarcadero\Studio\15.0\Samples\Object Pascal\Mobile Samples\Device Sensors and Services\Bluetooth\Classic Bluetooth Basic app

Another bug in XE7?

Another bug in XE7? Bitmap creation failed when calling from non-main thread (FMX.Android) https://quality.embarcadero.com/browse/RSP-9589 https://quality.embarcadero.com/browse/RSP-9580

Does anyone know - which of the projects should be used for XE7:

Does anyone know - which of the projects should be used for XE7: 1.SynEdit?     http://sourceforge.net/projects/synedit/ or 2.SynEdit New?     http://sourceforge.net/projects/syneditnew/ What are the differences?

BMP Buffer Overflow hotfix (round 2) has been released.

BMP Buffer Overflow hotfix (round 2) has been released. XE7 -  http://cc.embarcadero.com/Item/30010 and back port to XE6 (updated) -  http://cc.embarcadero.com/Item/29913 . Details page have not bee updated (yet) is here:  http://support.embarcadero.com/article/44015 http://cc.embarcadero.com/Item/30010

BMP Buffer Overflow hotfix (round 2) has been released. XE7 - http://cc.embarcadero.com/Item/30010 and back port to XE6 (updated) - http://cc.embarcadero.com/Item/29913.

BMP Buffer Overflow hotfix (round 2) has been released. XE7 -  http://cc.embarcadero.com/Item/30010 and back port to XE6 (updated) -  http://cc.embarcadero.com/Item/29913 . Details page have not bee updated (yet) is here:  http://support.embarcadero.com/article/44015 http://cc.embarcadero.com/Item/30010

CnPack for XE7 has been offically released. http://www.cnpack.org/

CnPack for XE7 has been offically released.  http://www.cnpack.org/ http://www.cnpack.org/showlist.php?id=39&lang=en

Anyone know what might cause a dbExpress TSQLQuery with a simple "select * from sometable where pkey = :pkey" statement to hold a row lock on the selected row until the TSQLQuery is closed?

Anyone know what might cause a dbExpress TSQLQuery with a simple "select * from sometable where pkey = :pkey" statement to hold a row lock on the selected row until the TSQLQuery is closed? Normally I've see it hold a schema lock, but in this one instance I'm seeing it holding a row lock as well. I can't seem to figure out why my one query does this and not others though...

Using XE6 Update1, Vcl.

Using XE6 Update1, Vcl.Styles and FastMM 4.991 in full debug mode, I'm getting block being modified after being freed followed by out of memory error. Has anyone else seen this ? I can reproduce it in a small app that has a main menu with a drop down menu with one item.  That item does a ShowMessage in its on click event.  The Style is set using the application options, and FastMM is included in the dpr, overriding the built in version shipped with Delphi.  Run the app and click on the menu item and then the drop down item.  Error message is display from FastMM, 'block has been modified after being freed', followed by Out of Memory exception. Any ideas about how to get around this, other than not using full debug mode ?  It all worked fine in XE4. Sue The differences in options between the distributed FastMM4Options.inc and the one I use are : $define UseRunTimePackages $define AssumeMultiThreaded $define NoDebugInfo $define CheckHeapForCorruption $define FullDebugMode $def...

Using XE6 Update1, Vcl.Styles and FastMM 4.991 in full debug mode, I'm getting block being modified after being freed followed by out of memory error.

Using XE6 Update1, Vcl.Styles and FastMM 4.991 in full debug mode, I'm getting block being modified after being freed followed by out of memory error. Has anyone else seen this ? I can reproduce it in a small app that has a main menu with a drop down menu with one item.  That item does a ShowMessage in its on click event.  The Style is set using the application options, and FastMM is included in the dpr, overriding the built in version shipped with Delphi.  Run the app and click on the menu item and then the drop down item.  Error message is display from FastMM, 'block has been modified after being freed', followed by Out of Memory exception. Any ideas about how to get around this, other than not using full debug mode ?  It all worked fine in XE4. Sue The differences in options between the distributed FastMM4Options.inc and the one I use are : $define UseRunTimePackages $define AssumeMultiThreaded $define NoDebugInfo $define CheckHeapForCorruption $define FullDebugMode $def...
It's incredibly satisfying when you're adding a new feature to a program and by the time you're done the SLOC is 300 less than when you started.

In XE5 Delphi finally made it easy for us to get the locations of "Known Folders", adding methods to TPath that do the API calls for you. In earlier Delphi versions you are still stuck with calling the appropriate API's. Here's how you can achieve a TPath like experience yourself.

In XE5 Delphi finally made it easy for us to get the locations of "Known Folders", adding methods to TPath that do the API calls for you. In earlier Delphi versions you are still stuck with calling the appropriate API's. Here's how you can achieve a TPath like experience yourself. http://softwareonastring.com/2014/09/28/how-to-get-the-location-of-the-users-my-documents-folder
Has anybody thought of replacing the presentation of data modules? I hate them little boxes, can't find anything there. On the same vein, is anybody still using data modules? :-)

Testing the new Insert and Delete XE7 that work with arrays (see http://blog.marcocantu.com/blog/2014_september_dynamic_arrays_delphixe7.html)

Testing the new Insert and Delete XE7 that work with arrays (see http://blog.marcocantu.com/blog/2014_september_dynamic_arrays_delphixe7.html ) Wow, they are great. Not only they eliminate the need of that typical loop codes we all have to add and remove items in arrays. Speed is fantastic, for example 3 times faster for arrays with 1000 items, ( unless the Move function is already used to shift the array memory). There's one case traditional loops are faster though, when items are of type string or records with string fields (or any managed type I guess). http://blog.marcocantu.com/blog/2014_september_dynamic_arrays_delphixe7.html

When testing code I have the source files in "C:\delphi\test" subfolders. Once I am happy of the tests I copy the code into "C:\delphi\production" and compile.

When testing code I have the source files in "C:\delphi\test" subfolders. Once I am happy of the tests I copy the code into "C:\delphi\production" and compile. In order to double check I have migrated the code correctly and the code in production is not broken, I would like to run the same tests for the code in "C:\delphi\production" too. In order to do so I thought it was a good idea to set up two Build configurations in the DUnit Project file: "Test" and "Production" and then via compiler directive $IfDef to connect the units to the Project in the following way: program DUnitTestProject; uses   Vcl.Forms,   SysUtils, System.Classes,   .....   {$ifdef Test}     unit1 in 'C:\delphi\test\abc\unit1u.pas',     unit2 in 'C:\delphi\test\abc\unit2u.pas';     .....   {$endif}   {$ifdef production}     unit1 in 'C:\delphi\production\abc\unit1u.pas',     unit2 in 'C:\delphi\production\abc\unit2u.pas';   {$endif} ....

The Delphi IDE HTML wysiwyg editor. I've never paid much attention to this, but started using it as I needed to resource an html page.

The Delphi IDE HTML wysiwyg editor. I've never paid much attention to this, but started using it as I needed to resource an html page. The question is what does Delphi use for the editor? And can it be used in a VCL application? I'm probably being lazy, but I guess someone here can give me the answer quicker than I can dig around and find it :-)

Every so often I go back from the latest version of Delphi to older ones (yes, XE2 is old :)) And there seem to be quite a few subtle changes:

Every so often I go back from the latest version of Delphi to older ones (yes, XE2 is old :))  And there seem to be quite a few subtle changes: * Searching: when the search term isn't found, XE7 leaves the cursor where it was, instead of taking you to line 1 in the file * Class completion: seems to be particularly finicky in XE2 compared to XE7; in XE2 a method with a syntax error (eg missing semicolon in some places, or even a reference to the method you are trying to class-complete) prevents class completion working, but in XE7 it seems to work far more often * Flicker: maybe it's my imagination, but the XE2 code editor flickers a lot more than XE7's ...and a few other things I've forgotten. All small, but with a great difference on the experience of using the IDE. With the possible exception of search behaviour, these are not things I recall reading about in the release notes. Going from old to new, I noticed nothing, which I guess is always the way when something ju...

I am a non-mobile dev and user. That said, I am exploring mobile devices, and am curious what recommendations people here may offer, and why. I recognize the inevitability of these devices, even as I scoff at the notion of their replacing desktops. But I digress....

I am a non-mobile dev and user. That said, I am exploring mobile devices, and am curious what recommendations people here may offer, and why. I recognize the inevitability of these devices, even as I scoff at the notion of their replacing desktops. But I digress.... My considerations: - reasonable cost (bye-bye Apple) - reasonable size (my s4 phone is nice as a phone, not as a tablet) - ability to connect external devices (kb/mou/display) So in general, I seek a device which won't cause me to throw it at the wall when used on its own, and which may serve as a reasonable device for early explorations of mobile dev work.

Java2Op, great tool !

Java2Op, great tool !  Is there any info about error messages or a verbose mode?  I get a "Generic Type not found" error when processing a jar library, with no more clues.  I've tried specifying just a very small class in the jar with the -classes parameter, same problem.
Java2Op, great tool !  Is there any info about error messages or a verbose mode?  I get a "Generic Type not found" error when processing a jar library, with no more clues.  I've tried specifying just a very small class in the jar with the -classes parameter, same problem.

Second VCL in Delphi XE7 blog post. This time the focus is styles: http://blog.marcocantu.com/blog/2014-september-vcl-xe7-styles.html

Second VCL in Delphi XE7 blog post. This time the focus is styles:  http://blog.marcocantu.com/blog/2014-september-vcl-xe7-styles.html http://blog.marcocantu.com/blog/2014-september-vcl-xe7-styles.html

Poor Quality Icon Rendering in VCL Windows App

Image
Poor Quality Icon Rendering in VCL Windows App My application shows a poor quality icon in the task bar and when cycling through open apps using Alt-Tab. See the attached image. Yet I have created versions of the icon in all different sizes at 24 bit and True Color plus Alpha Channel. Has anyone else had this problem? How do you fix it? Thanks - Steve
Anyone know if edn.embarcadero is down ?

Maybe somebody is having the same problem, an OSX app runs fine when compiled in "Normal" mode, but crashes just...

Maybe somebody is having the same problem, an OSX app runs fine when compiled in "Normal" mode, but crashes just running it in "Application Store" mode with no changes. I can't debug it (ide shows a PAServer error "Cannot connect to host"), so I'm stuck. Compiler options, Entitlement and Provisioning are correct, and deploy works fine in both modes.
Maybe somebody is having the same problem, an OSX app runs fine when compiled in "Normal" mode, but crashes just running it in "Application Store" mode with no changes. I can't debug it (ide shows a PAServer error "Cannot connect to host"), so I'm stuck. Compiler options, Entitlement and Provisioning are correct, and deploy works fine in both modes.

The NexusDB Embedded Free version is now available with XE7 support.

The NexusDB Embedded Free version is now available with XE7 support. http://www.nexusdb.com/support/index.php?q=FreeEmbedded