Posts

Showing posts from December, 2014

Happy Delphi coding year to all!

Happy Delphi coding year to all! How would be 2015 like for our little rodents? Due to popular request of several users of mORMot, we identified and designed some feature requests dedicated to BigData process. http://blog.synopse.info/post/2014/12/31/The-future-of-mORMot-is-BigData
What's the deal with SynEdit? What is the better branch for XE+?

From our fearless leader, a year ago:

From our fearless leader, a year ago: "In January, the Google+ Delphi Developers Community will have it's one year anniversary. With 2400 members, as well as 300+ members in the Delphi iOS & Android Community and the Delphi Component Directory, I really appreciate and enjoy the posts and discussions about my favorite tool!"  -- Lars Forsdal With nearly twice the members, I'd say it has been a good year!

Is there an tool that would register (optional) editor for .Caption property (For TLabel etc) that would allow me easily to edit multi-line captions.

Is there an tool that would register (optional) editor for .Caption property (For TLabel etc) that would allow me easily to edit multi-line captions. or I just have not found sane way to do them :D Would be cool if it also would set the WordWrap and autosize properties also, and maybe height... It would be sweet...

Hi

Hi, I am getting the following error when compiling my project to IOS device **********************************   file not found: /System/Library/Frameworks/SystemConfiguration.framework/SystemConfigurationld: file not found: /System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration *********************************** I have already applied the hot fix https://forums.embarcadero.com/thread.jspa?threadID=109979 Just to test I created a simple form project and it did compile and deployed. Thanks Razal
Don't forget to tweet Delphi and #code2014   on Twitter
Question of the Day: Under what circumstances might a simple string assignment -- assigning one string variable to another -- cause an access violation?

Find out how to connect to SQL Server from Delphi XE7 on Mac OS X http://goo.gl/8AWFwC

Find out how to connect to SQL Server from Delphi XE7 on Mac OS X http://goo.gl/8AWFwC http://goo.gl/8AWFwC

I read in a old release note

I read in a old release note "The Win32 SOAP server support generates the older RPC|Encoded style WebServices. If you want a document/literal service or a service of any other WS-I compliant style, you should build your SOAP server using Delphi Prism, which supports the SOAP specifications that are supported by the .NET framework, including WS-I compliant styles." So what's Rad Studio Soap framework for, since it's not possible to develop Interoperable Web Services? Would not be time for embarcadero to fully support Soap interoperability? With C++ Builder, would be possible to write a WS-I compliant soap service with gsoap, but i think that is poor for a product that presents itself as a top-level ide do not cover basic functionalities such this.

How can I change font & face color properties of the delete button at runtime( TListview)?

Image
How can I change font & face color properties of the delete button at runtime( TListview)?

Something safe for New Year's Eve :)

Something safe for New Year's Eve :) Jan Horn wrote this, December the 29th in 2001! Just add Variants to the uses clause in the .dpr file to get past the "NULL not found" error. Someone should port this to FireMonkey :) Update: Upon trying to find Jan's current whereabouts, I sadly learned that Jan Horn no longer is among us.  May he rest in peace, and be remembered fondly. http://www.sulaco.co.za/news_in_loving_memory_of_jan_horn.htm #opengl     #sourcecode   http://www.sulaco.co.za/opengl_project_fireworks.htm

Blog post "Delphi Blogs of the Week #24" at http://blog.marcocantu.com/blog/delphi_blogs_week_24.html

Blog post "Delphi Blogs of the Week #24" at http://blog.marcocantu.com/blog/delphi_blogs_week_24.html http://blog.marcocantu.com/blog/delphi_blogs_week_24.html

FireMonkey's TOpenDialog on OSX seems buggy. The file listing isn't being drawn properly. Sometimes it's blank, despite the scroll bar indicating that there are many items. Scrolling around would exhibit drawing issues as well. Anyone else experiencing this issue?

Image
FireMonkey's TOpenDialog on OSX seems buggy. The file listing isn't being drawn properly. Sometimes it's blank, despite the scroll bar indicating that there are many items. Scrolling around would exhibit drawing issues as well. Anyone else experiencing this issue? I'm using Delphi XE7 Upd1 - the program is running on OSX 10.9 I also noticed the bottom corners are not rounded.

It seems that FireMonkey's TForm has sharp bottom corners on OSX. Native OSX applications normally have rounded corners on all the four corners. How can I make TForm's bottom corners rounded?

Image
It seems that FireMonkey's TForm has sharp bottom corners on OSX. Native OSX applications normally have rounded corners on all the four corners. How can I make TForm's bottom corners rounded?

I have custom Panel-component on my hands, I've done some enhancements to it (after inherited it), now I would need to have kind of functionality to detect when the mouse enters and leaves certain area of the component. I would like to change mouse cursor while user covers on the Caption I've drawn, if component is at certain state.

I have custom Panel-component on my hands, I've done some enhancements to it (after inherited it), now I would need to have kind of functionality to detect when the mouse enters and leaves certain area of the component. I would like to change mouse cursor while user covers on the Caption I've drawn, if component is at certain state. Any ideas in what component to look for help, I tried to look on the VCL but did not happen to find any easy way to get mouse movements on the Component. Any pointers where to look from VCL, JVCL or some other publicly available source. have not done too much Custom component development, so any help is going to make my (second) day on this ;)

How to Display Menu Item Hints in Delphi Applications (Revisited)

How to Display Menu Item Hints in Delphi Applications (Revisited) http://capecodgunny.blogspot.com/2014/12/how-to-display-menu-item-hints-in.html

Hi

Hi,  I am trying to modernize a UI of my application to reflect a current trend of flat design. Can someone recommend a source of the icons for a desktop app ? Thanks,

Hi

Hi, I just updated DDL (src,demo, & wiki). The new update include: +BugFix for instruction decoding. +New BeginHooks/EndHooks functions to speed up hooking engine when hooking a lot of functions. +Updating Wiki pages for v2. https://code.google.com/p/delphi-detours-library/ https://code.google.com/p/delphi-detours-library

Hi guys. I'm trying to solve an odd problem with PNG components in a DLL expert, and I'm stuck. Any ideas? Details are:

Hi guys. I'm trying to solve an odd problem with PNG components in a DLL expert, and I'm stuck. Any ideas? Details are: I've got a couple of bug reports for the Bookmarks plugin that when PngComponents ( http://cc.embarcadero.com/item/26127 ) are installed in XE2, trying to do something like (at designtime) load a PNG file in the a TPngBitBtn's PngImage property fails with an exception "Invalid graphic format". I can reproduce this, and it works fine when the plugin is not installed, so having the expert present is definitely the cause. According to one of the bug reports it doesn't happen in other IDE versions, just XE2. Debugging it under the IDE itself doesn't help - the call stack is: [20FE00D4]{designide160.bpl} PicEdit.TGraphicProperty.Edit (Line 272, "PicEdit.pas" + 10) + $12 [20878DB6]{coreide160.bpl} PropInsp.TPropertyInspector.PropListEditDblClick (Line 871, "PropInsp.pas" + 18) + $12 [2111DA0D]{vclide160.bpl} IDEInspListB

I've a VM with many Delphi versions and want to clean up space from %ProgramData% to install more.

I've a VM with many Delphi versions and want to clean up space from %ProgramData% to install more. I think somewhere in the comments it was mentioned what to delete from %ProgramData% to lessen the disk space used by Delphi installations. But I cannot find it searching either from plus.google.com itself, or using site: plus.google.com in Google Search. The VM is on an SSD, and the GUID directories there total to about 50 gigabytes. So any reminder what I can delete there would be much appreciated (:

A Backup Horror Story

A Backup Horror Story My second job (starting 1992) was for a company named Falcon Information Services, and my task was to rewrite a DOS based technical analysis program written in TP - for TPW for Windows.  Incidentally, my first development task ever for Windows. It was a small company, only 15 people, but with a significant market share in the financial market, and it was an awesome place to work. One day, my boss told me the story of the backup system they bought a few years before I started.  At the time, their backbone data delivery was all done on Unix (Solaris), and the operations machine was the development machine as well.  So, one day, they have a discussion: "Perhaps we should get a backup system? We are a bit vulnerable".  So, they bought a high end backup system, installed it, and made a full disk backup. "We should try a restore too, so that we know that it works". They did, and it didn't.  It was Friday evening, and the disk partitions were all

OK, for a sometimes, part-time exploration of Android on XE7, any recommendations on a cheap tablet? Don't need lots of capabilities, just a reality check.

OK, for a sometimes, part-time exploration of Android on XE7, any recommendations on a cheap tablet? Don't need lots of capabilities, just a reality check. UPDATE: I am told that in future, OS updates will require a device with 2GB RAM. If that is true, it puts another spin on the choices -- basically that a lesser one is a snapshot of history, so needs to be very cheap.

Hey guys, I was just wondering what would be the best approach of having multiple screens (forms) on a mobile app, that we can interchange with and have global procedures and variables, instead of using tabs? My app connects to the server and then downloads the database, but I am giving people the option to either have it local or accessed via the cloud, then after access is confirmed, the form display the results of the database on the 3rd screen. Only on the 3rd screen I am going to use tabs to have different means to search the database.

Hey guys, I was just wondering what would be the best approach of having multiple screens (forms) on a mobile app, that we can interchange with and have global procedures and variables, instead of using tabs? My app connects to the server and then downloads the database, but I am giving people the option to either have it local or accessed via the cloud, then after access is confirmed, the form display the results of the database on the 3rd screen. Only on the 3rd screen I am going to use tabs to have different means to search the database. So basically there is 3 different screens for now (login/signup, Option to download DB or access via cloud and the database results screen), what would be the easiest way to implement multiple screens(forms) and have the data between them interchangeable and also have global vars and procedures?

20% Discount on all products till the end of the year!

20% Discount on all products till the end of the year! Please use coupon code DELP-MDL8-EYYG http://delphihtmlcomponents.com/ http://delphihtmlcomponents.com
Have a happy, safe and bug free Christmas holiday!

http://andy.jgknet.de/ is down for a couple of days :(

http://andy.jgknet.de/ is down for a couple of days :( Any news about it? Andreas Hausladen
Hello !!! :) I have 2 pc's . In first pc I have an access 2003 (mdb) file and I would like to write a database program which I will install to both pc's. is it possible from both pc's to use this mdb file in common or I need to install MySQL server ? Thanks a lot for your time.

Blog post "Spelunking Delphi RTL new Features since XE2" at http://blog.

Originally shared by Marco Cantù Blog post "Spelunking Delphi RTL new Features since XE2" at http://blog.marcocantu.com/blog/2014-december-spelunking-rtl-since-xe2.html http://blog.marcocantu.com/blog/2014-december-spelunking-rtl-since-xe2.html

Originally shared by Marco Cantù

Originally shared by Marco Cantù Blog post "Spelunking Delphi RTL new Features since XE2" at http://blog.marcocantu.com/blog/2014-december-spelunking-rtl-since-xe2.html http://blog.marcocantu.com/blog/2014-december-spelunking-rtl-since-xe2.html

Blog post "Spelunking Delphi RTL new Features since XE2" at http://blog.marcocantu.com/blog/2014-december-spelunking-rtl-since-xe2.html

Blog post "Spelunking Delphi RTL new Features since XE2" at http://blog.marcocantu.com/blog/2014-december-spelunking-rtl-since-xe2.html http://blog.marcocantu.com/blog/2014-december-spelunking-rtl-since-xe2.html

Season's Greetings from Embarcadero

http://edn.embarcadero.com/article/44185

Are there any Delphi developers considering, or who would consider, moving to New Zealand ?

Are there any Delphi developers considering, or who would consider, moving to New Zealand ? Fancy spending your next Christmas having a BBQ on the beach ?  :) It's not only a beautiful country but also a great place to live. I work for one of NZ's largest and most respected IT companies and we have a need for a senior Delphi developer to be based in Auckland.  Initially the role will involve maintaining and enhancing legacy Delphi applications (5/7) but you will be expected to also develop your .Net and mobile skills, among others. The role is highly autonomous, working directly with clients and some time will be spent on site with travel outside of Auckland being involved.  As a result we need someone who is not only technically proficient but also professional, presentable and articulate. There are various options for obtaining the right to live and work in NZ, especially for high skilled migrants such as developers who are in high demand here.  I myself am originally from th
Next OTA question: Is there a way to get the name of the method the cursor is in? I saw some plugins (like Castalia) showing that in some toolbars - or is that done by some custom pas parser?

Does anyone know how I can run the selected project with the OTA? I found the interface to compile it but not for running it.

Does anyone know how I can run the selected project with the OTA? I found the interface to compile it but not for running it. Edit: to clarify - I don't want to run the project under the debugger if possible.

There have not been much of the Talk of MemoryManagers lately, did quick search and there was even new contender. None of them seems to be in very active development tough.

There have not been much of the Talk of MemoryManagers lately, did quick search and there was even new contender. None of them seems to be in very active development tough. Ones that have been looking are : - FastMM (No signs of the Version 5) - ScaleMM - Interesting (two versions) - SynScaleMM - Fork of the previous - SapMM - Just found out about this, but tries to tackle multithreading issue. (What did I miss???) Someone using other than FastMM 4.xx in production?

Hi all

Hi all, anybody knows if exist a llrp component for delphi ?
TurboPower SysTools version which supports Delphi XE7..?

Recently I've ported a huge chunk of code form C++ to Delphi.

Recently I've ported a huge chunk of code form C++ to Delphi. The code is full with pointers. Despite project compiling and kind of working, I'm seeing some weird results from time to time, which leads me to think there might be bugs with pointer handling - I've already found a few. The problem is that they are really hard to track down. Maybe you have some tips, for such cases:   var a: PSingle;   GetMem(a, SizeOf(Single));   a^ := 1.1;   someFunc(@a);// <<-- Bug here. someFunc needs PSingle, but get a PPSingle instead In the example, there's erroneous @ used. Worst of all program does not crash, just deals with that erroneous data and keeps running. How do you track down pointer bugs like these?

Recently I've ported a huge chunk of code form C++ to Delphi. The code is full with pointers. Despite project compiling and kind of working, I'm seeing some weird results from time to time, which leads me to think there might be bugs with pointer handling - I've already found a few. The problem is that they are really hard to track down.

Recently I've ported a huge chunk of code form C++ to Delphi. The code is full with pointers. Despite project compiling and kind of working, I'm seeing some weird results from time to time, which leads me to think there might be bugs with pointer handling - I've already found a few. The problem is that they are really hard to track down. Maybe you have some tips, for such cases:   var a: PSingle;   GetMem(a, SizeOf(Single));   a^ := 1.1;   someFunc(@a);// <<-- Bug here. someFunc needs PSingle, but get a PPSingle instead In the example, there's erroneous @ used. Worst of all program does not crash, just deals with that erroneous data and keeps running. How do you track down pointer bugs like these?
Hey Group,What is the current version of kbmMemTable compatible with XE7 ?

PostgresDAC 3.0.0 Beta 1 Released

PostgresDAC 3.0.0 Beta 1 Released New major 3.0.0 version introduces Fetch-On-Demand asynchronous mode for TPSQLQuery, support for built-in range types, support for geometric types. http://microolap.com/products/connectivity/postgresdac/

XE4 menu items not displaying hints.

XE4 menu items not displaying hints. I never noticed this before but hints do not display when I hover over menu items. I'm running XE4. Hints are working just fine for all other components. Will someone with XE4 try adding a hint to a menu item and let me know if the hint shows when you hover over it. Thanks.

XE4 menu items not displaying hints. I never noticed this before but hints do not display when I hover over menu items. I'm running XE4. Hints are working just fine for all other components.

XE4 menu items not displaying hints. I never noticed this before but hints do not display when I hover over menu items. I'm running XE4. Hints are working just fine for all other components. Will someone with XE4 try adding a hint to a menu item and let me know if the hint shows when you hover over it. Thanks.

Packt Publishing has a sale on their ebooks right now, at $5 each - and they published Daniele Teti's Delphi Cookbook. Could be a good opportunity to buy it!

Packt Publishing has a sale on their ebooks right now, at $5 each - and they published Daniele Teti's Delphi Cookbook . Could be a good opportunity to buy it! https://www.packtpub.com/packt5dollar/?utm_source=saddams&utm_medium=referral&utm_campaign=5D2014 You can read several reviews of it here (all of which were positive): * My review:  http://parnassus.co/review-delphi-cookbook-daniele-teti/ * Simon Stuart's review:  http://otapi.com/2014/10/31/book-review-delphi-cookbook-by-daniele-teti/ * Jeroen Wiert Pluimers's review:  http://wiert.me/2014/12/01/book-review-delphi-cookbook-by-daniele-teti-packt-publishing/ * The Delphi Disciple's review:  http://delphidisciple.blogspot.com/2014/12/delphi-cookbook-review.html * and the book's own website:  http://www.danieleteti.it/delphi-cookbook/ (Note re the publisher's link: they sent me a promotional email and asked me to use the above link if I posted on social media. ** Edit: turns out they are offering me t

Many of you were asking for some online demos of Thinfinity VirtualUI. We've just finished setting up two applications for you to try. The first one is the famous "Fish Facts" in two flavors, basic UI virtualization and browser and web resources integration. The second one is a nice open source .NET application that allows you to manage your personal finances.

Image
Many of you were asking for some online demos of Thinfinity VirtualUI. We've just finished setting up two applications for you to try. The first one is the famous "Fish Facts" in two flavors, basic UI virtualization and   browser and web resources integration. The second one is a nice open source .NET application that allows you to manage your personal finances.  To see the demos you have to go to the VirtualUI's web page in our web site: http://www.cybelesoft.com/thinfinity/virtualui/   I would appreciate very much your feedback, specially regarding the performance.

Dec 31st: Last Chance to Upgrade to XE7 from XE2

Image
Dec 31st: Last Chance to Upgrade to XE7 from XE2 ** DO I UPGRADE TO XE7 BEFORE DEC 31? ** Talking strictly upgrading from XE2 PRO > XE7 PRO (not using FireDAC or Mobile Add-On), the upgrade price is $570. The new-user price is $1039 (+82%).  XE8 is right around the corner and it could be as soon as mid-April 2015 for it's release.  If I upgrade now for $570, that will ensure that I can get XE8 for $570. Assuming it's the same price.  If I don't upgrade now, I will need to pay the full price of XE8 for $1039. Assuming it's the same price.  ** Edit 5:12pm GMT-8 ** In other words.. it appears that XE8 will cost me $1140, if I upgrade to XE7 now and then XE8 later. - it could only cost me $1040 ($100 less), if I wait and purchase XE8 at the new-user price (assuming it's the same cost as XE7) Weird that it could actually cost me $100 less to wait and pay the new-user price for XE8. ** I don't suspect I'll be using FMX anytime soon, as my project is 100% VCL a

Same HTML form on Windows (VCL) and Android (FMX)

Image
Same HTML form on Windows (VCL) and Android (FMX) http://delphihtmlcomponents.com/

Not sure why this isn't working, can anyone shed some light on this.

Not sure why this isn't working, can anyone shed some light on this.  ListboxItem.ItemData.Bitmap.Loadfromfile(Path + Pathdelim + 'pics' + Pathdelim + 'thumbnail' + pathdelim +'303.jpg'); it doesn't load the bitmap for the icon strange. full code : ListBox1.Items.Add('Test'); // test to see if i can simple add item   ListboxItem := TListBoxItem.Create(Listbox1);// actual item i want to add   ListboxItem.Text := 'ProperItem';   ListboxItem.ItemData.Accessory := TListBoxItemData.TAccessory(1);   ListboxItem.ItemData.Bitmap.Create;   ListboxItem.ItemData.Bitmap.Loadfromfile(Path + Pathdelim + 'pics' + Pathdelim + 'thumbnail' + pathdelim +'303.jpg');   ListBox1.AddObject(Listboxitem);

[dcc32 Error] Foobar.pas(291): E2033 Types of actual and formal var parameters must be identical

[dcc32 Error] Foobar.pas(291): E2033 Types of actual and formal var parameters must be identical Thanks compiler for telling me which parameter is wrong, and in which way... oh wait, no you didn't tell me did you, you useless twat.

TMS shows off the sprite toolkit.

TMS shows off the sprite toolkit. Originally shared by tmssoftware http://youtu.be/_TrLDX1YCFc Best wishes for a happy & prosperous New Year from the TMS team!  Using the new iOS Sprite Kit from Delphi, a little XMas gift from the TMS team: http://www.tmssoftware.com/site/blog.asp?post=297 http://youtu.be/_TrLDX1YCFc
Do you know a delphi component to browse the AD? Where i can select and retrive for example an OU.

Just got another reminder from Apple about 64 bit IOS requirements from Feb 2015. Was curious if anyone has some information on this aspect from EMB support. I have read the Roadmap http://edn.embarcadero.com/article/43677 but it doesn't mention this 64 bit compiler support specifically. Posted this here as I'd also be interested in any other Roadmap information people might have.

Just got another reminder from Apple about 64 bit IOS requirements from Feb 2015.  Was curious if anyone has some information on this aspect from EMB support.  I have read the Roadmap http://edn.embarcadero.com/article/43677 but it doesn't mention this 64 bit compiler support specifically.  Posted this here as I'd also be interested in any other Roadmap information people might have. http://edn.embarcadero.com/article/43677

EDIT: I believe I found the resolution (in comments).

EDIT: I believe I found the resolution (in comments). Funny how when you're force in an email to list specific issues, you'll often find you own answer with the increased clarity. I think this happened, leaving the post here for later searching from someone. Q: Visual Form Inheritance in XE2 VCL: Changes to base form's design-time components don't propagate to inherited forms. 1) BaseForm contains mostly run-time code 2) BaseFormWithButtonBar contains visual components of a panel and 3 buttons 3) BaseFormWithButtonBarAndImage contains an image I have 3 forms, they are created as inherited forms from each other. #1 setups up a form with my foundation code, #2 builds on this by adding a common set of buttons, #3 adds an image to the form. Problem #1: When I change the Width/Height of #1, the inherited forms don't get the new width/height Problem #2: When I make changes to the button's top/left, the inherited forms don't get the change In regards to Problem #1

EDIT: I believe I found the resolution (in comments). Funny how when you're force in an email to list specific issues, you'll often find you own answer with the increased clarity. I think this happened, leaving the post here for later searching from someone.

EDIT: I believe I found the resolution (in comments). Funny how when you're force in an email to list specific issues, you'll often find you own answer with the increased clarity. I think this happened, leaving the post here for later searching from someone. Q: Visual Form Inheritance in XE2 VCL: Changes to base form's design-time components don't propagate to inherited forms. 1) BaseForm contains mostly run-time code 2) BaseFormWithButtonBar contains visual components of a panel and 3 buttons 3) BaseFormWithButtonBarAndImage contains an image I have 3 forms, they are created as inherited forms from each other. #1 setups up a form with my foundation code, #2 builds on this by adding a common set of buttons, #3 adds an image to the form. Problem #1: When I change the Width/Height of #1, the inherited forms don't get the new width/height Problem #2: When I make changes to the button's top/left, the inherited forms don't get the change In regards to Problem #1

"SAN FRANCISCO, CA -- (Marketwired) -- 12/17/14 -- Embarcadero Technologies, a leading provider of software...

"SAN FRANCISCO, CA -- (Marketwired) -- 12/17/14 -- Embarcadero Technologies, a leading provider of software solutions for application and database development, today announced that RAD Studio XE7 continues to gain record levels of support from third party providers, with over 60 vendors providing plugins, tools, and components for XE7" http://www.embarcadero.com/products/rad-studio/supporting-partners-xe7 http://www.virtual-strategy.com/2014/12/17/record-setting-3rd-party-support-rad-studio-xe7-over-60-vendors-offering-hundreds-xe7-too#axzz3MC4pQULX

"SAN FRANCISCO, CA -- (Marketwired) -- 12/17/14 -- Embarcadero Technologies, a leading provider of software solutions for application and database development, today announced that RAD Studio XE7 continues to gain record levels of support from third party providers, with over 60 vendors providing plugins, tools, and components for XE7"

"SAN FRANCISCO, CA -- (Marketwired) -- 12/17/14 -- Embarcadero Technologies, a leading provider of software solutions for application and database development, today announced that RAD Studio XE7 continues to gain record levels of support from third party providers, with over 60 vendors providing plugins, tools, and components for XE7" http://www.embarcadero.com/products/rad-studio/supporting-partners-xe7 http://www.virtual-strategy.com/2014/12/17/record-setting-3rd-party-support-rad-studio-xe7-over-60-vendors-offering-hundreds-xe7-too#axzz3MC4pQULX

What about a Delphi Runtime?

What about a Delphi Runtime? Just like JRE and .NET. Wouldn't be good to have installable Delphi runtime that includes all base runtime packages? This way delphi programs will be muuuuch smaller :)
I was wondering, if there was any 3D/2D showcases of games made specifically for firemonkey mobile, that have been used for commercial use? Also is it possible to have Admob in IOS instead of using iAd?

The Software created with Delphi controls more than 250 Cars, 40 Airplanes and 930 Trains in the Miniature Wunderland in Hamburg, Germany:

Image
The Software created with Delphi controls more than 250 Cars, 40 Airplanes and 930 Trains in the Miniature Wunderland in Hamburg, Germany: https://www.youtube.com/watch?v=ACkmg3Y64_s If you travel to Hamburg, take some time to visit The Miniature Wunderland. It is amazing! Here is a photo from the control station; notice the logo at the top :-)
I have found some property editors in the units VCLEditors and DesignEditors, that are using in the Object Inspector. I have found information on how to create new ones, so the IDE can use them but is it possible to use them in a Delphi IDE add-on? If so, how?

I'm looking at doing a Live Streaming a video feed. The two options I am currently considering are www.LiveStream.com and www.LiveLens.com. LiveLens requires a Facebook account to view, while LiveStream requires a free LiveStream account.

I'm looking at doing a Live Streaming a video feed. The two options I am currently considering are www.LiveStream.com and www.LiveLens.com . LiveLens requires a Facebook account to view, while LiveStream requires a free LiveStream account. Asking on Facebook would be a moot point, so I figure I'll ask here. Which account would you find less objectionable to use to view a live video event you found interesting?

DelphiArmy.com is now a reality

http://jonlennartaasenden.wordpress.com/2014/12/16/delphiarmy-com-is-now-a-reality

We announced today the release of Thinfinity® VirtualUI™ v1.0.

Image
We announced today the release of Thinfinity® VirtualUI™ v1.0. Thanks to everyone, specially those of you that actively collaborated to get this amazing piece of software! For the rest of you that still didn't realise what you can do with VirtualUI, I encourage you not only to try it out but adopt it right away, leaving your Windows application VirtualUI-ready. Why? * It gets converted into a HTML5 multi-user, multi-instance application, with just including a unit to the uses clause. * When you run the application as usual, the added unit is just dead code, so it still will run as a normal Windows application.  * It is absolutely free for you! Your application gets transformed into a dual-platform Windows/HTML5 with new multi-user multi-instances capabilities by just dedicating a few minutes of your time. * And for few bucks, you can not only take you app to the web, but do all kind of integrations you can imagine with other web resources and applications.  I just hope that everyon

My ISAPI/Datasnap nightmare continues.

My ISAPI/Datasnap nightmare continues.   As you know with MVC 5 & Identity table structures got changed . Login credentials are now saved to ASPNetUsers table. Now here is the problem. Earlier  important login validation fields where Password nvarchar(128) & PasswordSalt nvarchar(128) in table aspnet_Membership . Now with asp.net identity its in table AspNetUsers and fields are PasswordHash nvarchar(max)and SecurityStamp  nvarchar(max). Whenever my delphi isapi server does select  statement on fields that are of nvarchar(max) it throws 500 error. Question is why do we need nvarchar(max) for these fields and why is ISAPI not liking nvarchar(max) ?? Thanks.

Please vote all, thanks in advance.

Please vote all, thanks in advance. Originally shared by RAD Studio Last Chance! Please vote for Embarcadero-RAD Studio in the 2014 Mobile Star Awards! http://embt.co/1Gp2z0S We're listed in category 16. Enterprise Mobile Application Development or API. Voting TODAY at 1pm EST! http://embt.co/1Gp2z0S

Please vote all, thanks in advance.

Please vote all, thanks in advance. Originally shared by RAD Studio Last Chance! Please vote for Embarcadero-RAD Studio in the 2014 Mobile Star Awards! http://embt.co/1Gp2z0S We're listed in category 16. Enterprise Mobile Application Development or API. Voting TODAY at 1pm EST! http://embt.co/1Gp2z0S

Dynamic array + constant array = incompatible

Dynamic array + constant array = incompatible I still think this is retarded, particularly with the new array syntax. function Check(const Extras: array of String): Boolean; var   List: Array of String; begin   FillWithDefaults(List);   List := List + Extras;  //<--  [dcc32 Error]: E2008 Incompatible types
How to get server certificate hash by WinInet? INTERNET_OPTION_SECURITY_CERTIFICATE (struct) give me just base information and i dont have any data to identify that certificate after next request? help please.

A confusion of compiler messages.

A confusion of compiler messages. I just noticed in D2007 that some warning messages are turned off by setting {$HINTS OFF}. I wonder whether that sort of confusion in the compiler has been reduced over time?

How to change the color of selected listview item?

Image
How to change the color of selected listview item? I need to change the color from gray to blue.

I was pondering that is there way to check from the component that the Owner (Form of container) is funny loaded and shown, in case of Form that OnShow is called.

I was pondering that is there way to check from the component that the Owner (Form of container) is funny loaded and shown, in case of Form that OnShow is called.  I have situation where I would like to block certain events firing too early, so I would not need to add "tons" of code to the Event handler on the form, but encapsulate it at the Component level.

HTML Component Library 2.5 released!

HTML Component Library 2.5 released! Registered users should receive email in a short time. What's new since 2.4: 1. Transition: blur; 2. Transition timing functions (now are supported only ease and linear) 3. Shadows drawing performance incredible improved. 4. CSS z-index property 5. CSS cursor property 6. AdaptiveZoom support for FMX 7. Rendering speed improved 8. Margin collapsing for block element 9. SVG shape-rendering attribute (=crisp-edges - no antialiasing) 10. CSS @media rule support (THtDocument.Media: TCSSMedia property) 11. PDF export on MacOS 12. Document.ShowImages property 13. CSS background-size, background-position properties 14. HtPanel.LazyImageLoading and BackgroundImageLoading properties 15. New HtPanel events:     OnElementDragEnd     OnElementResizeEnd     AfterTableColumnMoved    OnElementClick 16. New TElement flag - efDesignerSelected - force drawing selection on element 17. TElement.AddCSS/ClearCSS - add (clear) css rule to element selft-style 18.   TCSS

Delphi Position in Norway

Delphi Position in Norway Requirements extract: - working remotely is ok, but with some criteria regarding availability during Norwegian office hours - must master Delphi well - not afraid of low-level programming - used to documenting work. - must know SQL Server - preferably some background in POS (point of sale) devices - fluent in English is a must Target platform is Win32/X86; Delphi application running on Windows XP Embedded. For more info, read Lennart Aasenden's post and contact him at  https://www.facebook.com/quartexnor Originally shared by Lennart Aasenden #Delphi   The company I work for, Visma AS, which is one of the biggest and most prestigious companies in Scandinavia is looking for a Delphi developer. Working remotely is ok, but with some criteria regarding availability during Norwegian office hours. Visma is a large and stable company offering competitive salaries and excellent benefits. As a company we are known for our high-standards. http://jonlennartaasenden.w

Hi Guys

Hi Guys,  I have a small question about Delphi and Memory Use. Maybe someone can explain to me. For the example class: TPerson = class   name: string;   Phone: string end; I will have about 4000 instances of this class; I need a method called GetNamePhone to return name+phone. My question is: If I include this method in the class, how much memory will be necessary to store these 4000 instances ? 1pointer for each instance or only one pointer to all instances ?

Winter Discounts and Christmas Photo Fest!

Image
Winter Discounts and Christmas Photo Fest! Get 20% off on all Devart licenses until January 15th, 2015.  Take part in Devart Christmas Photo Fest to get a new license for free! All the conditions are here: http://goo.gl/M8ZjnV   #DevPhotoFest   #Christmas   #Discounts   #NewYear2015   #Christmas2015

Good Morning!

Good Morning!    I want to intercept the Message part of an HTTP 1.1 packet so that I can encrypt it and send the packet with the encrypted message to it's destination.        I have found Magenta Systems Internet Packet Monitoring Components and can monitor traffic for my website.        What I cannot figure out is how to get the payload only. I see that javascript can do that. Is there a Delphi function that can do this?        Delphi XE7 on Windows 8.1 Thanks...Dan'l

I'm trying to do something I guess I have never tried before, and so far, am feeling stupid. What I want to do is pass any of three or four different types of TFields (TIntegerField, TFloadField, and TStringField will be primary) as a parameter in a method call. So far, I have not found a workable declaration for the parameter.

I'm trying to do something I guess I have never tried before, and so far, am feeling stupid. What I want to do is pass any of three or four different types of TFields (TIntegerField, TFloadField, and TStringField will be primary) as a parameter in a method call. So far, I have not found a workable declaration for the parameter.  I would have thought it a fairly obvious thing to do, but have turned up nothing useful on Google, either. I did find an example from Marco's Mastering Delphi 7, where I see (Sender: TField). However, when I tried (AField: TField) in my own code, the compiler complained. Perhaps something in XE7 I haven't puzzled out?

What I would like to receive from Delphi on xmas :)

What I would like to receive from Delphi on xmas :) I strongly believe those features would make Delphi a better language. I'm not a C guru, but I've used those features in small C programs I've written and found them extremely useful. Specially, when variable can be declared anywhere - that, in my opinion, makes program much more readable as I don't need to scroll up to see what type of variable it is. Anyway, if anything of this is implemented, I would consider that my SA money is well spent. program delphi_xmas; // bitfields in records. Extremely useful when dealing with interfaces to C libraries // yes, I know they can be "implemented" in Delphi, but those implementations are not nice type   TBitRec = record   field1: integer:2;   field2: integer:1;  end;  // variable number of parameters procedure foo(...); begin   // possibility to identify function/procedure being executed (taken from C)   WriteLn(Format('%s(): start', [__func__]);   // ability

Blog post "Turbo Pack: A Short Video" at http://blog.marcocantu.com/blog/2014-december-turbopack-short-video.html

Blog post "Turbo Pack: A Short Video" at http://blog.marcocantu.com/blog/2014-december-turbopack-short-video.html http://blog.marcocantu.com/blog/2014-december-turbopack-short-video.html

Would one of you fine people who knows C be willing to do me a favor?

Would one of you fine people who knows C be willing to do me a favor?   I have a *.h file that I've converted to be a *.pas file, but for the life of me, I can't make it work.   Would any of you be willing to take a look at what I've done?  It's not very big, maybe a dozen functions.  It's a bit ugly with lots of *Char, but it shouldn't be too hard. If anyone can help, I'd be much obliged.

Now available InterBase XE7 - Fast backup format with incremental data dumps !

Originally shared by Embarcadero Technologies Now available InterBase XE7 - Fast backup format with incremental data dumps ! http://www.embarcadero.com/products/interbase/whats-new http://www.embarcadero.com/products/interbase/whats-new

Originally shared by Embarcadero Technologies

Originally shared by Embarcadero Technologies Now available InterBase XE7 - Fast backup format with incremental data dumps ! http://www.embarcadero.com/products/interbase/whats-new http://www.embarcadero.com/products/interbase/whats-new

Direct-Hire role for Delphi Developer - Pennsylvania

Direct-Hire role for Delphi Developer - Pennsylvania We have multiple permanent roles open for Delphi Developer (Delphi 2009 or greater (XE 1-6).  Relocation assistance provided. Required Skill-set: OOP Required Must have Delphi 2009+, XE preferred Must be comfortable with Large Systems E-Commerce is a plus Unit Testing is highly preferred Multi-Threaded Service Preferred. Looking for Citizens or Green Card holders from any part of the country. Please feel free to reach me at athrivikraman@relevante.com. Thanks & Regards, Anand Thrivikraman #0OP, #delphi #delphiXE #unittesting #Delphi2009

For a (standard) windows application, is there any way to get informed when

For a (standard) windows application, is there any way to get informed when (a) the screen size changes (mainly interested in vertical height change), and (b) the menu UI changes (such change in font, size of font)

If you are using Delphi XE2, keep in mind your "upgrade window" ends December 31st.

If you are using Delphi XE2, keep in mind your "upgrade window" ends December 31st. After December 31st, you'll need to pay full price for a license. If you upgrade to XE7, you can consider maintenance (particularly if you are into mobile) or taking advantage of the recharge program in the future.
If you are using Delphi XE2, keep in mind your "upgrade window" ends December 31st. After December 31st, you'll need to pay full price for a license. If you upgrade to XE7, you can consider maintenance (particularly if you are into mobile) or taking advantage of the recharge program in the future.

Just got a Delphi survey "why haven't you upgraded" and there was actually a "don't use it any more" option. That's been missing in the past. Although the "what percentage of new development is VCL/FM?headless" still had to add to 100%, even though in my case there is a GUI but it's HTML5 and C... and the back end is C++/PHP/Python.

Just got a Delphi survey "why haven't you upgraded" and there was actually a "don't use it any more" option. That's been missing in the past. Although the "what percentage of new development is VCL/FM?headless" still had to add to 100%, even though in my case there is a GUI but it's HTML5 and C... and the back end is C++/PHP/Python. I miss Delphi. It would be really handy if Delphi did what I needed, but it doesn't and there's no real prospect that it will. C++ is full of tricks for naive idiots, where it has the feature but it doesn't work. "exceptions'... that mostly work, but you can't get a stack trace and it's up to whoever throws it to decide whether to give you more information than "something bad happened", and ideally they will actually throw an exception rather than, say, an integer. Or NULL. The C++ Frequently Questioned Answers (FQA) is an essential tool. http://yosefk.com/c++fqa/

ANN: DAC for MySQL 2.10.2-beta is out!

ANN: DAC for MySQL 2.10.2-beta is out! MicroOLAP Direct Access Components for MySQL and Delphi/C++ Builder (also known as MySQLDAC) is a Borland Delphi/C++Builder component set for direct connect to MySQL database server. DAC for MySQL allows you to create Delphi/C++Builder applications without BDE, ODBC, ADO and without libmysql.dll. What’s new in v2.10.2-beta: Fetch-on-demand mode and TMySSHPLinkDatabase based on PLink.exe added, several minor improvements and bug fixes. Full changelog: [!] "TmySQLDataset.Options. FetchOnDemand property for fetch-on-demand" added [+] "TmySQLDataset.Options.FetchRows for specify the number of fetching rows count" [+] TMySSHPLinkDatabase component for SSH connection based on PLink.exe added [-] "Raise Out of Memory with GROUP_CONCAT queries when group_concat_max_len statement is set to a large value" bug fixed You're welcome to download the DAC for MySQL v2.10.2-beta right now at: http://microolap.com

Slap head moment!

Slap head moment! I finally fixed a bug I had in my code...some old code from years ago... Silly me,,,the code caused a stack overflow under certain circumstances ...so simple once I realised...the code ...I was a bit lazy at the time...I wanted a procedure to be repeated as soon as it was finished...so I was calling the procedure again inside the procedure..the stack overflow occured if that was done over about 780 times in a row....thats go to be one of those WTF coding examples , LOL :)

Blog post "VCL Features You Might Have Missed" at http://blog.marcocantu.com/blog/2014-december-vcl-feature-missed.html

Blog post "VCL Features You Might Have Missed" at http://blog.marcocantu.com/blog/2014-december-vcl-feature-missed.html http://blog.marcocantu.com/blog/2014-december-vcl-feature-missed.html

TMS Component Pack v7.6.0.0 released with a new RichEditor!

Image
TMS Component Pack v7.6.0.0 released with a new RichEditor! http://www.tmssoftware.com/site/tmspack.asp In this new version v7.6 we've added a new WYSIWYG formatted text editor, a metro style category list control, toolbars, ribbon bars and much more ... : - New: TAdvRichEditor, WYSIWYG formatted text editor - New: TAdvRichEditorEditToolBar,TAdvRichEditorFormatToolBar ready-to-use docking toolbars for TAdvRichEditor - New: Clipboard,Font,Paragraph,Insert,Editing ribbon toolbars for TAdvRichEditor - New: TAdvRichEditorEditButtonBar, TAdvRichEditorFormatButtonBar ready-to-use button panels for TAdvRichEditor - New: TAdvGridFilterPanel & TAdvGridFilterDialog components for building filters visually for TMS grids - New: TAdvDBFilterPanel & TAdvDBFilterDialog components for building filters visually for datasets - New: TAdvMetroCategoryList, Metro style category list control -Various smaller improvements & fixes

Has anybody experienced that when testing a #tDictionary key the returned value is incorrect (meaning, two different...

Has anybody experienced that when testing a #tDictionary key the returned value is incorrect (meaning, two different values have a key collision)? My tDictionary has an estimated number of over 6k collisions, meaning that after inserting all values I get about 17k results when iterating over the available keys, but I should get 23k. The key is basically a string made of two IP sockets (IPAddress A, Port A, IP Address B, Port B, separated by dashes), so it's not that short. Maybe I'm doing something wrong here. Is tDictionary supposed to have key collisions, and if so, how do I insert values that can be retrieved afterwards?

Has anybody experienced that when testing a #tDictionary key the returned value is incorrect (meaning, two different values have a key collision)?

Has anybody experienced that when testing a #tDictionary key the returned value is incorrect (meaning, two different values have a key collision)? My tDictionary has an estimated number of over 6k collisions, meaning that after inserting all values I get about 17k results when iterating over the available keys, but I should get 23k. The key is basically a string made of two IP sockets (IPAddress A, Port A, IP Address B, Port B, separated by dashes), so it's not that short. Maybe I'm doing something wrong here. Is tDictionary supposed to have key collisions, and if so, how do I insert values that can be retrieved afterwards?

For Delphi newbies (who are also new to programming in general), is TStringList a suitable class for simple data management?

For Delphi newbies (who are also new to programming in general), is TStringList a suitable class for simple data management? I mean, it's pretty simple to explain (and understand) how to put a TStringList member in the form's private section, and then put Create + LoadFromFile in OnCreate ,  and SaveToFile + Free in OnClose . After that you can easily play with the Values property to get and set various data.  (The "Name=Value" structure if the file is pretty easy to understand too). Right now I cannot think of any simpler way to just load and save data directly from an application.  Any other suggestions?

#BEEP based TML/SIDEX SDK works with #android and #Java. I just got a #Delphi XE7. Should work as well, because it's based on NDK. A peer-to-peer communication layer with multireply and single port asynchronous messages will sure bring the communication of apps to the next level.

Image
#BEEP based TML/SIDEX SDK works with #android and #Java. I just got a #Delphi XE7. Should work as well, because it's based on NDK. A peer-to-peer communication layer with multireply and single port asynchronous messages will sure bring the communication of apps to the next level.

Hi. I've got a problem with oracle 12 data base client drivers for Embarcadero XE7. When i trying connect to DB by TSQLConnection control i'm always get an error :

Hi. I've got a problem with oracle 12 data base client drivers for Embarcadero XE7. When i trying connect to DB by TSQLConnection control i'm always get an error : "TDBXError: DBX Error: Driver could not be properly initialized. Client library may be missing, not installed properly, of the wrong version, or the driver may be missing from the system path". FireDAC connection give me: [FireDAC][Phys][Ora]-1309. OCI is not properly installed on this machine (NOE1/INIT) error, but oracle client was installed by oracle installator, installacion completed correctly ("Oracle clent" was installed) Please help, any thoughts!!!

Just getting my toes wet with XE7, and have it in mind to use a class constructor in a situation where I want to contain some standard values as properties of the class.

Just getting my toes wet with XE7, and have it in mind to use a class constructor in a situation where I want to contain some standard values as properties of the class. Clearly, I have failed to understand something in the workings of class constructors. Given this code, am I chasing something impossible? type   TPrintColors = class   strict private     FExFlightShade: TColor;     FExGraphBarColor: TColor;   public     class constructor Create;     class destructor Destroy;     property ExFlightShade: TColor read FExFlightShade write FExFlightShade;     property ExGraphBarColor: TColor read FExGraphBarColor write FExGraphBarColor;   end;   implementation   const   FlightShadeColor = $00F1D9C5;   HeaderShadeColor = $00CCFFFF; class constructor TPrintColors.Create; begin   FExFlightShade := FlightShadeColor;   FExGraphBarColorRadio := GraphBarColorRadio; end;   The compiler complains that the field members are not accessible. And if they are made class vars, then they cannot be fields f

CreateProcessWithLogonW

CreateProcessWithLogonW Neat routine that still is missing from WinAPI.Windows.pas. http://msdn.microsoft.com/en-us/library/windows/desktop/ms682431(v=vs.85).aspx http://msdn.microsoft.com/en-us/library/windows/desktop/ms682431(v=vs.85).aspx

hi guys, i'm having a problem with Bitmap.

hi guys, i'm having a problem with Bitmap.LoadFromStream. I load images from rss feeds and with lollipop, this is now broken :-( i saw a workaround to save the images but thats unrealistic for a news app that simply loads images from a URL. Please can someone help me? thanks  #loadfromstream

hi guys, i'm having a problem with Bitmap.LoadFromStream. I load images from rss feeds and with lollipop, this is now broken :-( i saw a workaround to save the images but thats unrealistic for a news app that simply loads images from a URL. Please can someone help me?

hi guys, i'm having a problem with Bitmap.LoadFromStream. I load images from rss feeds and with lollipop, this is now broken :-( i saw a workaround to save the images but thats unrealistic for a news app that simply loads images from a URL. Please can someone help me? thanks  #loadfromstream

FireDAC Date Handling - FireDAC Date Mystery Part II

FireDAC Date Handling - FireDAC Date Mystery Part II As it turns out, the mystery was not fully solved. After adding map rules (see old post) to FireDAC for how to handle dtTime and dtDate, I removed the old ADO special case handling and just did Result := FieldByName(FieldName).AsDateTime; Which worked well - or - so I thought.  I had done all my testing on machines that had the SQL Server Native Client installed, and it showed no problems. But - when I ran on a machine without SQLNCLI installed, the date format issue reared it's ugly head again. So - this is the "final" workaround which so far appears to handle every date/time format that I have tossed at it. function TPSDRecordset.GetAsDateTime(const FieldName: string): TDateTime; var   F: TField;   s: String; begin     F := FieldByName(FieldName);     try     case F.DataType of       ftDateTime: Result := F.AsDateTime;       ftTime: Result := StrToTime(F.AsString);       ftDate: Result := StrToDate(F.AsString);      

My daily - what? hourly! - experience with the IDE:

Image
My daily - what? hourly! - experience with the IDE:

Does anyone have issues with XE7 (for it happened with and without update 1) where you are unable to compile or clean because somehow the debugger did not properly release the binary? (compiler cannot create the binary and the clean says it does not have access to the file).

Does anyone have issues with XE7 (for it happened with and without update 1) where you are unable to compile or clean because somehow the debugger did not properly release the binary? (compiler cannot create the binary and the clean says it does not have access to the file). Only possibility I have right now is to restart the IDE a dozen times each day. Since I did not find a pattern when it happens I am looking for more people experiencing this problem. This is on Windows 8.1.

I clicked the "Delete Invalid Paths" button and totally messed up the Library paths on my XE4. I think have re-built it correctly but I'm not 100% sure. Will you please have a look at the below list and please tell me if I'm missing something. Thanks in advance.

I clicked the "Delete Invalid Paths" button and totally messed up the Library paths on my XE4.  I think have re-built it correctly but I'm not 100% sure. Will you please have a look at the below list and please tell me if I'm missing something. Thanks in advance. $(BDSLIB)\$(Platform)\release $(BDSUSERDIR)\Imports $(BDS)\Imports $(BDSCOMMONDIR)\Dcp $(BDSCOMMONDIR)\Dcp\$(Platform) $(BDS)\include C:\Program Files (x86)\FastReports\LibD18x64 C:\Program Files (x86)\Raize\CS5\Lib\RS-XE4\Win64 C:\Program Files (x86)\Embarcadero\FireDAC\Dcu\D18\win64 C:\Program Files (x86)\Embarcadero\FireDAC\Source C:\Program Files (x86)\Raize\RC6\Lib\RS-XE4\Win64 C:\Users\Michael\Documents\tmssoftware\TMS Component Pack\ C:\Users\Michael\Documents\tmssoftware\TMS Component Pack\DelphiXE4 C:\Users\Michael\Documents\tmssoftware\TMS Component Pack\xlsAdapter $(BDS)\RBuilder\Lib\Win64 C:\Program Files (x86)\ElevateDB 2 VCL-STD\RAD Studio XE4 (Delphi Win64)\code $(BDS)\LabPacks\XE4\Win64\Releas

Anyone using TMS Component Pack? I am having a major issue trying to use the ADVSmothTabPager. I can create a new project, add a tab control, save the project and close it. But when I reload the project the tab control loads but I get an error saying it can't find the class TADVSmoothTabPage, which is declared in the same file as the main tab control which does load. I have tried everything including moving the PAS file into the project folder and that doesn't help. I need to edit an older project that contains one of these controls and this is keeping me from doing such.

Anyone using TMS Component Pack? I am having a major issue trying to use the ADVSmothTabPager. I can create a new project, add a tab control, save the project and close it. But when I reload the project the tab control loads but I get an error saying it can't find the class TADVSmoothTabPage, which is declared in the same file as the main tab control which does load. I have tried everything including moving the PAS file into the project folder and that doesn't help. I need to edit an older project that contains one of these controls and this is keeping me from doing such. Tanks, Jim

Playing with DataSnap server I found something strange. A basic (TCP/IP, EchoString) DataSnap server for FMX do not let me add a non-Windows platform.

Playing with DataSnap server I found something strange. A basic (TCP/IP, EchoString) DataSnap server for FMX do not let me add a non-Windows platform. So I've created a new FMX application and add the ServerContainer and ServerMethods units, it compile and work fine on OSX But for iOS and Android the compiler report that Datasnap is only for (Android, iOSDevice, Win32, OSX32, iOSSimulator, Win64)...ok and then ?! :D
Any way to register my XE7 key without installing Delphi? Kinda stupid to have to install XE7 just to register and then patch it, rather than just getting the latest ISO...

Does anyone here use os has tried the Chart ocx component from ComponentOne (formerly 'Olectra Chart`)?

Does anyone here use os has tried the Chart ocx component from ComponentOne (formerly 'Olectra Chart`)? It works on the development computer but crashes on the test machine with the message "can't find the entry point of ippsSwapBytes_64u_l_ldx ..." (I discovered that this is a deprecated intel function for converting big endian <> little endian, have no idea why it's in their code). (using XE7 on a 32 bits program with the 32 bits version of ocx) I've installed the ocx with the setup, C1 docs says it's the only file needed. (C1 doesn't officially support Delphi, we're using it because old version worked very well on the old D7 code - it was supported back then)

Does anyone here use os has tried the Chart ocx component from ComponentOne (formerly 'Olectra Chart`)? It works on the development computer but crashes on the test machine with the message "can't find the entry point of ippsSwapBytes_64u_l_ldx ..." (I discovered that this is a deprecated intel function for converting big endian little endian, have no idea why it's in their code).

Does anyone here use os has tried the Chart ocx component from ComponentOne (formerly 'Olectra Chart`)? It works on the development computer but crashes on the test machine with the message "can't find the entry point of ippsSwapBytes_64u_l_ldx ..." (I discovered that this is a deprecated intel function for converting big endian <> little endian, have no idea why it's in their code). (using XE7 on a 32 bits program with the 32 bits version of ocx) I've installed the ocx with the setup, C1 docs says it's the only file needed. (C1 doesn't officially support Delphi, we're using it because old version worked very well on the old D7 code - it was supported back then)

RAD in Action Part 2 Tomorrow: Modernizing and Extending VCL Applications Case Studies with David I.

RAD in Action Part 2 Tomorrow: Modernizing and Extending VCL Applications Case Studies with David I. and John “JT” Thomas providing hands-on technical sessions. Register: http://embt.co/13PbFry http://embt.co/13PbFry

RAD in Action Part 2 Tomorrow: Modernizing and Extending VCL Applications Case Studies with David I. and John “JT” Thomas providing hands-on technical sessions. Register: http://embt.co/13PbFry

RAD in Action Part 2 Tomorrow: Modernizing and Extending VCL Applications Case Studies with David I. and John “JT” Thomas providing hands-on technical sessions. Register: http://embt.co/13PbFry http://embt.co/13PbFry

Integrate your Delphi application with the Web – Tutorial!

Integrate your Delphi application with the Web – Tutorial! We prepared a tutorial to help you use Thinfinity® VirtualUI™ in your Delphi application.  It consists of a PDF document and 5 Delphi projects based on a Fishfacts demo. In this tutorial we show you how you can take your application to the web, from the instant UI Remoting to a full windows-to-web integration using the new jsRO framework (Javascript Remote Objects). Enjoy it! http://cybelesoft.com/blog/integrate-your-delphi-application-with-the-web-tutorial/

I have a problem with the delegation of the inherited interface.

I have a problem with the delegation of the inherited interface.   IMyInterface = interface     procedure P1;     procedure P2;   end;   IOtherInterface = interface(IMyInterface)    procedure OtherMethod;   end;   TMyClass = class(TInterfacedObject, IOtherInterface, IMyInterface) <-- compile error   private     fMyInterface: IMyInterface;     function GetMyInterface: IMyInterface;     procedure OtherMethod;   public     property MyInterface: IMyInterface read GetMyInterface implements IMyInterface;   end; [dcc32 Error] unit.pas(21): E2291 Missing implementation of interface method IMyInterface.P1 [dcc32 Error] unit.pas(21): E2291 Missing implementation of interface method IMyInterface.P2 Is it possible to somehow get around this problem? I do not want to implement a second time IMyInterface methods.

Fellow Delphi developers

Fellow Delphi developers, We are extremely happy and honored to celebrate HelpNDoc's 10 years anniversary: HelpNDoc version 1.0 was released on December of 2004 and we still can't believe how far it has evolved, and how popular and essential it is today for a constantly growing number of users. Read more to learn how to benefit from a 60% discount for 24 hours only! http://www.helpndoc.com/news/2014-12-09-helpndoc-10-years-old And if HelpNDoc is still alive today, it is because many believed in it, talked about it, sent us encouragements, suggestions, bug reports, wish lists... and bought licenses: we can't thank them enough for their continued support throughout the years! It was extremely fun and rewarding to develop and support HelpNDoc for the last 10 years. It was also challenging at times to fight irritating bugs and implement advanced features while making sure we didn't add too much complexity. And if we had to pick the one thing which helped us move forward and

I modify package version (increment) in delphi 6 with tiny exe (in the .res package file) before upload it in my server source.

I modify package version (increment) in delphi 6 with tiny exe (in the .res package file) before upload it in my server source. But in Delphi XE4, where is the version number ? in .res,in .dproj ? How modify it ?

Where I can found any example for using LockBox in Delphi XE7? For example, how to encrypt and decrypt data using TLbRSA component

Where I can found any example for using LockBox in Delphi XE7? For example, how to encrypt and decrypt data using TLbRSA component http://sourceforge.net/projects/turbopowerlockboxnew/

what is ClipParent ?!

Image
what is ClipParent ?! At least it does very strange things ! ClipChildren is easy to understand, but I can't figure what ClipParent is for. (XE7 SP1 + Castalia)

RAD Studio XE7 Update 1 was just released.

RAD Studio XE7 Update 1 was just released. This update includes over 160 bug fixes. Download it now! http://embt.co/1u5L8eU http://embt.co/1u5L8eU

RAD Studio XE7 Update 1 was just released. This update includes over 160 bug fixes. Download it now! http://embt.co/1u5L8eU

RAD Studio XE7 Update 1 was just released. This update includes over 160 bug fixes. Download it now! http://embt.co/1u5L8eU http://embt.co/1u5L8eU

Free $500 Training: Ins and Outs of Delphi’s Object Pascal.

Free $500 Training: Ins and Outs of Delphi’s Object Pascal. Join the online training session that goes beyond the classic webinar to offer in-depth coverage of new features added to Delphi’s Object Pascal language over recent years. This session is lead by Delphi guru Marco Cantu and covers big changes introduced after 2007. http://bit.ly/12xZv5p http://bit.ly/12xZv5p

FireUI can't clear StyleLookup property

Image
FireUI can't clear StyleLookup property When I create a custom style for a TEdit in the main view, I can't remove it from a child view, it works at design time but not at run time.

Help, example source code bubble sort ascending&descending please in many listbox.pleasee

Help, example source code bubble sort ascending&descending please in many listbox.pleasee Sry for my english
I look for a very good laptop for coding. Any ideas ? what do you use ?

ECMap

http://www.helpandweb.com/ecmap/en/

Bookmarks version 1.2! This release fixes several bugs, and adds a new feature: giving bookmarks a name or description.

Bookmarks version 1.2! This release fixes several bugs, and adds a new feature: giving bookmarks a name or description. (Bookmarks is a free IDE plugin for XE-XE7, which replaces the inbuilt bookmark navigation. It gives an unlimited number of bookmarks per file, prevents overwriting or losing existing bookmarks, adds 'caret' bookmarks which are temporary markers you can drop and jump back to easily, and much more.) http://parnassus.co/bookmarks-version-1-2-released/ http://parnassus.co/bookmarks-version-1-2-released

#Delphi PPL: Does TTask have design flaws?

#Delphi PPL: Does TTask have design flaws? Recently I posted a few new QCs connected to PPL:  http://qc.embarcadero.com/wc/qcmain.aspx?d=129159   http://qc.embarcadero.com/wc/qcmain.aspx?d=129033 http://qc.embarcadero.com/wc/qcmain.aspx?d=129157   Considering possible causes I begin to think that there are design flaws. Unlike any other framework in PPL all Wait functions indicate not two but three distinct things: 1) A timeout has occurred; 2) A task has completed successfully i.e. the task was signaled; 3) The task has faulted (canceled/exception); Raising exception in Wait functions is very unusual, don’t you think?  I begin to think that it’s unclear what does completion mean. A task should always transition to complete state no matter if it was success, fault (exception) or cancellation. Exceptions during execution affect the result of the task - not its state. I.e. Tasks should have both Status and Result. So I think Wait function should unblock upon task’s completion without

If I have my ISAPI client application running without touching it for few minutes I get this error.

If I have my ISAPI client application running without touching it for few minutes I get this error. Socket Error # 10054, Connection reset by Peer My DSRestConnection connection property is set to Keep-Alive & SQLConnection is set to KeepConnection =True. Any idea what do I need to do ? Thanks.

Funny, using Winapi.MMSystem.timeBeginPeriod(1) the TWAIN scanning speed doubled! (scanner = fi-5650C, with feeder)

Funny, using Winapi.MMSystem.timeBeginPeriod(1) the TWAIN scanning speed doubled! (scanner = fi-5650C, with feeder) Without it, it pauses randomly between pages, probably it uses sleep(1) internally for waiting for next data block? And sleep(1) takes 15ms normally, but with timeBeginPeriod it becomes really 1ms :) http://msdn.microsoft.com/en-us/library/windows/desktop/dd757624%28v=vs.85%29.aspx http://msdn.microsoft.com/en-us/library/windows/desktop/dd757624%28v=vs.85%29.aspx
Does anyone use VCL Styles?  I'm using XE3 but cannot find documentation on using fonts in VCL Styles.  I can change font properties in the Style Designer but they never take effect when applying the style.  Any ideas or good resources I can read regarding this?

#delphi batch projects builder|installer helper

#delphi  batch projects builder|installer helper http://www.lazyproject.info/support/docs-ru/

We prepared a tutorial to help you use Thinfinity VirtualUI in your Delphi application. In this tutorial we show you how you can take your application to the web, from the instant UI Remoting to a full windows-to-web integration using the new jsRO framework (Javascript Remote Objects).

We prepared a tutorial to help you use Thinfinity VirtualUI in your Delphi application. In this tutorial we show you how you can take your application to the web, from the instant UI Remoting to a full windows-to-web integration using the new jsRO framework (Javascript Remote Objects). Download the tutorial in PDF format from http://www.cybelesoft.com/downloads/delphi-fishfact-tutorial.pdf and the demo files from http://www.cybelesoft.com/downloads/delphi-fishfact-tutorial.zip . Please send your feedback to support@cybelesoft.com http://cybelesoft.com/blog

Q: Can Delphi XE7 Update 1 target Android Lollipop?

Q: Can Delphi XE7 Update 1 target Android Lollipop? I have a client that wants to develop an application specifically for Lollipop.  http://en.wikipedia.org/wiki/Android_Lollipop http://en.wikipedia.org/wiki/Android_Lollipop

I'm happy to announce the new beta build of Thinfinity VirtualUI, with bug fixes, enhancements and the new Javascript Remote Objects, a powerful framework to help you integrate your windows application with other web resources with ease. Check out the blog post at http://cybelesoft.com/blog/thinfinity-virtualui-beta-7/. Soon we'll be uploading a tutorial to help you get started.

Image
I'm happy to announce the new beta build of Thinfinity VirtualUI, with bug fixes, enhancements and the new Javascript Remote Objects, a powerful framework to help you integrate your windows application with other web resources with ease. Check out the blog post at http://cybelesoft.com/blog/thinfinity-virtualui-beta-7/ . Soon we'll be uploading a tutorial to help you get started. Setup files for Windows 8/2012 64-bit: Thinfinity_VirtualUI_Setup_x64.exe Thinfinity_VirtualUI_Setup_x64.msi Setup files for Windows 8/2012 32-bit: Thinfinity_VirtualUI_Setup_x86.exe Thinfinity_VirtualUI_Setup_x86.msi

A FireDAC Date Mystery

A FireDAC Date Mystery I have an app that connects to a MSSQL db through FireDAC and retrives a selection of log data, including the date and time of the logging in a datetime field. I leave the app open for a longer period of time (about an hour, I think), then I refresh the view. BAM! The dates show up as 1899.  For some reason, FireDAC has decided to forget how to get the datetime in the right format. I suspect that is is related to a connection object that has lost it's connection, but why can it reconnect and get data, and yet get the date format wrong? #FireDAC

Why the string variable values been changed when I use the '+' connection.

Image
Why the string variable values been changed when I use the '+' connection. code: var   S: RawByteString; begin   S :=#$E0#$02#$00#$04#$00#$00#$00#$00#$E0#$01#$00 +     #$9F#$41;   Memo1.Lines.Add(S); end;

Anybody using live bindings for VCL?

Anybody using live bindings for VCL? I have never used it. I won't get away from direct DB field binding so .....

New XE7 hotfix for FMX, solving an issue about controls custom size.

New XE7 hotfix for FMX, solving an issue about controls custom size. http://cc.embarcadero.com/item/30070

Setting up a MS SQL Server FireDAC connection in code

Setting up a MS SQL Server FireDAC connection in code In case you haven't set up a connection in code yet:      FireDriverLink := TFDPhysMSSQLDriverLink.Create(nil);          FConnection := TFDConnection.Create(nil);     FConnection.DriverName := FireDriverLink.BaseDriverId;     // http://docwiki.embarcadero.com/RADStudio/XE7/en/Connect_to_Microsoft_SQL_Server_(FireDAC)     FConnection.Params.Values['Server'] := Trim(HostName);     FConnection.Params.Values['Database'] := Trim(DatabaseName);     FConnection.Params.Values['OSAuthent'] := OSAuthent;  // 'Yes' for Windows user, 'No' for SQL user name      FConnection.Params.Values['User_Name'] := Trim(UserName);     FConnection.Params.Values['Password'] := Trim(Password);     FConnection.Params.Values['ApplicationName'] := 'YourApplicationInfoHere';     FConnection.LoginPrompt := False;  // Suppresses dialogs     FConnection.Connected := True;    From this point,

Migrating from ADO to FireDAC - MS SQL Server

Migrating from ADO to FireDAC - MS SQL Server Yet another tidbit.  Default stored proc parameter sizing. The old parameter passing to the stored procedures is done with array of const and variants.  No issues with that, until my xml logging feature had the mother of all stack traces, and exceeded 9k bytes in total xml size, upon which the assignment of TFDParam.Value complained that TFDParam.Size was 8002 bytes, and the size of the string was bigger than that. vtUnicodeString: begin    p.DataType := ftString;    p.Value    := String(ConstParams[ix].VUnicodeString); //Size barf end; Quick and dirty fix... For the future, I intend to lose the array of const and move to more explicit parameter encoding. vtUnicodeString: begin    p.DataType := ftString;    s := String(ConstParams[ix].VUnicodeString);    len := Length(s) * SizeOf(Char);    if Len > p.Size  // Autosize for XML    then p.Size := Len + 2;    p.Value    := s; end; #FireDAC

What are the licensing terms for reusing substantial chunks of the VCL source in your own component (never distributed as source)?

What are the licensing terms for reusing substantial chunks of the VCL source in your own component (never distributed as source)? It might be more clear with an explanation. I'm currently using TTabSet with the Modern style. When drawing, it lightens the background colour, ie doesn't use the background colour you explicitly set in the BackgroundColor property. It's not easy to simply darken the colour you set, since it uses several rules to decide how to lighten it (it uses Vcl.GraphUtil.GetHighlightColor) nor does ownerdraw give enough control. I thought it would be simple to fix by making an interposer class to replace the Paint method or the method painting 'modern' tabs so that it uses the color I set rather than its own changed version, but it relies on a lot of private fields and methods. The interposer class will grow until it's basically a copy/paste of TTabSet, with one line changed. At this point, the interposer class idea sounds (a) unreliable and (b

Locking

Locking Is there a good open source MREW lock object out there that - Supports nested locking  - Lets a ReadLock be upgraded to a WriteLock and back down again when the write is done - That doesn't burn CPU cycles like it was roasting peanuts?

Q: FMX and Lollipop

Q: FMX and Lollipop In the beginning, we had VCL. It tried to keep up with Windows development. But often times, new UI or features would be released by MS with immediate support via Visual Studio and we'd have to port the headers ourselves or work with component developers.  I'm considering a move to Android development, but I'm torn between using Java against the SDK or using FMX and leveraging my Pascal. My fear is that FMX will not keep up with Android development and my product would always lag with the state-of-the-art, because I need to wait for a new FMX version to use the android features. Is this a concern with FMX? Can it target XE7's FMX to the latest Android Lollipop version and immediately use it's features?

Part of the current XE7 promotion and available to existing users is Marco Cantù Object Pascal handbook, so is this the finished book Marco or anyone else know ?

Part of the current XE7 promotion and available to existing users is Marco Cantù Object Pascal handbook, so is this the finished book Marco or anyone else know ? http://cc.embarcadero.com/Item/30018 http://cc.embarcadero.com/Item/30018

An update for the Delphi Memory Profiler DDDebug – Version 1.0.2.637 – is available for download. This release fixes an odd bug, I have introduced lately, which prevents building the demo: the res file was not created. Furthermore, I have fixed a bug which resulted in the DDDebug main form being always reactivated and staying on top. On demand of some customers which are using MadExcept or EurekaLog, DDDebug can now use these libraries to resolve names of methods, so no MAP files are necessary or need to be distributed. A trial can be downloaded at http://ddobjects.de/

An update for the Delphi Memory Profiler DDDebug – Version 1.0.2.637 – is available for download. This release fixes an odd bug, I have introduced lately, which prevents building the demo: the res file was not created. Furthermore, I have fixed a bug which resulted in the DDDebug main form being always reactivated and staying on top. On demand of some customers which are using MadExcept or EurekaLog, DDDebug can now use these libraries to resolve names of methods, so no MAP files are necessary or need to be distributed. A trial can be downloaded at http://ddobjects.de/ http://ddobjects.de
I can't use Tethering between W8 and a SONY Tablet Z2, it's never connected, is there any trick about that ?
Can anyone tell me how I should use the resulting TJSONObject of TRestClient.PostEntity if it gets destroyed before the method returns?!

Hello guys. Just to remind you - this is the last day when you can use our special offer and get a 50% discount on any Devart license(s).

Hello guys. Just to remind you - this is the last day when you can use our special offer and get a 50% discount on any Devart license(s).  Don't hesitate to visit this page -> http://goo.gl/1cHsOl and obtain your coupon code! #discount  #CyberMonday  #Devart   http://goo.gl/1cHsOl

I just had a brilliant idea:

I just had a brilliant idea: - Fork Indy - Remove EIdConnClosedGracefully - Call it Sindy, for Sane Indy And with the unit prefixes it shouldn't be too difficult to pull of either I suppose.