attract more users to your delphi & c++builder applications by leveraging new windows 10 apis

26
Attract more users to your Delphi and C+ +Builder applications by leveraging new Windows 10 APIs Feb. 24, 2016

Upload: david-intersimone

Post on 16-Jan-2017

666 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Attract more users to your Delphi & C++Builder applications by leveraging new Windows 10 APIs

Attract more users to your Delphi and C++Builder

applications by leveragingnew Windows 10 APIs

Feb. 24, 2016

Page 2: Attract more users to your Delphi & C++Builder applications by leveraging new Windows 10 APIs

Your Presenter• David Intersimone “David I”• Chief Evangelist• Email: [email protected]• Blog: embt.co/SipFromTheFirehose• Twitter: @davidi99

Webinar blog post: http://embt.co/vclwin10specific

Page 3: Attract more users to your Delphi & C++Builder applications by leveraging new Windows 10 APIs

Agenda• What’s new in 10 Seattle specifically for Windows 10• Strategies for using Windows 10 specific features and still

have your apps work on earlier versions of Windows• Updating the Marine Adventures Application• Summary• Special Offers and Promos• Q&A

Page 4: Attract more users to your Delphi & C++Builder applications by leveraging new Windows 10 APIs

EMBARCADERO TECHNOLOGIES

What’s new in 10 Seattle for Windows 10 Support• New VCL Controls, for

Windows 10 User Experience• Windows 10 Styles• Universal Windows Platform

(UWP)/WinRT Services and Components– Local Notifications– Sharing Contracts

Page 5: Attract more users to your Delphi & C++Builder applications by leveraging new Windows 10 APIs

EMBARCADERO TECHNOLOGIES

Why Use the New Windows 10 Specific Features• Attract new customers for your applications• Excite existing customers who now have Windows 10 PCs• Provide a better UI/UX for new Desktop/Tablet hybrids• Take advantage of Windows 10 specific APIs

Page 6: Attract more users to your Delphi & C++Builder applications by leveraging new Windows 10 APIs

EMBARCADERO TECHNOLOGIES

Strategies for using Windows 10 specific featuresand still have your apps work on earlier versions of Windows• Create a project group with two target apps that share

– Common forms and code– Windows version specific forms and code

• Use conditional defines for platform specific code– Works for code, does not work for form files– Create some of your forms at runtime based on Windows version

• Host visual controls in Frames– One frame for Windows 10– One frame for other versions of Windows

• Host non-visual controls in a DataModule

Page 7: Attract more users to your Delphi & C++Builder applications by leveraging new Windows 10 APIs

EMBARCADERO TECHNOLOGIES

Windows 10 UWP/WinRT Notifications

Page 8: Attract more users to your Delphi & C++Builder applications by leveraging new Windows 10 APIs

EMBARCADERO TECHNOLOGIES

NOTIFICATION DEMONSTRATION

Page 9: Attract more users to your Delphi & C++Builder applications by leveraging new Windows 10 APIs

EMBARCADERO TECHNOLOGIES

Windows 10 UWP/WinRT Sharing Contracts

Page 10: Attract more users to your Delphi & C++Builder applications by leveraging new Windows 10 APIs

EMBARCADERO TECHNOLOGIES

SHARING CONTRACTS DEMONSTRATION

Page 11: Attract more users to your Delphi & C++Builder applications by leveraging new Windows 10 APIs

EMBARCADERO TECHNOLOGIES

New WinRT interface units• Interfaces for Windows 10 WinRT Access• Delphi: included

– C:\Program Files (x86)\Embarcadero\Studio\17.0\source\rtl\win\winrt

• C++: download from Tools | GetIt Package Manager– C:\Users\davidi\Documents\Embarcadero\Studio\17.0\

CatalogRepository\WinRT_CPP-1.0

Page 12: Attract more users to your Delphi & C++Builder applications by leveraging new Windows 10 APIs

EMBARCADERO TECHNOLOGIES

New WinRT interface units - Delphi

Page 13: Attract more users to your Delphi & C++Builder applications by leveraging new Windows 10 APIs

EMBARCADERO TECHNOLOGIES

New WinRT header files – C++

Page 14: Attract more users to your Delphi & C++Builder applications by leveraging new Windows 10 APIs

EMBARCADERO TECHNOLOGIES

WINRT CALENDAR DEMONSTRATION

Page 15: Attract more users to your Delphi & C++Builder applications by leveraging new Windows 10 APIs

EMBARCADERO TECHNOLOGIES

The Marine Adventures Application• Master Detail sample demo included with the product• Data Model: Customers, Orders, Parts and Items• Functionality: add, modify, browse, and report • Uses InterBase Express (IBX) data access components• UI

– Menu item for VCL Styles selection– Large Button Bar for functionality– Popup Modal Forms and edit forms– Not designed for modern look and tablet/touch use

Page 16: Attract more users to your Delphi & C++Builder applications by leveraging new Windows 10 APIs

EMBARCADERO TECHNOLOGIES

Update the Marine Adventures Application• Windows 10 Notifications– Send notification reminder to check inventory levels

• Windows 10 Sharing Contracts– Share Marine Adventure info with other Windows apps

Page 17: Attract more users to your Delphi & C++Builder applications by leveraging new Windows 10 APIs

EMBARCADERO TECHNOLOGIES

MARINE ADVENTURES DEMONSTRATION

Page 18: Attract more users to your Delphi & C++Builder applications by leveraging new Windows 10 APIs

RAD STUDIO 10 SEATTLE: READY FOR YOU

18

Page 19: Attract more users to your Delphi & C++Builder applications by leveraging new Windows 10 APIs

EMBARCADERO TECHNOLOGIES

RAD Studio 10 SeattleEditions:• Professional• Enterprise• Ultimate• Architect• Starter

Includes:• C++Builder• Delphi• HTML5 Builder• InterBase XE7• Third party tools

– TeeChart, FastReport, IntraWeb, IP*Works, Beyond Compare

Page 20: Attract more users to your Delphi & C++Builder applications by leveraging new Windows 10 APIs

EMBARCADERO TECHNOLOGIES

Special Offers on RAD Studio Delphi and C++Builder• Buy One Get Another Tool Free

– With each qualifying Embarcadero RAD Studio, Delphi or C++Builder product you buy, you can choose a second Embarcadero tool of equal or lesser price

– Offer ends February 29, 2016

• Free Bonus Pack– New Object Pascal Handbook by Marco Cantu– VCL and FireMonkey Premium Styles– Mida Converter Basic

http://www.embarcadero.com/radoffer

Page 21: Attract more users to your Delphi & C++Builder applications by leveraging new Windows 10 APIs

EMBARCADERO TECHNOLOGIES

Upcoming Webinars and Skill Sprints• Next Wednesday, March 2: Webinar - Learn How to Use the New

JSON Features in RAD Studio 10 Seattle – Pawel Glowacki– 6am PST - https://attendee.gotowebinar.com/register/7387478262006799618– 11am PST - https://attendee.gotowebinar.com/register/840505543647164930– 5pm PST - https://attendee.gotowebinar.com/register/3459142018777093634

• Skill Sprints through the end of March– Delphi every Tuesday at 6am, 11am and 5pm PST– C++ every Thursday at 6am, 11am and 5pm PST– http://www.embarcadero.com/landing-pages/skill-sprints

Page 22: Attract more users to your Delphi & C++Builder applications by leveraging new Windows 10 APIs

EMBARCADERO TECHNOLOGIES

Questions? [email protected]

Webinar blog post: http://embt.co/vclwin10specific

Page 23: Attract more users to your Delphi & C++Builder applications by leveraging new Windows 10 APIs

EMBARCADERO TECHNOLOGIES

Resources – Windows 10 Specific• Local Notifications

– http://docwiki.embarcadero.com/RADStudio/Seattle/en/Using_Notifications– http://docwiki.embarcadero.com/RADStudio/Seattle/en/Using_Notifications#Windows_Notifications– http://docwiki.embarcadero.com/Libraries/Seattle/en/System.Notification– Samples

• C:\Users\Public\Documents\Embarcadero\Studio\17.0\Samples\Object Pascal\VCL\Windows 10 Notifications• C:\Users\Public\Documents\Embarcadero\Studio\17.0\Samples\CPP\VCL\Windows 10 Notifications

• Sharing Contract– http://docwiki.embarcadero.com/RADStudio/Seattle/en/Sharing_Content_Using_the_Sharing_Contract– http://docwiki.embarcadero.com/Libraries/Seattle/en/Vcl.ShareContract– http://docwiki.embarcadero.com/Libraries/Seattle/en/Vcl.ShareContract.TCustomSharingContract– http://docwiki.embarcadero.com/Libraries/Seattle/en/Vcl.ShareContract.TSharingContract– Samples

• C:\Users\Public\Documents\Embarcadero\Studio\17.0\Samples\Object Pascal\VCL\Windows 10 SharingContract

• Windows 10 Calendar API– Uses: Winapi.winrt, Winapi.Foundation.Collections, Winapi.Globalization– C:\Users\Public\Documents\Embarcadero\Studio\17.0\Samples\Object Pascal\VCL\Windows 10 Calendar

Page 24: Attract more users to your Delphi & C++Builder applications by leveraging new Windows 10 APIs

EMBARCADERO TECHNOLOGIES

Resources – IBMastApp Sample• DocWiki

– http://docwiki.embarcadero.com/CodeExamples/Seattle/en/IBX.IBMastApp_Sample

• Delphi– C:\Users\Public\Documents\Embarcadero\Studio\17.0\Samples\Object Pascal\Database\IBX\IBMastApp– http://sourceforge.net/p/radstudiodemos/code/HEAD/tree/branches/RADStudio_Seattle/Object%20Pascal/Data

base/IBX/IBMastApp/

• C++– http://sourceforge.net/p/radstudiodemos/code/HEAD/tree/branches/RadStudio_XE6/CPP/Database/IBX/IBMast

App/

• Getting Started with InterBase Express– http://docwiki.embarcadero.com/RADStudio/Seattle/en/Getting_Started_with_InterBase_Express

Page 25: Attract more users to your Delphi & C++Builder applications by leveraging new Windows 10 APIs

EMBARCADERO TECHNOLOGIES

Resources for the Webinar• Webinar Blog Post• Slide deck on SlideShare• Sample projects in CodeCentral

Page 26: Attract more users to your Delphi & C++Builder applications by leveraging new Windows 10 APIs

EMBARCADERO TECHNOLOGIES

Thank You

Webinar blog post: http://embt.co/vclwin10specific