Microsoft Store Delphi Component

Microsoft Store Delphi component (Beta) is a non-visual component that utilizes the Windows.Services.Store namespace APIs for UWP app development on Windows 10. The component offers conversion of the Windows.Services.Store namespace interfaces to Delphi with some auxiliary code and allows you to access and manage Microsoft Store-related data for your application.

Features

  • Get license info for an app or an add-on that is associated with the app
  • Purchase an app or in-app products offered by the app
  • Pricing info for a product listing in the Microsoft Store
  • Supports Delphi XE3 and newer Delphi versions

Examples

Getting an interface instance.

IStoreContext:
  var
    StoreContext: IStoreContext;
  ...
  StoreContext := TStoreContextStatics.Statics.GetDefault;

Waiting for the operations to complete (IAsyncOperation_* interface).

uses
    Winapi.Foundation;
  ...
  var
    ASOP: IAsyncOperation_1__IInspectable;
    SPR: IStorePurchaseResult;
  begin
    ASOP := FStoreContext.RequestPurchaseAsync(TWindowsString.Create(StoreId));
    try
     while (ASOP as IAsyncInfo).Status = AsyncStatus.Started do
    Application.ProcessMessages;
     SPR := (ASOP.GetResults as IStorePurchaseResult);
    finally
     (ASOP as IAsyncInfo).Close;
    end;
  end;

Enumeration of IVectorView_*.

uses
    Winapi.Foundation.Collections;
  ...
  var
    SKUs: IVectorView_1__IInspectable;
    I: Integer;
    SKU: IStoreSku;
  begin
    SKUs := StoreProduct.Skus;
    for I := 0 to SKUs.Size - 1 do
     SKU := (SKUs.GetAt(I) as IStoreSku);
  end;

Beta Version Specifics

There's no trial version or the compiled demo example of the component while it's in the beta state. To help you understand whether the Microsoft Store Delphi component is what you need, please see the component's introductory documentation (PDF).

We are committed to supporting our customers, any reported issues will be assigned highest priority and should be resolved in 24 hours.


Buy with Confidence

The introductory price is just $49.95, 50% lower than when the component is out of beta. You are going to get the fully working, complete source code version of the Microsoft Store Delphi component upon purchasing a license. Buy now!

Single developer license

For 1 developer
$49.95 Buy Now!
With source code
Free updates for one year
Priority lifetime support

Site license

For unlimited developers in the company
$199Buy Now!
With source code
Free updates for one year
Priority lifetime support

Documentation

Explains principles of how the component works
Download PDF

Version History

MSDC 1.2Aug. 04, 2020

MSDC 1.1Jan. 21, 2019

MSDC 1.01Nov. 13, 2018

See more version history